/* Alpha HRD Solutions Admin Styles */

/* Settings sections */
.form-table th {
    width: 200px;
    padding: 20px 10px 20px 0;
    line-height: 1.3;
    font-weight: 600;
    color: #23282d;
}

.form-table td {
    padding: 15px 10px;
    line-height: 1.3;
    vertical-align: top;
}

/* Form fields */
.regular-text {
    width: 25em;
    max-width: 100%;
}

select.regular-text {
    width: 25em;
    max-width: 100%;
}

/* Field descriptions */
.description {
    color: #666;
    font-style: italic;
    margin: 5px 0 0 0;
    font-size: 13px;
}

/* Settings sections styling */
.wp-core-ui .button-primary {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    padding: 0 12px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    transition: all .05s ease-in-out;
}

.wp-core-ui .button-primary:hover {
    background: #005a87;
    border-color: #005a87;
}

/* Settings updated message */
.notice {
    background: #fff;
    border-left: 4px solid #46b450;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin: 5px 0 15px;
    padding: 1px 12px;
}

.notice p {
    margin: .5em 0;
    padding: 2px;
}

/* Section headers */
h2 {
    font-size: 1.3em;
    margin: 0 0 .8em;
    padding: 9px 0 4px 0;
    line-height: 1.4;
    color: #23282d;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

/* Payment settings section */
#payment_settings {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Page settings section */
#page_settings {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Responsive design */
@media screen and (max-width: 782px) {
    .form-table th {
        width: auto;
        display: block;
        padding-bottom: 0;
    }
    
    .form-table td {
        display: block;
        padding-left: 0;
        padding-right: 0;
    }
    
    .regular-text {
        width: 100%;
        max-width: none;
    }
    
    select.regular-text {
        width: 100%;
        max-width: none;
    }
}

/* Payment Status Indicators */
.status-completed {
    background-color: #d4edda;
    color: #155724;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    border: 1px solid #c3e6cb;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    border: 1px solid #ffeaa7;
}

.status-failed {
    background-color: #f8d7da;
    color: #721c24;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    border: 1px solid #f5c6cb;
}

.status-cancelled {
    background-color: #e2e3e5;
    color: #383d41;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    border: 1px solid #d6d8db;
}

/* Payment Admin Table */
.wp-list-table .column-payment_id {
    width: 15%;
}

.wp-list-table .column-amount {
    width: 10%;
}

.wp-list-table .column-status {
    width: 10%;
}

.wp-list-table .column-payment_method {
    width: 10%;
}

/* Registration Admin Table */
.wp-list-table .column-registration_id {
    width: 8%;
}

.wp-list-table .column-event {
    width: 20%;
}

.wp-list-table .column-email {
    width: 18%;
}

.wp-list-table .column-phone {
    width: 12%;
}

.wp-list-table .column-payment_status {
    width: 12%;
}

.wp-list-table .column-payment_amount {
    width: 10%;
}

/* Hover effects for status badges */
.status-completed:hover,
.status-pending:hover,
.status-failed:hover,
.status-cancelled:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

/* Admin table improvements */
.wp-list-table .column-payment_status .status-completed,
.wp-list-table .column-payment_status .status-pending,
.wp-list-table .column-payment_status .status-failed,
.wp-list-table .column-payment_status .status-cancelled {
    min-width: 80px;
    text-align: center;
}

/* Admin Filters Styling */
.post-type-registration .tablenav-pages {
    margin-bottom: 10px;
}

.post-type-registration .tablenav-pages select {
    margin-right: 8px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
}

.post-type-registration .tablenav-pages select:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
    outline: none;
}

/* Filter labels */
.post-type-registration .tablenav-pages select[name="payment_status"] {
    min-width: 150px;
}

.post-type-registration .tablenav-pages select[name="event_filter"] {
    min-width: 200px;
}

/* Responsive filters */
@media screen and (max-width: 782px) {
    .post-type-registration .tablenav-pages select {
        display: block;
        width: 100%;
        margin-bottom: 8px;
    }
} 