/**
 * Admin Trial Bookings Styles
 *
 * @package Karate_Club_Manager
 * @since 1.0.61
 */

.kcm-pending-badge {
    display: inline-block;
    background-color: #d63638;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.kcm-bookings-list {
    margin-top: 20px;
}

.kcm-no-bookings {
    padding: 40px 20px;
    text-align: center;
    background: #F4F4F2;
    border-radius: 4px;
    margin-top: 20px;
}

.kcm-no-bookings p {
    font-size: 16px;
    color: #6B7280;
    margin: 0;
}

.kcm-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.kcm-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.kcm-status-completed {
    background-color: #d4edda;
    color: #155724;
}

/* WordPress-style action links */
.kcm-mark-complete-btn,
.kcm-mark-pending-btn,
.kcm-send-email-btn,
.kcm-view-details-btn {
    color: #B11226;
    text-decoration: none;
}

.kcm-mark-complete-btn:hover,
.kcm-mark-pending-btn:hover,
.kcm-send-email-btn:hover,
.kcm-view-details-btn:hover {
    color: #8F0E1E;
}

.kcm-action-separator {
    color: #D1D5DB;
    padding: 0 6px;
}

/* Modal Styles */
.kcm-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.kcm-modal-content {
    background-color: #fefefe;
    margin: 50px auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.kcm-modal-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
    z-index: 1;
}

.kcm-modal-close:hover,
.kcm-modal-close:focus {
    color: #000;
}

.kcm-modal h2 {
    margin: 0;
    padding: 20px 30px;
    border-bottom: 1px solid #D1D5DB;
    background-color: #F4F4F2;
    border-radius: 8px 8px 0 0;
    font-size: 18px;
}

.kcm-modal form {
    padding: 30px;
}

.kcm-form-group {
    margin-bottom: 20px;
}

.kcm-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.kcm-form-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #D1D5DB;
}

.kcm-form-actions .button {
    margin-right: 10px;
}

/* Booking Details Styles */
#kcm-booking-details-content {
    padding: 30px;
}

.kcm-booking-details h3 {
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #B11226;
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.kcm-booking-details table {
    margin-bottom: 25px;
    border: 1px solid #D1D5DB;
}

.kcm-booking-details table th {
    width: 180px;
    text-align: left;
    padding: 12px 15px;
    background: #F4F4F2;
    font-weight: 600;
    border-bottom: 1px solid #D1D5DB;
}

.kcm-booking-details table td {
    padding: 12px 15px;
    border-bottom: 1px solid #D1D5DB;
}

.kcm-booking-details table tr:last-child th,
.kcm-booking-details table tr:last-child td {
    border-bottom: none;
}

.kcm-booking-details a {
    color: #B11226;
    text-decoration: none;
}

.kcm-booking-details a:hover {
    color: #8F0E1E;
    text-decoration: underline;
}

/* Admin Notes Section */
.kcm-admin-note-section {
    background: #F4F4F2;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #D1D5DB;
}

.kcm-admin-note-section textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    min-height: 100px;
}

.kcm-admin-note-section .button-primary {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .wp-list-table th,
    .wp-list-table td {
        font-size: 12px;
        padding: 8px 4px;
    }

    .button {
        font-size: 11px;
        padding: 3px 8px;
    }

    .kcm-modal-content {
        margin: 20px auto;
        padding: 20px;
        width: 95%;
    }
}
