/* From booking-view.php */
.postbox {
    margin-bottom: 20px;
}

.postbox .inside {
    padding: 12px;
}

.form-table th {
    width: 200px;
    font-weight: 600;
}

#major-publishing-actions {
    padding: 10px;
    clear: both;
    border-top: 1px solid #dcdcde;
    background: #f6f7f7;
}

#delete-action {
    float: left;
    line-height: 28px;
}

#publishing-action {
    text-align: right;
    float: right;
    line-height: 23px;
}

/* From settings-page.php */
.nav-tab-wrapper {
    margin: 20px 0;
}

.tab-content {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    border-top: none;
    margin-top: -1px;
}

.nuoria-service-booking-appointments-settings-section {
    padding: 20px 0;
    margin-bottom: 30px;
}

.nuoria-service-booking-appointments-settings-section h2 {
    margin-top: 0;
    padding-top: 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.nuoria-service-booking-appointments-business-hours-table {
    width: 100%;
    max-width: 600px;
}

.nuoria-service-booking-appointments-business-hours-table th,
.nuoria-service-booking-appointments-business-hours-table td {
    padding: 8px;
    text-align: left;
}

.nuoria-service-booking-appointments-business-hours-table input[type="time"] {
    width: 130px;
}

.nuoria-service-booking-appointments-business-hours-table input[type="checkbox"] {
    margin: 0;
}

.nuoria-service-booking-appointments-notification-checkboxes label {
    display: block;
    margin-bottom: 10px;
}

.nuoria-service-booking-appointments-reminder-intervals {
    margin-top: 10px;
}

.nuoria-service-booking-appointments-reminder-intervals input {
    width: 80px;
    margin-right: 5px;
}

.description {
    color: #666;
    font-style: italic;
}

.nuoria-service-booking-appointments-no-bookings {
    color: #646970;
    font-style: italic;
    margin-bottom: 20px;
}

/* From bookings-list.php */
.nuoria-service-booking-appointments-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.nuoria-service-booking-appointments-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.nuoria-service-booking-appointments-status-approved {
    background-color: #d1ecf1;
    color: #0c5460;
}

.nuoria-service-booking-appointments-status-completed {
    background-color: #d4edda;
    color: #155724;
}

.nuoria-service-booking-appointments-status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.nuoria-service-booking-appointments-status-no-show {
    background-color: #e2e3e5;
    color: #383d41;
}

/* From services-list.php */
.nuoria-service-booking-appointments-status-active {
    background-color: #d4edda;
    color: #155724;
}

.nuoria-service-booking-appointments-status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

/* From class-dashboard-widget.php */
.nuoria-service-booking-appointments-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.nuoria-service-booking-appointments-stat-box {
    background: #f0f0f1;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
}

.nuoria-service-booking-appointments-stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 5px;
}

.nuoria-service-booking-appointments-stat-label {
    font-size: 12px;
    color: #646970;
    text-transform: uppercase;
}

.nuoria-service-booking-appointments-stat-box.pending .nuoria-service-booking-appointments-stat-number {
    color: #d63638;
}

.nuoria-service-booking-appointments-stat-box.approved .nuoria-service-booking-appointments-stat-number {
    color: #2271b1;
}

.nuoria-service-booking-appointments-stat-box.today .nuoria-service-booking-appointments-stat-number {
    color: #00a32a;
}

.nuoria-service-booking-appointments-booking-list {
    margin: 0 0 20px 0;
}

.nuoria-service-booking-appointments-booking-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nuoria-service-booking-appointments-booking-list li:last-child {
    border-bottom: none;
}

.booking-time,
.booking-date {
    font-weight: bold;
    min-width: 80px;
    color: #50575e;
}

.booking-info {
    flex-grow: 1;
}

.booking-status {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    text-transform: uppercase;
}

.status-pending {
    background: #fcf0f1;
    color: #d63638;
}

.status-approved {
    background: #f0f6fc;
    color: #2271b1;
}

.nuoria-service-booking-appointments-footer-links {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f1;
    display: flex;
    gap: 10px;
}