/* Air Conditioning Service Booking Form Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

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

.header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    background: linear-gradient(135deg, #52A9CE 0%, #3DD9FF 100%);
    padding: 40px 30px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    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: float 30s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    33% { transform: translate3d(-100px, -100px, 0) rotate(120deg); }
    66% { transform: translate3d(100px, -50px, 0) rotate(240deg); }
}

.header-content {
    position: relative;
    z-index: 1;
}

.header h1, .main-title {
    font-size: 4em;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -2px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.header h1 i, .main-title i {
    margin-right: 15px;
    font-size: 0.9em;
}

.tagline {
    color: rgba(255,255,255,0.95);
    font-size: 1.3em;
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px -10px 20px;
    padding: 0 10px;
}

.benefit-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    will-change: transform;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.benefit-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    transition: height 0.4s ease;
}

.benefit-card:hover .benefit-gradient {
    height: 100%;
    opacity: 0.1;
}

.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.benefit-content {
    position: relative;
    z-index: 1;
}

.benefit-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-wrapper i {
    font-size: 2.5em;
    background: linear-gradient(135deg, #52A9CE 0%, #3DD9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 2;
    position: relative;
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(82,169,206,0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
}

.benefit-card h4 {
    color: #2c3e50;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.benefit-card p {
    color: #5a6c7d;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

/* Admin navigation */
.admin-nav {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.admin-link {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 25px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.admin-link:hover {
    background: white;
    color: #52A9CE;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.admin-link i {
    margin-right: 5px;
}

/* Requirements Section Styles */
.requirements-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #e1e8ed;
    margin-bottom: 30px;
}

.requirements-container h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.8em;
    text-align: center;
}

.requirements-container > p {
    color: #555;
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 25px;
}

.requirement-item {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #52A9CE;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.requirement-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.requirement-icon {
    font-size: 2em;
    color: #52A9CE;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.requirement-content {
    flex: 1;
}

