/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    min-height: 100vh;
    color: #2c2c2c;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 0.2rem;
    padding: 0.2rem 0;
}

.company-logo {
    max-width: 200px;
    height: auto;
    animation: fadeInUp 0.8s ease-out;
}

.company-logo:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Cancel Appointment Link - In Hairdresser Selection */
.cancel-appointment-link {
    text-align: center;
    margin: 2rem 0 1rem 0;
    z-index: 100;
}

.cancel-appointment-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e74c3c;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border: 2px solid #e74c3c;
    border-radius: 25px;
    background: rgba(231, 76, 60, 0.05);
}

.cancel-appointment-link a:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.cancel-appointment-link a i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.cancel-appointment-link a:hover i {
    transform: rotate(90deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cancel-appointment-link {
        margin: 1.5rem 0 1rem 0;
    }
    
    .cancel-appointment-link a {
        font-size: 0.85rem;
    }
}

/* Cancel Modal Styles */
.cancel-step {
    animation: fadeIn 0.3s ease;
}

.cancel-otp-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s;
}

.cancel-otp-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.appointment-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.appointment-card:hover {
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.appointment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.appointment-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.appointment-card-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.appointment-card-status.confirmed {
    background: #d4edda;
    color: #155724;
}

.appointment-card-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.appointment-card-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.appointment-card-info-item i {
    color: #3498db;
}

.appointment-card-actions {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.btn-cancel-appt {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel-appt:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #95a5a6;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content */
.main-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.step-section {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-section h2 {
    color: #000000;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

/* Hairdresser Selection */
.hairdresser-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hairdresser-card {
    background: white;
    border: 3px solid transparent;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    animation: slideInUp 0.6s ease-out;
}

.hairdresser-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: left 0.5s;
}

.hairdresser-card:hover::before {
    left: 100%;
}

.hairdresser-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.hairdresser-card.selected {
    border-color: #000000;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #212529;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hairdresser-image {
    width: 120px;
    height: 120px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    overflow: hidden;
    border: 3px solid #e0e0e0;
}

.hairdresser-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #f8f9fa;
}

.hairdresser-image img:not([src]),
.hairdresser-image img[src=""] {
    display: none;
}

/* Inactive hairdresser styles */
.hairdresser-card.inactive {
    opacity: 0.8;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-color: #ccc;
    cursor: not-allowed;
}

.hairdresser-card.inactive:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.hairdresser-card.inactive h3 {
    color: #666;
}

.hairdresser-card.inactive .hairdresser-image {
    border-color: #ccc;
}

.hairdresser-card.inactive .hairdresser-image img {
    filter: grayscale(100%);
}

/* Status badge for inactive hairdressers */
.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hairdresser-image:not(:has(img))::before {
    content: "\f007";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2rem;
    color: #666;
}

.hairdresser-card.selected .hairdresser-image {
    background: rgba(255, 255, 255, 0.2);
}

.hairdresser-card h3 {
    font-size: 1.3rem;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}



/* Selected Hairdresser */
.selected-hairdresser {
    background: #f8f9fa;
    border: 2px solid #000000;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}


/* Tab Navigation */
.tab-navigation {
    display: flex;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    white-space: nowrap;
}

.tab-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
    background: #000000;
    color: white;
}

.tab-btn i {
    font-size: 1.1rem;
}

/* Tab Content */
.tab-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Modern Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.service-card {
    position: relative;
}

.service-card input[type="checkbox"] {
    display: none;
}

.service-card label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 70px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-card label:hover {
    border-color: #3498db;
    background: #f8f9ff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.15);
}

.service-card input[type="checkbox"]:checked + label {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #3498db;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.service-card label i {
    font-size: 1.1rem;
    color: #3498db;
    margin-bottom: 0.4rem;
    align-self: flex-start;
}

.service-card input[type="checkbox"]:checked + label i {
    color: white;
}

.service-card label span:first-of-type {
    font-weight: 600;
    font-size: 0.8rem;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    flex: 1;
    text-align: left;
}

.service-card input[type="checkbox"]:checked + label span:first-of-type {
    color: white;
}

.service-card label small {
    color: #7f8c8d;
    font-size: 0.7rem;
    font-weight: 500;   
    align-self: flex-end;
    margin-top: auto;
    white-space: nowrap;
    background: rgba(52, 152, 219, 0.1);
    padding: 0.15rem 0.3rem;
    border-radius: 4px;
}

.service-card input[type="checkbox"]:checked + label small {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.2);
}

.price {
    font-weight: bold;
    color: #28a745;
}

.service-card input[type="checkbox"]:checked + label .price {
    color: white;
}

.total-price {
    text-align: right;
    font-size: 1.2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

/* Date & Time */
.datetime-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* Modern Date & Time Section for Step 2 */
.form-section[data-step="2"] {
    position: relative;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.form-section[data-step="2"]::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 22px;
    z-index: -1;
}

.form-section[data-step="2"] .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.form-section[data-step="2"] .form-group {
    position: relative;
}

.form-section[data-step="2"] .form-group label {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.form-section[data-step="2"] .form-group label i {
    display: none;
}

/* Enhanced Date Input for Step 2 */
.form-section[data-step="2"] .form-group:first-child input[type="date"] {
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    text-align: center;
}

.form-section[data-step="2"] .form-group:first-child input[type="date"]:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    border-color: #ff9800;
}

.form-section[data-step="2"] .form-group:first-child input[type="date"]:focus {
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    border-color: #ff9800;
}

/* Enhanced Time Select for Step 2 */
.form-section[data-step="2"] .form-group:last-child select {
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.6rem 0.8rem;
    padding-right: 2.2rem;
    border-radius: 8px;
    text-align: center;
}

.form-section[data-step="2"] .form-group:last-child select:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    border-color: #ff9800;
}

.form-section[data-step="2"] .form-group:last-child select:focus {
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    border-color: #ff9800;
}

/* Enhanced Time Status for Step 2 */
.form-section[data-step="2"] .time-status {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.form-section[data-step="2"] .status-available {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #c3e6cb;
    box-shadow: 0 4px 15px rgba(21, 87, 36, 0.2);
}

.form-section[data-step="2"] .status-unavailable {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #f5c6cb;
    box-shadow: 0 4px 15px rgba(114, 28, 36, 0.2);
}

.form-section[data-step="2"] .status-loading {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border: 2px solid #bee5eb;
    box-shadow: 0 4px 15px rgba(12, 84, 96, 0.2);
}

.datetime-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.05) 0%, transparent 50%, rgba(255, 193, 7, 0.05) 100%);
    z-index: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
    font-size: 0.9rem;
    display: block;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.6rem 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #212529;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #ff9800;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Placeholder Styles */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
    font-weight: 400;
    opacity: 0.8;
}

