   body {
            font-family: 'Roboto', sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f8f9fa;
            color: #333;
        }

        .header {
            background-color: #2c3e50;
            color: white;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
            flex-wrap: wrap;
            position: relative;
            overflow: hidden;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo span {
            font-size: 1.5rem;
            margin-left: 0.5rem;
        }
        
        .info {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .info p {
            margin: 0 1rem 0 0;
            font-size: 0.9rem;
        }
        
        .buttons {
            display: flex;
            gap: 1rem;
        }
        
        .buttons button {
            background: none;
            border: 1px solid #fff;
            color: #fff;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .buttons button:hover {
            background: #34495e;
        }
        
        .buttons .btn-login {
            background: #3498db;
            border-color: #3498db;
        }
        
        .buttons .btn-login:hover {
            background: #2980b9;
        }
        
        .buttons .btn-dashboard {
            background: #27ae60;
            border-color: #27ae60;
        }
        
        .buttons .btn-dashboard:hover {
            background: #219653;
        }
        
        .welcome-message {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #fff;
            font-weight: 500;
        }
        
        .welcome-message span {
            color: #3498db;
            font-weight: bold;
        }

        .customer-details {
            margin-bottom: 1.5rem;
            background: #fff;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .customer-details h4 {
            color: #2c3e50;
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
            border-bottom: 2px solid #3498db;
            padding-bottom: 0.5rem;
        }
        
        .customer-form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        
        .customer-details label {
            display: block;
            margin-bottom: 0.4rem;
            font-weight: 500;
            color: #34495e;
            font-size: 0.95rem;
        }
        
        .customer-details input,
        .customer-details textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #bdc3c7;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 1rem;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        
        .customer-details input:focus,
        .customer-details textarea:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
        }
        
        .customer-details textarea {
            height: 100px;
            resize: vertical;
        }
        
        .full-width {
            grid-column: 1 / -1;
        }
        
        .customer-details input:required:invalid:not(:placeholder-shown),
        .customer-details input:required:invalid:focus {
            border-color: #e74c3c;
        }
        
        .customer-details .required::after {
            content: ' *';
            color: #e74c3c;
        }
        
        .customer-details input::placeholder,
        .customer-details textarea::placeholder {
            color: #95a5a6;
            font-style: italic;
        }
        
        .customer-type-toggle {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .toggle-btn {
            background: #3498db;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.3s;
        }
        
        .toggle-btn:hover {
            background: #2980b9;
        }
        
        .form-switch-link {
            text-align: center;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }
        
        .form-switch-link a {
            color: #3498db;
            text-decoration: none;
            font-size: 14px;
        }
        
        .form-switch-link a:hover {
            text-decoration: underline;
        }

        .main {
            display: flex;
            flex-wrap: wrap;
            padding: 1rem;
            gap: 1rem;
        }
        
        .sidebar, .services, .hair-services, .cart {
            background-color: white;
            border-radius: 8px;
            padding: 1rem;
            border: 1px solid #e0e0e0;
        }
        
        .left-sidebar, .right-sidebar, .services, .hair-services {
            flex: 1 1 100%;
        }
        
        .services h2, .hair-services h2, .cart h3 {
            margin-top: 0;
            color: #2c3e50;
            border-bottom: 2px solid #3498db;
            padding-bottom: 0.5rem;
            font-size: clamp(1.2rem, 2.5vw, 1.5rem);
        }
        
        .services ul {
            list-style: none;
            padding: 0;
        }
        
        .services ul li {
            margin: 0.5rem 0;
            padding: 0.5rem;
            border-radius: 4px;
            transition: background-color 0.3s;
            cursor: pointer;
        }
        
        .services ul li:hover, .services ul li.active {
            background-color: #ecf0f1;
        }
        
        .hair-services .service {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 0;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .hair-services .service:last-child {
            border-bottom: none;
        }
        
        .cart .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.75rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .cart .cart-header span {
            font-size: 0.9rem;
            color: #7f8c8d;
        }
        
        .cart .cart-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 0;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .cart .cart-item:last-child {
            border-bottom: none;
        }
        
        .cart .cart-item .item-name {
            font-weight: bold;
        }
        
        .cart .cart-item .item-duration {
            color: #7f8c8d;
            font-size: 0.9rem;
        }
        
        .cart .cart-total {
            margin-top: 1rem;
            text-align: right;
        }
        
        .cart .cart-action button {
            background-color: #16a085;
            border: none;
            color: white;
            padding: 0.75rem;
            cursor: pointer;
            border-radius: 4px;
            width: 100%;
            font-size: 1rem;
            transition: background-color 0.3s, transform 0.3s;
        }
        
        .cart .cart-action button:hover {
            background-color: #1abc9c;
            transform: scale(1.05);
        }

        .booking-form {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 1001;
            justify-content: center;
            align-items: center;
            overflow-y: auto;
        }
        
        .booking-form.active {
            display: flex;
        }
        
        .booking-container {
            background-color: white;
            border-radius: 8px;
            padding: 1rem;
            width: 90%;
            max-width: 800px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .booking-section {
            margin-bottom: 1rem;
        }
        
        .booking-section h4 {
            margin: 0 0 0.5rem 0;
            font-size: 1rem;
            color: #2c3e50;
        }
        
        .staff-selection, .date-selection {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .staff-selection label, .date-selection button {
            padding: 0.5rem 0.75rem;
            border: 1px solid #bdc3c7;
            border-radius: 4px;
            cursor: pointer;
            background-color: white;
            transition: background-color 0.3s;
        }
        
        .staff-selection label:hover, .date-selection button:hover {
            background-color: #ecf0f1;
        }
        
        .staff-selection label.checked, .date-selection button.selected {
            background-color: #3498db;
            color: white;
            border-color: #3498db;
        }
        
        .time-selection {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            gap: 0.5rem;
        }
        
        .time-selection button {
            padding: 0.5rem;
            border: 1px solid #bdc3c7;
            border-radius: 4px;
            cursor: pointer;
            background-color: white;
            transition: background-color 0.3s;
        }
        
        .time-selection button:hover {
            background-color: #ecf0f1;
        }
        
        .time-selection button.selected {
            background-color: #3498db;
            color: white;
            border-color: #3498db;
        }
        
        .book-now button {
            background-color: #16a085;
            border: none;
            color: white;
            padding: 0.75rem;
            cursor: pointer;
            border-radius: 4px;
            width: 100%;
            font-size: 1rem;
            transition: background-color 0.3s, transform 0.3s;
        }
        
        .book-now button:hover {
            background-color: #1abc9c;
            transform: scale(1.05);
        }

        @media (max-width: 480px) {
            .header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .header .info {
                align-items: flex-start;
                width: 100%;
            }
            
            .header .buttons {
                flex-direction: column;
                width: 100%;
            }
            
            .header .buttons button {
                width: 100%;
            }
            
            .main {
                padding: 0.5rem;
            }
            
            .booking-container {
                width: 100%;
                border-radius: 0;
                height: 100%;
                max-height: 100vh;
            }
            
            .staff-selection, .date-selection {
                flex-direction: column;
            }
            
            .time-selection {
                grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
            }
            
            .customer-form-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (min-width: 481px) and (max-width: 768px) {
            .header {
                flex-direction: row;
            }
            
            .header .buttons {
                flex-direction: row;
            }
            
            .main {
                flex-direction: column;
            }
            
            .booking-container {
                width: 95%;
            }
        }

        @media (min-width: 769px) {
            .main {
                flex-wrap: nowrap;
            }
            
            .left-sidebar, .right-sidebar {
                flex: 1 1 20%;
                position: sticky;
                top: 1rem;
                height: calc(100vh - 2rem);
                overflow-y: auto;
            }
            
            .left-sidebar {
                margin-right: 1rem;
            }
            
            .right-sidebar {
                margin-left: 1rem;
                flex: 1 1 30%;
            }
            
            .services, .hair-services {
                flex: 2 1 50%;
                margin: 0;
            }
        }

        @media (min-width: 1024px) {
            .header .logo img {
                width: 50px;
            }
            
            .header .logo h1 {
                font-size: 1.5rem;
            }
            
            .main {
                gap: 1.5rem;
            }
        }

        .close-btn {
            position: absolute;
            top: 10px;
            right: 0px;
            background: #e74c3c;
            color: white;
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }
        
        .close-btn:hover {
            background: #c0392b;
        }
        
        .book-now button {
            background: #3498db;
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .book-now button:hover {
            background: #2980b9;
        }

        .cart-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            padding: 0.5rem;
            border-bottom: 1px solid #ecf0f1;
        }
        
        .item-name, .item-duration {
            color: #34495e;
            margin-right: 1rem;
        }
        
        .item-price {
            color: #2c3e50;
            font-weight: 500;
            margin-right: 1rem;
        }
        
        .remove-btn {
            background: #e74c3c;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 0.25rem 0.5rem;
            cursor: pointer;
            font-size: 0.8rem;
            transition: background 0.3s;
        }
        
        .remove-btn:hover {
            background: #c0392b;
        }
        
        .total {
            font-size: 1.1rem;
            font-weight: 500;
            color: #2c3e50;
            margin-top: 1rem;
        }

        .search-bar {
            margin-bottom: 1rem;
        }
        
        #service-search {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #bdc3c7;
            border-radius: 4px;
            font-size: 1rem;
            box-sizing: border-box;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        
        #service-search:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
        }
        
        #service-search::placeholder {
            color: #95a5a6;
            font-style: italic;
        }
        
        .cart-summary {
            background: #f8f9fa;
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
            border: 1px solid #e0e0e0;
        }
        
        .cart-summary h4 {
            margin-top: 0;
            color: #2c3e50;
            border-bottom: 2px solid #3498db;
            padding-bottom: 0.5rem;
        }
        
        #cart-summary-items {
            margin-bottom: 1rem;
        }
        
        .summary-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid #eee;
        }
        
        .summary-item:last-child {
            border-bottom: none;
        }
        
        #selectedDateTime {
            font-weight: bold;
            color: #2c3e50;
        }
        
        .cart-empty {
            text-align: center;
            padding: 2rem;
            color: #7f8c8d;
        }
        
        .cart-empty .icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: #bdc3c7;
        }
        
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }
        
        .modal.active {
            display: flex;
        }
        
        .modal-content {
            background: white;
            border-radius: 10px;
            padding: 2rem;
            width: 90%;
            max-width: 400px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
            text-align: center;
        }
        
        .modal-icon {
            font-size: 3rem;
            color: #27ae60;
            margin-bottom: 1rem;
        }
        
        .modal-title {
            font-size: 1.5rem;
            color: #2c3e50;
            margin-bottom: 1rem;
        }
        
        .modal-message {
            color: #7f8c8d;
            margin-bottom: 1.5rem;
            line-height: 1.5;
        }
        
        .modal-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }
        
        .modal-btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            min-width: 100px;
        }
        
        .modal-btn-primary {
            background: #3498db;
            color: white;
        }
        
        .modal-btn-primary:hover {
            background: #2980b9;
        }
        
        .modal-btn-secondary {
            background: #f8f9fa;
            color: #34495e;
            border: 1px solid #ddd;
        }
        
        .modal-btn-secondary:hover {
            background: #e9ecef;
        }
        
        .error-icon {
            color: #e74c3c;
        }