* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, hsl(133, 49%, 48%) 0%, hsl(135, 38%, 57%) 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Page blur effect */
        .page-blur {
            filter: blur(0.2px);
            pointer-events: none;
            transition: filter 0.3s ease;
        }
        
        /* Login Modal Styles */
        .login-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        .login-modal-overlay.hidden {
            display: none;
            opacity: 0;
        }

        .login-modal {
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            border-radius: 20px;
            padding: 40px;
            width: 90%;
            max-width: 450px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            transform: translateY(0);
            transition: transform 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
            position: relative;
        }

        .login-modal-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .login-modal-title {
            font-size: 28px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .login-modal-subtitle {
            color: #6c757d;
            font-size: 16px;
            margin: 0;
        }

        .login-buttons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }

        .login-btn {
            flex: 1;
            padding: 15px 25px;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            text-align: center;
            display: inline-block;
        }

        .login-btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .login-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        }

        .login-btn-secondary {
            background: #f8f9fa;
            color: #6c757d;
            border: 2px solid #e9ecef;
        }

        .login-btn-secondary:hover {
            background: #e9ecef;
            transform: translateY(-2px);
        }

        .login-close-btn {
            position: absolute;
            top: 20px;
            right: 25px;
            background: none;
            border: none;
            font-size: 28px;
            color: #6c757d;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .login-close-btn:hover {
            color: #495057;
        }


 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }


.header {
    background: #194f0d;
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.services-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.services-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 3px solid #194f0d;
    padding-bottom: 10px;
}

.service-category {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid #194f0d;
    transition: all 0.3s ease;
}

.service-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.service-category h3 {
    color: #34495e;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-list {
    list-style: none;
    margin-bottom: 15px;
}

.service-list li {
    padding: 8px 0;
    color: #000000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-list li:last-child {
    border-bottom: none;
}

/* Test name styling - left side, black */
.service-list li .test-name {
    color: #000000;
    font-weight: 500;
    text-align: left;
    flex-grow: 1;
}

/* Price styling - right side, green, bold */
.service-list li .test-price {
    color: #27ae60;
    font-weight: bold;
    text-align: right;
    margin-left: 10px;
}

.price {
    font-weight: bold;
    color: #27ae60;
    font-size: 1.2rem;
    background: rgba(39, 174, 96, 0.1);
    padding: 8px 15px;
    border-radius: 25px;
    display: inline-block;
    text-align: right;
}

.booking-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.booking-form h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 3px solid #194f0d;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000000;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #194f0d;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Specific styling for form elements by ID */
#patientName {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

#age {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

#gender {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

#address {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    resize: vertical;
}

#pincode {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

#mobile {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

#email {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

#preferredDate {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

#preferredTime {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

#notes {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    resize: vertical;
}

/* Focus states for all form inputs */
#patientName:focus,
#age:focus,
#gender:focus,
#address:focus,
#pincode:focus,
#mobile:focus,
#email:focus,
#preferredDate:focus,
#preferredTime:focus,
#notes:focus {
    outline: none;
    border-color: #194f0d;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.radio-item:hover {
    background: #e9ecef;
    border-color: #194f0d;
}

.radio-item input[type="radio"] {
    width: auto;
    margin-right: 12px;
    transform: scale(1.2);
}

.radio-item input[type="radio"]:checked + .radio-label {
    color: #194f0d;
    font-weight: 600;
}

.radio-label {
    color: #2c3e50;
    font-weight: 500;
}

.file-input {
    display: none;
}

.file-upload-area {
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: #0f3209;
    background: rgba(102, 126, 234, 0.05);
}

.file-upload-area.dragover {
    border-color: #0f3209;
    background: rgba(102, 126, 234, 0.1);
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.file-upload-area p {
    margin: 5px 0;
    color: #555;
}

.file-types {
    font-size: 0.9rem;
    color: #888;
}

#fileName {
    margin-top: 10px;
    font-weight: 500;
    color: #27ae60;
}

.uploaded-file {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 8px;
    margin-top: 10px;
}

.uploaded-file .file-name {
    color: #27ae60;
    font-weight: 600;
}

.remove-file {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
}

.btn-primary {
    background: linear-gradient(135deg, #66ea71 0%, #0f6016 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

#totalCost {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.option-section {
    background: linear-gradient(135deg, #5fba65 0%, #07361a 100%);
    border: 2px solid #000000;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.option-section h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: center;
}

.option-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.option-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: #000000;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.option-card.selected {
    border-color: #000000;
    background: rgba(102, 126, 234, 0.05);
}

.option-card input[type="radio"] {
    margin-bottom: 10px;
    transform: scale(1.3);
}

.option-card h4 {
    color: #2c3e50;
    margin-bottom: 8px;
}

.option-card p {
    color: #000000;
    font-size: 0.9rem;
}

.conditional-field {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    border-left: 4px solid #000000;
}

.conditional-field.show {
    display: block;
}

/* Specific styling for conditional fields */
#departmentField {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    border-left: 4px solid #000000;
}

#departmentField.show {
    display: block;
}

#prescriptionField {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    border-left: 4px solid #000000;
}

#prescriptionField.show {
    display: block;
}

/* Specific styling for the department select */
/* Enhanced styling for the department select */
#department {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 5px;
    transition: all 0.3s ease;
    background: white;
    min-height: 250px;
    height: auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#department:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Styling for select options */
#department option {
    padding: 8px 12px;
    color: #000000;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    min-height: 35px;
    line-height: 1.4;
}

#department option:hover {
    background: #f8f9fa;
}

#department option:checked {
    background: #667eea;
    color: white;
}

#department option:checked::after {
    color: #ffffff;
}

/* Price styling within options */
#department option::after {
    content: attr(data-price);
    color: #27ae60;
    font-weight: bold;
    margin-left: auto;
    padding-left: 10px;
    text-align: right;
}

/* Alternative approach using CSS custom properties */
#department option[data-price]::after {
    content: "₹" attr(data-price);
    color: #27ae60;
    font-weight: bold;
    float: right;
    margin-left: 10px;
}

/* Enhanced styling for optgroup if you have them */
#department optgroup {
    font-weight: bold;
    color: #27ae60;
    background-color: #f8f9fa;
    padding: 5px 0;
    border-bottom: 2px solid #e9ecef;
}

#department optgroup option {
    padding-left: 20px;
    color: #000000;
    font-size: 5px;
    font-weight: normal;
}

/* Modern select styling */
#department {
    appearance: none;
   background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 50px;
    padding-right: 40px;
}

/* For WebKit browsers (Chrome, Safari) */
#department::-webkit-scrollbar {
    width: 8px;
}

#department::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#department::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

#department::-webkit-scrollbar-thumb:hover {
    background: #5a67d8;
}

/* Additional styling for better visual hierarchy */
#department option[data-price] {
    position: relative;
    padding-right: 80px; /* Make space for the price */
    color: #27ae60;
}

/* Custom styling for the test name part */
#department option[data-price]::before {
    content: attr(value);
    text-transform: capitalize;
    color: #27ae60;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #department {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    #department option {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    #department option[data-price] {
        padding-right: 70px;
    }
}
/* Styling for selectedServices */
#selectedServices {
    margin-top: 15px;
    display: none;
}

#selectedServices h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

#servicesList {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

/* Prescription input styling */
#prescription {
    display: none;
}

/* Booking form styling */
#bookingForm {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

/* Option radio buttons styling */
#optionDepartment,
#optionPrescription {
    margin-bottom: 10px;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
    }

    .option-group {
        grid-template-columns: 1fr;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }
}

.feature-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.feature-icon {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.feature-icon div {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 20px;
}