/* ===== HEADER, SIDE-MENU, AUR MODAL KI STYLING ===== */

/* Side Menu Styling */
.side-menu {
    position: fixed; top: 0; left: -300px; width: 300px; height: 100%;
    background-color: #ffffff; box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 200; transition: left 0.3s ease-in-out; display: flex;
    flex-direction: column; padding: 20px;
}
.side-menu.active { left: 0; }
.side-menu-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 20px; }
.side-menu-logo { color: #8A2BE2; font-size: 1.8rem; font-weight: 700; }
#close-menu-icon { font-size: 1.8rem; color: #8A2BE2; cursor: pointer; }
.side-menu-links { list-style: none; flex-grow: 1; }
.side-menu-links li { margin-bottom: 15px; }
.side-menu-links a { text-decoration: none; color: #8A2BE2; font-size: 1.1rem; padding: 10px 0; display: block; }
.side-menu-auth { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
#side-menu-user-profile { display: none; align-items: center; gap: 15px; color: #ffffff; }
#side-menu-user-initial { width: 40px; height: 40px; border-radius: 50%; background-color: #8A2BE2; color: white; display: flex; justify-content: center; align-items: center; font-size: 20px; font-weight: 600; }

/* Header/Navbar Styling */
.header { background-color: #ffffff; padding: 1rem 5%; box-shadow: 0 2px 4px rgba(0,0,0,0.05); position: relative; z-index: 100; margin-bottom: 20px; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: #7a26e0; text-decoration: none; }
.nav-links { list-style: none; display: none; gap: 1.5rem; } /* Hide on mobile */
.nav-links a { text-decoration: none; color: #8A2BE2; font-weight: 500; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.btn-template { background-color: #ffffff; color: #8A2BE2; border: none; padding: 0.7rem 1.5rem; border-radius: 8px; font-weight: 600; cursor: pointer; }
#user-profile { display: flex; align-items: center; cursor: pointer; position: relative; gap: 10px; }
#user-initial { width: 40px; height: 40px; border-radius: 50%; background-color: #8A2BE2; color: white; display: flex; justify-content: center; align-items: center; font-size: 20px; font-weight: 600; }
#user-display-name { color: #8A2BE2; font-weight: 500; }
#profile-dropdown { display: none; position: absolute; top: 50px; right: 0; background-color: white; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); z-index: 110; min-width: 120px; }
#profile-dropdown a { display: block; padding: 12px 20px; color: #333; text-decoration: none; }
#user-profile:hover #profile-dropdown { display: block; }
#menu-icon { display: block; font-size: 1.5rem; cursor: pointer; color: #8A2BE2; } /* Show on mobile */

@media (min-width: 992px) {
    #menu-icon { display: none; }
    .nav-links { display: flex; }
}



/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #1A1A1D; /* Dark Charcoal */
    color: #EAEAEA; /* Off-White */
    line-height: 1.6;
}

/* Main Container Layout */
.booking-container {
    max-width: 800px;
    margin: 0 auto;
    
    
}



.summary-container {
    flex: 1; /* Takes 1/3 of space */
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 40px;
}

h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #7a26e0;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.form-step {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #000000;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 15px;
}

/* Nayi Checkbox Styling */
.pest-option-label {
    display: block; /* Label ko poori jagah lene dega */
}
/* Pest & Time Slot Selection (Grid Layout) */
.pest-selection, .time-slot-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
}

.pest-option {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.pest-option i {
    font-size: 24px;
    color: #7a26e0;
    margin-bottom: 8px;
    display: block;
}

.pest-option-label:hover .pest-option {
    border-color: #7a26e0;
    transform: translateY(-3px);
}

/* Asli checkbox ko chhipana */
.pest-option-label input[type="checkbox"] {
    display: none;
}

/* Jab checkbox select ho, toh box ka style badalna */
.pest-option-label input[type="checkbox"]:checked + .pest-option {
    background-color: #f0e6ff;
    border-color: #7a26e0;
    font-weight: 600;
}
/* NEW: Property Type Box Styling */
.property-type-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.property-option {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.property-option i {
    font-size: 20px;
    margin-right: 10px;
    color: #7a26e0;
}

.property-option:hover {
    border-color: #7a26e0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

input[type="radio"]:checked + .property-option {
    background-color: #f0e6ff;
    border-color: #7a26e0;
    font-weight: 600;
}


/* Summary Box Styling */
.price-box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}
.price-box p {
    color: #666;
}
.price-box h2 {
    font-size: 2.5rem;
    color: #7a26e0;
    border: none;
    margin: 0;
    padding: 0;
}

.included-services ul {
    list-style: none;
    margin-bottom: 20px;
}
.included-services li {
    margin-bottom: 10px;
    color: #555;
}
.included-services i {
    color: #28a745;
    margin-right: 10px;
}

.coupon-input {
    display: flex;
}
.coupon-input input {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.coupon-input button {
    padding: 0 15px;
    border: 1px solid #7a26e0;
    background-color: #7a26e0;
    color: #fff;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    cursor: pointer;
}

/* Trust Elements Styling */
.trust-elements {
    margin-top: 25px;
}
.safety-message {
    background-color: #eafbf0;
    color: #28a745;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.badges {
    display: flex;
    justify-content: space-around;
    text-align: center;
    color: #666;
    font-size: 12px;
    margin-bottom: 20px;
}

.testimonial {
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-style: italic;
    color: #555;
}
.testimonial cite {
    display: block;
    text-align: right;
    font-weight: 600;
    margin-top: 10px;
    font-style: normal;
}

/* Final Button */
.final-book-btn {
    width: 100%;
    padding: 15px;
    background-color: #8A2BE2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}
.final-book-btn:hover {
    background-color: #6a1db0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .booking-container {
        flex-direction: column;
    }
    .summary-container {
        position: static;
        width: 100%;
    }
}
/* SIRF MAIN HEADLINE (H1) KO CENTER KARNE KE LIYE */
.form-container h1 {
    text-align: center;
}
/* Custom input field ke liye nayi styling */
.custom-input-wrapper {
    display: flex;
    align-items: center;
}

.custom-input-wrapper input {
    flex-grow: 1; /* Input ko poori jagah lene dega */
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    /* Yeh zaroori hai agar input par focus ho toh 'sq. ft.' box alag na dikhe */
    position: relative; 
    z-index: 2;
}

.custom-input-wrapper span {
    padding: 12px;
    background-color: #eee;
    border: 1px solid #ddd;
    border-left: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #555;
    /* Input ke saath line mein laane ke liye */
    margin-left: -1px;
    z-index: 1;
}
/* Negotiation section ki styling */
.negotiate-section {
    text-align: center;
    margin: 20px 0;
}

.negotiate-prompt a {
    color: #7a26e0;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

#negotiate-instructions {
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 8px;
    text-align: left;
}

#negotiate-instructions ol {
    padding-left: 20px; /* List ke side mein thodi jagah */
}

#negotiate-instructions li {
    margin-bottom: 10px; /* List items ke beech mein space */
} .time-slot {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.time-slot:hover {
    border-color: #7a26e0;
    transform: translateY(-3px);
}

.time-slot.selected {
    background-color: #f0e6ff;
    border-color: #7a26e0;
    font-weight: 600;
} 

/* ===== SERVICE PAGE FORM RESTYLING ===== */

/* 1. Form ko white container mein rakhna aur text color theek karna */
.service-page .form-container {
    background-color: #ffffff; /* White background */
    color: #333; /* Andar ke text ka color dark karna */
    padding: 40px;
    border-radius: 12px;
}

/* Form ke andar ke labels ka color bhi dark karna */
.service-page .form-group label {
    color: #333;
}

/* 2. Selection par naya light violet color */
.service-page .pest-option-label input[type="checkbox"]:checked + .pest-option,
.service-page input[type="radio"]:checked + .property-option {
    background-color: #e7d1ff; /* Thoda behtar light violet */
    border-color: #8A2BE2;
}

/* 3. Input fields mein black placeholder */
.service-page input[type="text"]::placeholder,
.service-page input[type="tel"]::placeholder,
.service-page input[type="number"]::placeholder,
.service-page textarea::placeholder {
   color: #000000;
   opacity: 0.8; /* Thoda sa light rakhein taaki likhne par farak dikhe */
} 
/* ===== SERVICE PAGE BACKGROUND IMAGE ===== */

body.service-page {
    /* Neeche 'url' mein apni image ka sahi naam aur path likhein */
    background-image: linear-gradient(rgba(255, 252, 252, 0.552), rgba(31, 29, 29, 0.781)), url('service.png');
    
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}
/* =================================== */
/* Admin Login Modal Styling           */
/* =================================== */
.modal-overlay {
    display: none; position: fixed; z-index: 1000; left: 0; top: 0;
    width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7);
    justify-content: center; align-items: center;
}
.modal-content {
    background-color: #fff; color: #333; padding: 40px; border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2); width: 90%; max-width: 400px;
    position: relative; text-align: center;
}
.modal-content .form-group {
    margin-bottom: 15px; text-align: left;
}
.modal-content input {
    width: 100%; padding: 12px; border-radius: 5px; color: #000;
    border: 1px solid #ccc; font-size: 16px;
}
  /* =================================== */
    /* Password Toggle Icon Styling (NEW)  */
    /* =================================== */
    .password-wrapper {
        position: relative;
        width: 100%;
    }

    .password-wrapper input {
        padding-right: 40px; /* Icon ke liye jagah banana */
    }

    .password-wrapper i {
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        cursor: pointer;
        color: #aaa;
    }
.close-modal {
    color: #aaa; position: absolute; top: 15px; right: 20px;
    font-size: 28px; font-weight: bold; cursor: pointer;
}
#admin-login-button {
    margin-top: 10px; width: 100%;
}