.fw-form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}
.fw-form .form-group { margin-bottom: 15px; }
.fw-form label { display: block; font-weight: bold; margin-bottom: 5px; }
.fw-form input, .fw-form select, .fw-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.fw-form button {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.foxwell-portal-wrapper { max-width: 900px; margin: 0 auto; padding: 20px; font-family: sans-serif; }
.status-banner { padding: 15px; border-radius: 5px; margin-bottom: 20px; text-align: center; font-weight: bold; }
.status-banner.locked { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.status-banner.unlocked { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

.portal-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.portal-card { background: #fff; border: 1px solid #eee; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.report-section { text-align: center; border: 2px solid #0073aa; }
.lock-icon { font-size: 40px; margin-bottom: 10px; opacity: 0.3; }

/* Styling for the new Download PDF button in the Drill-down */
.button.button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f6f7f7;
    border-color: #dcdcde;
    color: #2271b1;
    transition: all 0.2s ease-in-out;
}

.button.button-secondary:hover {
    background: #f0f6fb;
    border-color: #2271b1;
    color: #135e96;
}

.button.button-secondary .dashicons {
    font-size: 17px;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d32f2f; /* Red icon for PDF visibility */
}

/* Ensure the management actions column doesn't wrap awkwardly */
.wp-list-table .column-management-actions {
    min-width: 280px;
}

/* Flex wrapper for the action buttons */
.fw-action-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}