/* Disabled time slots - Dolu saatler */
.form-group select option:disabled {
    background-color: #f5f5f5 !important;
    color: #999 !important;
    font-style: italic !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

.form-group select option:disabled:hover {
    background-color: #e9ecef !important;
    cursor: not-allowed !important;
}

/* Dolu yazısı zaten JavaScript'te ekleniyor, CSS'te ekstra eklemeye gerek yok */

/* Unavailable time slots */
.form-group select option[data-unavailable="true"] {
    background-color: #f8f9fa;
    color: #dc3545;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Available time slots */
.form-group select option:not(:disabled) {
    background-color: white;
    color: #212529;
    font-weight: 500;
}

/* Status messages */
.status-unavailable {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
    border: 1px solid #f5c6cb;
}

/* Time slot status indicator */
.time-status {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.time-status.available {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #c3e6cb;
}

.time-status.unavailable {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.time-status.loading {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border: 2px solid #ffeaa7;
}

/* Modern Person Management */
.person-management {
    margin-bottom: 1rem;
}

.person-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.person-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.person-card:hover {
    border-color: #3498db;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.15);
}

.person-info {
    flex: 1;
}

.person-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #212529;
    margin-bottom: 0.25rem;
}

.person-details {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.person-relation {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: #212529;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.person-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-remove {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-remove:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.add-person-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 15px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: #212529;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.add-person-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid #e9ecef;
}

.contact-section h4 {
    color: #212529;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Inline Add Person Form */
.add-person-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    animation: slideInDown 0.3s ease;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.form-header h4 {
    color: #212529;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.close-form-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-form-btn:hover {
    background: #f8f9fa;
    color: #dc3545;
    transform: scale(1.1);
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
}

/* Customer Info */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Appointment Summary */
.appointment-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000000;
    border-top: 2px solid #000000;
    margin-top: 1rem;
    padding-top: 1rem;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideInUp 0.3s ease;
    scroll-behavior: smooth;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #e74c3c;
    transform: scale(1.1);
}

.modal-content {
    padding: 2rem;
}

/* Modern Compact Form Layout */
.booking-form {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.booking-form .form-section {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.booking-form .form-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.booking-form .form-section h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.booking-form .form-section h3 i {
    color: #3498db;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
}

/* Hairdresser Selection Page */
.hairdresser-selection {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    animation: fadeInUp 0.8s ease;
    position: relative;
    z-index: 10;
}

.hairdresser-selection h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.selection-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}



/* Booking Form */
.booking-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.booking-form form {
    display: block;
}

.booking-form form > div {
    display: block;
}

.booking-form h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.form-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-transform: capitalize;
    letter-spacing: 0.2px;
}


.form-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #212529;
    display: block;
    animation: fadeInUp 0.5s ease;
}

.form-section h3 {
    color: #212529;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Mobile responsive for form-row - Force override */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        display: grid !important;
    }
    
    .form-row .form-group {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.85rem;
    text-transform: capitalize;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

/* Modern Date Input Styling */
.form-group input[type="date"] {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #212529;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Custom placeholder for date input */
.form-group input[type="date"]:invalid {
    color: #6c757d;
}

.form-group input[type="date"]:invalid::-webkit-datetime-edit-text {
    color: #6c757d;
}

.form-group input[type="date"]:invalid::-webkit-datetime-edit-month-field,
.form-group input[type="date"]:invalid::-webkit-datetime-edit-day-field,
.form-group input[type="date"]:invalid::-webkit-datetime-edit-year-field {
    color: #6c757d;
}

/* Custom placeholder using data attribute */
.form-group input[type="date"][data-placeholder] {
    position: relative;
    color: transparent !important;
}

.form-group input[type="date"][data-placeholder]::before {
    content: attr(data-placeholder);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    background: white;
    padding: 0 0.2rem;
}

.form-group input[type="date"][data-placeholder]::-webkit-datetime-edit-text,
.form-group input[type="date"][data-placeholder]::-webkit-datetime-edit-month-field,
.form-group input[type="date"][data-placeholder]::-webkit-datetime-edit-day-field,
.form-group input[type="date"][data-placeholder]::-webkit-datetime-edit-year-field {
    color: transparent !important;
}

/* Date Input Container */
.date-input-container {
    position: relative;
}

.date-quick-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.date-quick-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
}

.date-quick-btn:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #adb5bd;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.date-quick-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.date-quick-btn.selected {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-color: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* Time Status Messages */
.status-loading {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    margin-top: 0.5rem;
    border: 1px solid #90caf9;
}

.status-unavailable {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #d32f2f;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    margin-top: 0.5rem;
    border: 1px solid #ef9a9a;
}

/* Emergency Appointment Card */
.emergency-appointment-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #000000;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideInDown 0.3s ease;
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emergency-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.emergency-info {
    flex: 1;
}

.emergency-info h4 {
    margin: 0 0 0.25rem 0;
    color: #e74c3c;
    font-size: 1rem;
    font-weight: 700;
}

.emergency-info p {
    margin: 0 0 0.5rem 0;
    color: #333333;
    font-size: 0.85rem;
    line-height: 1.3;
}

.emergency-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-label {
    color: #d84315;
    font-weight: 600;
    font-size: 0.8rem;
}

.price-multiplier {
    background: #ff5722;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
}

.emergency-toggle {
    flex-shrink: 0;
}

.emergency-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.emergency-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.emergency-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.emergency-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .emergency-slider {
    background-color: #ff5722;
}

input:checked + .emergency-slider:before {
    transform: translateX(26px);
}

/* Status Emergency */
.status-emergency {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0.5rem;
    border: 1px solid #ff9800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.status-emergency i {
    color: #ff5722;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.form-group input[type="date"]:hover {
    border-color: #6c757d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-group input[type="date"]:focus {
    outline: none;
    border-color: #495057;
    box-shadow: 0 0 0 4px rgba(73, 80, 87, 0.2), 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3e%3c/rect%3e%3cline x1='16' y1='2' x2='16' y2='6'%3e%3c/line%3e%3cline x1='8' y1='2' x2='8' y2='6'%3e%3c/line%3e%3cline x1='3' y1='10' x2='21' y2='10'%3e%3c/line%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px 20px;
}

.form-group input[type="date"]::-webkit-datetime-edit {
    padding: 0;
    margin: 0;
    font-weight: 600;
    color: #212529;
}

.form-group input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
    margin: 0;
}

.form-group input[type="date"]::-webkit-datetime-edit-text {
    color: #6c757d;
    padding: 0 0.3rem;
    font-weight: 500;
}

.form-group input[type="date"]::-webkit-datetime-edit-month-field,
.form-group input[type="date"]::-webkit-datetime-edit-day-field,
.form-group input[type="date"]::-webkit-datetime-edit-year-field {
    color: #212529;
    font-weight: 600;
    padding: 0 0.2rem;
}

/* Time Slots Grid */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.time-slot-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.time-slot-btn:hover:not(:disabled) {
    border-color: #3498db;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.time-slot-btn.available {
    background: white;
    color: #212529;
}

.time-slot-btn.selected {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
}

.time-slot-btn.selected::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.8rem;
    color: white;
    font-weight: bold;
}

.time-slot-btn.booked {
    background: #e9ecef;
    color: #999;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.7;
    position: relative;
}

.time-slot-btn.booked .booked-label {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #dc3545;
    font-weight: 600;
}
.time-slot-btn.past-time {
    background: #f8f9fa;
    color: #adb5bd;
    border-color: #ced4da;
    opacity: 0.5;
}
.time-slot-btn.past-time .booked-label {
    color: #6c757d;
}

.time-slot-btn.emergency {
    border-color: #ff9800;
}

.time-slot-btn.emergency:not(.booked):not(.selected) {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
}

.time-slot-btn.emergency.selected {
    background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
    color: white;
    border-color: #ff5722;
}

.time-slot-btn:disabled {
    cursor: not-allowed;
}

.no-slots-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-size: 0.9rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px dashed #dee2e6;
}

/* Modern Time Select Styling (for other selects) */
.form-group select {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #212529;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='12' r='10'%3e%3c/circle%3e%3cpolyline points='12,6 12,12 16,14'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 16px 16px;
    padding-right: 2.5rem;
}

/* Emergency Time Options Styling */
.form-group select option[data-emergency="true"] {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #d63031;
    font-weight: 700;
    border-bottom: 1px solid #e17055;
}

.form-group select option[data-emergency="true"]:hover {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
    color: white;
}

.form-group select:hover {
    border-color: #6c757d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-group select:focus {
    outline: none;
    border-color: #495057;
    box-shadow: 0 0 0 4px rgba(73, 80, 87, 0.2), 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #212529;
    box-shadow: 0 0 0 3px rgba(33, 37, 41, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.6rem;
    margin-top: 1rem;
}

.service-card {
    position: relative;
}

.service-card input[type="checkbox"] {
    display: none;
}

.service-card label {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.service-card input[type="checkbox"]:checked + label {
    background: #212529;
    color: white;
    border-color: #212529;
}

.service-card label i {
    margin-right: 0.6rem;
    font-size: 1rem;
}

.service-name {
    flex: 1;
    font-size: 0.9rem;
}

.service-duration {
    background: rgba(33, 37, 41, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-card input[type="checkbox"]:checked + label .service-duration {
    background: rgba(255, 255, 255, 0.2);
}

.people-management {
    margin-top: 1rem;
}

.people-list {
    margin-bottom: 1rem;
}

/* Add Person Form */
.add-person-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideInUp 0.3s ease;
}

.add-person-form h4 {
    color: #212529;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.add-person-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.add-person-form .form-group {
    margin-bottom: 1rem;
}

.add-person-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #212529;
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.add-person-form .form-group input,
.add-person-form .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
}

.add-person-form .form-group input:focus,
.add-person-form .form-group select:focus {
    outline: none;
    border-color: #495057;
    box-shadow: 0 0 0 3px rgba(73, 80, 87, 0.1);
}

.add-person-form .form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.add-person-form .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

/* Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Emergency Appointment Styles */
.emergency-appointment-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #000000;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.5s ease;
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emergency-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.emergency-info {
    flex: 1;
}

.emergency-info h4 {
    color: #e74c3c;
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: capitalize;
}

.emergency-info p {
    color: #333333;
    margin: 0 0 0.75rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.emergency-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-label {
    color: #8b4513;
    font-weight: 600;
    font-size: 0.9rem;
}

.price-multiplier {
    background: #e74c3c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    animation: pulse 1.5s infinite;
}

.emergency-toggle {
    display: flex;
    align-items: center;
}

.emergency-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.emergency-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.emergency-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.emergency-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.emergency-switch input:checked + .emergency-slider {
    background-color: #e74c3c;
}

.emergency-switch input:checked + .emergency-slider:before {
    transform: translateX(26px);
}

.status-emergency {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
}

.status-emergency i {
    font-size: 1.1rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.person-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.person-info {
    flex: 1;
}

.phone {
    color: #6c757d;
    font-size: 0.9rem;
}

.phone:contains("Telefon yok") {
    color: #999;
    font-style: italic;
}

.btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-remove:hover {
    background: #c82333;
}

.time-status {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.status-available {
    color: #28a745;
    font-weight: 600;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.form-actions .btn {
    flex: 1;
    max-width: 150px;
}

/* Responsive Design for Form Sections */
@media (max-width: 768px) {
    .form-section {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        display: grid !important;
    }
    
    .form-row .form-group {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        max-width: none;
    }
}


.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    font-weight: 600;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    font-weight: 600;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem;
}

.success-message i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-message h2 {
    color: #28a745;
    margin-bottom: 1rem;
}

.success-message p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-container {
        margin: 1rem;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        display: grid !important;
    }
    
    .form-row .form-group {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-actions .btn {
        max-width: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .company-logo {
        max-width: 300px;
    }

    .hairdresser-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .time-slot-btn {
        padding: 0.6rem 0.4rem;
        font-size: 0.85rem;
        min-height: 55px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hairdresser-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tab-navigation {
        flex-direction: column;
    }

    .tab-btn {
        margin-bottom: 0.5rem;
    }

    .datetime-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        justify-content: center;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error Messages */
.error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Success Messages */
.success {
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* FORCE MOBILE RESPONSIVE - Override all form-row issues */
@media (max-width: 768px) {
    .form-row,
    .booking-form .form-row,
    .modal .form-row,
    .form-section .form-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
    
    .form-row .form-group,
    .booking-form .form-row .form-group,
    .modal .form-row .form-group,
    .form-section .form-row .form-group {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        display: block !important;
        margin-bottom: 0.75rem !important;
    }
    
    .form-row .form-group input,
    .form-row .form-group select,
    .form-row .form-group textarea {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* OTP Verification Modal Styles */
.otp-input {
    transition: all 0.3s ease !important;
}

.otp-input:focus {
    border-color: #3498db !important;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1) !important;
    transform: scale(1.05);
}

.otp-input:hover {
    border-color: #3498db !important;
}

#otpError {
    transition: all 0.3s ease;
}

#resendOtpBtn {
    transition: all 0.2s ease;
}

#resendOtpBtn:hover {
    color: #2980b9 !important;
    text-decoration: none !important;
}

#resendOtpBtn:active {
    transform: scale(0.95);
}

/* OTP Modal Animation */
#otpModal {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#otpModal .modal-container {
    animation: slideInUp 0.3s ease-out;
}