.requirement-item h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.requirement-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.important-note {
    background: linear-gradient(135deg, #fff3cd, #ffe8a1);
    border: 2px solid #ffeaa7;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.important-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #f39c12;
}

.important-note > i {
    font-size: 1.5em;
    color: #f39c12;
    margin-right: 10px;
    vertical-align: middle;
}

.important-note p {
    color: #856404;
    margin: 0;
    line-height: 1.6;
}

.important-note p:first-child {
    margin-bottom: 10px;
}

.important-note strong {
    color: #6c4e00;
}

/* Acknowledgment checkbox styles */
.acknowledgment-checkbox {
    margin-top: 5px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 2px solid #e1e8ed;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #2c3e50;
    font-weight: 600;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #3498db;
    cursor: pointer;
}

.checkbox-container:hover {
    color: #3498db;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: #3498db;
}

.checkmark {
    margin-right: 8px;
}

/* Pricing Display Styles */
.pricing-display {
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.pricing-display h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3em;
    text-align: center;
}

.pricing-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.price-row.total-row {
    border-top: 2px solid #4caf50;
    padding-top: 12px;
    margin-top: 8px;
}

.price-label {
    font-size: 14px;
    color: #555;
}

.price-value {
    font-size: 14px;
    color: #2c3e50;
}

.total-price {
    font-size: 16px;
    color: #4caf50;
}

/* Terms Container */
.terms-container {
    text-align: center;
    margin-bottom: 20px;
}

.terms-text {
    font-size: 13px;
    color: #666;
}

.terms-text a {
    color: #3498db;
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Field help text */
.field-help {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

/* Overtime warning */
.overtime-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    font-size: 14px;
    display: none;
}

/* Terms page specific styles */
.policy-content {
    padding: 20px 0;
}

.policy-content h3 {
    color: #2c3e50;
    font-size: 1.3em;
    margin-bottom: 15px;
    margin-top: 25px;
}

.policy-content h3:first-child {
    margin-top: 0;
}

.policy-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.policy-content strong {
    color: #2c3e50;
}

.policy-note {
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.policy-note p {
    margin: 0;
    font-size: 1.1em;
}

.navigation-buttons {
    text-align: center;
    margin-top: 30px;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: white;
}

.form-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* Form sections */
.form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    animation: fadeIn 0.5s ease-in;
}

.form-section h3 {
    color: #52A9CE;
    margin-bottom: 20px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    font-size: 1.2em;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

label i {
    color: #52A9CE;
    margin-right: 6px;
    font-size: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    background-color: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: #52A9CE;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 0 0 3px rgba(82, 169, 206, 0.1);
    transform: translateY(-2px);
}

/* Add keyframe animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation classes */
.animate__fadeIn {
    animation: fadeIn 0.5s ease-out;
}

.animate__fadeInDown {
    animation: fadeInDown 0.5s ease-out;
}

.animate__fadeInUp {
    animation: fadeInUp 0.5s ease-out;
}

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

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

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.btn {
    background-color: #52A9CE;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-weight: 600;
}

.btn:hover {
    background-color: #3DD9FF;
}

.btn:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    display: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form-specific error alert under button */
.form-error-alert {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    text-align: center;
    font-size: 14px;
    display: none;
    animation: slideDown 0.3s ease-out;
}

.form-error-alert.show {
    display: block;
}

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

.bookings-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bookings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.bookings-header h2 {
    color: #2c3e50;
}

.date-filter {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-filter input {
    width: auto;
    min-width: 150px;
}

.date-filter button {
    padding: 8px 16px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.date-filter button:hover {
    background-color: #219a52;
}

.booking-item {
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.booking-item h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.booking-details {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #7f8c8d;
}

.booking-time {
    font-weight: 600;
    color: #e74c3c;
}

.no-bookings {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 20px;
}

.business-hours {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.business-hours h3 {
    color: #856404;
    margin-bottom: 10px;
}



/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    /* General mobile adjustments */
    body {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .container {
        padding: 10px;
        max-width: 100%;
    }
    
    /* Header adjustments */
    .header h1 {
        font-size: 1.8em;
        line-height: 1.2;
        margin-bottom: 5px;
    }
    
    .header p {
        font-size: 0.95em;
    }
    
    .admin-nav {
        position: static;
        margin-top: 15px;
        text-align: center;
    }
    
    /* Requirements section mobile optimization */
    .requirements-container {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .requirements-container h2 {
        font-size: 1.4em;
    }
    
    .requirements-container > p {
        font-size: 1em;
        margin-bottom: 15px;
    }
    
    .requirement-item {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .requirement-item h3 {
        font-size: 1.1em;
    }
    
    .important-note {
        padding: 15px;
    }
    
    /* Form mobile optimization */
    .booking-form {
        padding: 20px 15px;
    }
    
    .booking-form h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    
    .form-row {
        flex-direction: column;
        margin-bottom: 0;
    }
    
    .form-group {
        margin-bottom: 20px;
        width: 100%;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px 15px;
        border-radius: 8px;
        min-height: 48px; /* Better touch targets */
    }
    
    /* AC counts section mobile */
    .ac-counts-section h3 {
        font-size: 1.2em;
    }
    
    .ac-type-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ac-type-item label {
        margin-bottom: 8px;
        font-size: 15px;
    }
    
    /* Time slots mobile optimization */
    .slots-container {
        padding: 15px;
        margin-top: 15px;
    }
    
    .slots-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .slot-option {
        padding: 20px;
        min-height: 90px;
        border-width: 3px; /* Easier to see selection */
    }
    
    .slot-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .slot-date {
        font-size: 15px;
    }
    
    .slot-time {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .slot-duration {
        font-size: 13px;
    }
    
    /* Payment button mobile */
    #pay-button {
        font-size: 16px;
        padding: 18px 30px;
        min-height: 54px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
    
    /* Checkbox mobile optimization */
    .checkbox-container {
        align-items: flex-start;
    }
    
    .checkbox-container input[type="checkbox"] {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
        margin-right: 15px;
        margin-top: 0;
    }
    
    /* Alert messages mobile */
    .alert {
        font-size: 14px;
        padding: 12px 15px;
        margin-bottom: 15px;
    }
    
    .form-error-alert {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    /* Pricing display mobile */
    .pricing-display {
        font-size: 14px;
        margin-top: 12px;
    }
    
    .pricing-display h4 {
        font-size: 1.1em;
    }
    
    /* Loading states */
    .loading {
        font-size: 14px;
    }
    
    /* Bookings display */
    .bookings-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .date-filter {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .date-filter input {
        width: 100%;
        font-size: 16px;
        padding: 12px;
    }
    
    .booking-details {
        flex-direction: column;
        gap: 5px;
    }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 480px) {
    .header {
        padding: 25px 15px;
    }
    
    .header h1, .main-title {
        font-size: 2.5em;
        letter-spacing: -1px;
    }
    
    .tagline {
        font-size: 1em;
        margin-bottom: 25px;
    }
    
    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
        padding: 0;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .benefit-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .benefit-icon-wrapper i {
        font-size: 1.5em;
    }
    
    .benefit-card h4 {
        font-size: 1em;
        margin-bottom: 5px;
    }
    
    .benefit-card p {
        font-size: 0.85em;
    }
    
    .container {
        padding: 8px;
    }
    
    .booking-form,
    .requirements-container {
        border-radius: 8px;
        box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    }
    
    .form-group input,
    .form-group select {
        border-radius: 10px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Make all interactive elements larger for touch */
    button,
    input[type="submit"],
    input[type="button"],
    .btn {
        min-height: 48px;
        padding: 12px 24px;
    }
    
    /* Remove hover effects on touch devices */
    .slot-option:hover {
        border-color: #e1e5e9;
        box-shadow: none;
    }
    
    .slot-option.selected {
        border-color: #007bff;
        background-color: #e3f2fd;
    }
    
    /* Larger touch targets for form elements */
    input[type="checkbox"],
    input[type="radio"] {
        min-width: 24px;
        min-height: 24px;
    }
}

/* Touch feedback styling */
.touch-active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* Mobile-specific class styles */
.is-mobile .slot-option {
    -webkit-tap-highlight-color: rgba(0, 123, 255, 0.1);
    tap-highlight-color: rgba(0, 123, 255, 0.1);
}

/* Improve mobile form usability */
.is-mobile input[type="number"] {
    -moz-appearance: textfield;
}

.is-mobile input[type="number"]::-webkit-outer-spin-button,
.is-mobile input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Ensure modals and alerts are mobile-friendly */
@media (max-width: 768px) {
    .modal, .dialog {
        margin: 10px;
        max-width: calc(100vw - 20px);
    }
}

/* Time Slots Styling */
.slots-container {
    min-height: 100px;
    border: 2px dashed #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    background-color: #f8f9fa;
    margin-top: 10px;
}

.slots-loading {
    text-align: center;
    color: #666;
}

.slots-loading .spinner {
    width: 20px;
    height: 20px;
    margin: 0 auto 10px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.slot-option {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.slot-option:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.slot-option.selected {
    border-color: #007bff;
    background-color: #e3f2fd;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.slot-date {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.slot-area {
    background: #007bff;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.slot-time {
    font-size: 18px;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 5px;
}

.slot-duration {
    font-size: 14px;
    color: #666;
}

.slot-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.slots-error {
    text-align: center;
    padding: 20px;
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
}

.slots-empty {
    text-align: center;
    padding: 20px;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
}

/* Payment button styling */
.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

#pay-button {
    background: #28a745;
    color: white;
    border: none;
    font-size: 14px;
    padding: 15px 30px;
    margin-bottom: 10px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-weight: 600;
}

#pay-button:hover {
    background: #218838;
}

/* Remove the inconsistent special styling for first 4 form groups */

/* Ensure all inputs have consistent styling */

/* Address suggestions */
.address-suggestions {
    margin-top: 10px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.suggestions-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
}

.address-option {
    padding: 10px 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.address-option:hover {
    background: #e8f4ff;
    border-color: #007bff;
    transform: translateX(2px);
}

.address-option i {
    color: #007bff;
    margin-right: 8px;
}

.address-option .booking-count {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* Notification animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}
/* Area suburbs help */
.area-suburbs-help {
    margin-top: 8px;
    font-size: 13px;
}

.area-suburbs-help details {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
}

.area-suburbs-help summary {
    cursor: pointer;
    color: #1a73e8;
    font-weight: 500;
    outline: none;
    user-select: none;
}

.area-suburbs-help summary:hover {
    text-decoration: underline;
}

.suburbs-list {
    margin-top: 10px;
    line-height: 1.6;
}

.suburbs-list .area-group {
    margin-bottom: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.suburbs-list .area-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
