/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

/* Navbar */
.navbar {
    background-color: #1a96fc; /* Bright blue */
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    color: white;
    font-weight: 500;
    font-size: 15px;
    transition: opacity 0.3s ease;
}

.nav-links li a:hover {
    opacity: 0.8;
}

.login-btn {
    background: transparent;
    border: none;
    color: white;
    font-weight: 600;
}

.nav-logo-left {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    background-color: white;
}

.nav-logo-right {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    vertical-align: middle;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1001;
    top: 100%;
    left: 0;
    overflow: hidden;
    animation: fadeInDown 0.3s ease;
}

.dropdown-content a {
    color: #333 !important;
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500 !important;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f4f9ff;
    color: #1a96fc !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

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

/* Main Background */
.main-bg {
    background-color: #eaf8fc;
    padding-bottom: 60px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
}

.hero-logo-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.hero-logo {
    width: 80%;
    height: auto;
}

.hero h1 {
    font-size: 36px;
    color: #2c2c2c;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: #1a96fc;
    color: white;
}

.btn-secondary {
    background-color: #38b059;
    color: white;
}

/* Services Section */
.services {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: rgba(255,255,255,0.4);
    padding: 30px;
    border-radius: 20px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.icon-wrapper {
    font-size: 32px;
    margin-bottom: 15px;
    color: #666;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #222;
}

.service-card p {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
    min-height: 40px;
}

.btn-service {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.btn-service:hover {
    opacity: 0.9;
}

.btn-blue { background-color: #007bff; }
.btn-green { background-color: #28a745; }
.btn-yellow { background-color: #ffc107; color: #222; }
.btn-purple { background-color: #6f42c1; }


/* Features Section */
.features {
    text-align: center;
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.features h2 {
    font-size: 28px;
    margin-bottom: 50px;
    color: #222;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    padding: 20px;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.text-yellow { color: #fbc02d; }
.text-red { color: #e53935; }
.text-dark { color: #e53935; /* Same pin color for map marker */ }

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
}

.feature-item p {
    font-size: 14px;
    color: #666;
}

/* Testimonials Section */
.testimonials {
    padding: 20px 20px 80px;
    display: flex;
    justify-content: center;
}

.testimonials-bg {
    background: linear-gradient(135deg, #1f303e 0%, #253e48 100%);
    color: white;
    border-radius: 24px;
    padding: 60px 20px;
    max-width: 1200px;
    width: 95%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.testimonials-bg h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.divider {
    height: 4px;
    width: 70px;
    background: linear-gradient(90deg, #1a96fc, #06b6d4);
    margin: 0 auto 50px;
    border-radius: 2px;
}

.testimonials-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.testimonials-grid {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll-left 35s linear infinite;
    padding: 20px 0;
}

.testimonials-grid:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); }
}

.testimonial-card {
    background: white;
    color: #333;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    width: 450px; /* Wider for good accessibility */
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    border-bottom: 5px solid transparent;
}

.testimonial-card:hover {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-bottom: 5px solid #1a96fc;
}

.stars {
    color: #ffb300;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-card p {
    font-size: 14px;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    min-height: 45px;
}

.testimonial-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #7468c4 0%, #8967b5 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.white-divider {
    background-color: white;
}

.about p {
    font-size: 16px;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #f9fbfd;
    text-align: center;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-wrapper h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #222;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: #555;
    background: #f4f9ff;
    padding: 15px 25px;
    border-radius: 50px;
}

.info-item i {
    color: #1a96fc;
    font-size: 20px;
}

/* Login Section */
.login-section {
    padding: 60px 20px 100px;
    background-color: #ffffff;
    text-align: center;
}

.login-wrapper {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.login-wrapper h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #222;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.login-form input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.login-form input:focus {
    border-color: #1a96fc;
}

.w-100 {
    width: 100%;
}

/* Footer */
footer {
    background-color: #2b2b2b;
    color: #aaa;
    text-align: center;
    padding: 25px 20px;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .services-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Service Pages Enhancements */
.service-header {
    text-align: center;
    padding: 60px 20px 20px;
}

.service-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f303e;
    margin-bottom: 15px;
}

.service-header p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.service-feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    width: 280px;
    flex-grow: 1;
    max-width: 350px;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    border-bottom: 5px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom: 5px solid #1a96fc;
}

.feature-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #eaf8fc;
    color: #1a96fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: background 0.3s, color 0.3s;
}

.feature-card:hover .icon-wrapper {
    background: #1a96fc;
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.price-tag {
    font-size: 24px;
    font-weight: 700;
    color: #38b059;
    margin-bottom: 20px;
}

.step-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 40px;
}

.step-item {
    background: #1f303e;
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-number {
    background: #1a96fc;
    color: white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

@media (max-width: 480px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}

/* Custom Form Styles */
.custom-form-section {
    padding: 60px 20px 100px;
    background: #f8faff;
}

.custom-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.custom-form-container h2 {
    font-size: 32px;
    color: #1f303e;
    margin-bottom: 20px;
    text-align: center;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #444;
}

.form-control {
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    background: #fafcff;
}

.form-control:focus {
    border-color: #1a96fc;
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(26,150,252,0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
}

/* Bill Payment — PhonePe / BHIM style */
.bill-page {
    min-height: calc(100vh - 200px);
}

.bill-view {
    display: none;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.bill-view.active {
    display: block;
}

.bill-hero {
    text-align: center;
    padding: 50px 20px 30px;
}

.bill-hero h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f303e;
    margin-bottom: 10px;
}

.bill-hero p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.bill-search-wrap {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.bill-search-wrap i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.bill-search-wrap input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    border: 2px solid #e1e8ed;
    border-radius: 14px;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.bill-search-wrap input:focus {
    outline: none;
    border-color: #1a96fc;
    box-shadow: 0 0 0 4px rgba(26,150,252,0.12);
}

.recent-section {
    padding: 10px 20px 30px;
}

.recent-section h3,
.bill-categories-section h3 {
    font-size: 18px;
    color: #1f303e;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recent-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: none;
    border-radius: 14px;
    padding: 14px 18px;
    min-width: 240px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
    font-family: 'Outfit', sans-serif;
}

.recent-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.recent-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.recent-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.recent-info strong {
    font-size: 14px;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-info small {
    font-size: 12px;
    color: #888;
}

.recent-amount {
    font-weight: 700;
    color: #38b059;
    font-size: 15px;
}

.bill-categories-section {
    padding: 10px 20px 30px;
}

.bill-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}

.bill-cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: white;
    border: none;
    border-radius: 16px;
    padding: 22px 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.25s, box-shadow 0.25s;
    font-family: 'Outfit', sans-serif;
}

.bill-cat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.bill-cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--cat-bg);
    color: var(--cat-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.bill-cat-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.3;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    padding: 30px;
}

.bill-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.bill-trust-bar i {
    color: #1a96fc;
    margin-right: 6px;
}

/* Payment Flow */
.flow-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px 20px 10px;
}

.back-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    background: white;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: background 0.2s;
}

.back-btn:hover {
    background: #f0f7ff;
    color: #1a96fc;
}

.flow-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flow-cat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.flow-header h2 {
    font-size: 22px;
    color: #1f303e;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    transition: background 0.3s, transform 0.3s;
}

.step-dot.active {
    background: #1a96fc;
    transform: scale(1.3);
}

.step-dot.done {
    background: #38b059;
}

.step-line {
    width: 60px;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
}

.flow-card {
    background: white;
    margin: 0 20px;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.flow-step {
    display: none;
}

.flow-step.active {
    display: block;
}

.flow-step h3 {
    font-size: 18px;
    color: #1f303e;
    margin-bottom: 20px;
}

.recharge-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.amount-chip {
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    font-weight: 600;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s;
}

.amount-chip:hover,
.amount-chip.selected {
    border-color: #1a96fc;
    background: #eaf8fc;
    color: #1a96fc;
}

.bill-action-btn {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
}

.fetch-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    color: #666;
    font-size: 15px;
}

.spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #e0e0e0;
    border-top-color: #1a96fc;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner.large {
    width: 48px;
    height: 48px;
    border-width: 4px;
}

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

.bill-preview {
    background: #f8faff;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #e8eef5;
}

.preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.preview-row span {
    color: #777;
}

.preview-row strong {
    color: #222;
    text-align: right;
    max-width: 60%;
    word-break: break-all;
}

.preview-amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 4px;
    font-size: 16px;
}

.preview-amount {
    font-size: 28px !important;
    color: #38b059 !important;
}

/* Success */
.success-card {
    text-align: center;
    background: white;
    margin: 40px 20px;
    border-radius: 24px;
    padding: 50px 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.success-icon {
    font-size: 72px;
    color: #38b059;
    margin-bottom: 16px;
}

.success-card h2 {
    font-size: 28px;
    color: #1f303e;
    margin-bottom: 8px;
}

.success-sub {
    color: #666;
    margin-bottom: 30px;
}

.success-details {
    background: #f8faff;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
}

.success-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.success-row:last-child {
    border-bottom: none;
}

.success-row span {
    color: #777;
}

.success-row strong {
    color: #222;
}

/* Payment Modal */
.payment-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.payment-modal.open {
    opacity: 1;
    visibility: visible;
}

.payment-modal-content {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 24px 24px 0 0;
    padding: 30px 24px 40px;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.payment-modal.open .payment-modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.payment-modal-content h3 {
    font-size: 20px;
    color: #1f303e;
    margin-bottom: 8px;
}

.modal-biller {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.modal-amount {
    font-size: 32px;
    font-weight: 700;
    color: #38b059;
    margin-bottom: 24px;
}

.pay-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.pay-method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 10px;
    border: 2px solid #eee;
    border-radius: 14px;
    background: white;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    transition: border-color 0.2s, background 0.2s;
}

.pay-method-btn:hover {
    border-color: #1a96fc;
    background: #f4f9ff;
}

.method-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.method-icon.upi { background: #4285f4; }
.method-icon.phonepe { background: #5f259f; }
.method-icon.bhim { background: #00a651; }
.method-icon.card { background: #ff6b35; }
.method-icon.netbank { background: #1a96fc; }
.method-icon.wallet { background: #ffc107; color: #333; }

.payment-processing {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.92);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.payment-processing.open {
    opacity: 1;
    visibility: visible;
}

.processing-content {
    text-align: center;
}

.processing-content p {
    margin-top: 16px;
    font-size: 16px;
    color: #555;
    font-weight: 600;
}

.bill-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #1f303e;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 4000;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
}

.bill-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 480px) {
    .bill-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .bill-cat-tile {
        padding: 16px 8px;
    }

    .bill-cat-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .bill-cat-name {
        font-size: 11px;
    }

    .pay-methods {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-card {
        padding: 20px;
    }
}

/* ═══════════════════════════════════════════
   Shared App UI — Blinkit / Zepto / PhonePe
   ═══════════════════════════════════════════ */
.app-page {
    padding-bottom: 90px;
}

.app-page.has-sticky-cart {
    padding-bottom: 120px;
}

/* Sticky service header */
.app-sticky-header {
    position: sticky;
    top: 72px;
    z-index: 900;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 14px 20px 16px;
}

.app-sticky-header.theme-green {
    background: linear-gradient(135deg, #0d9488 0%, #059669 100%);
    color: white;
}

.app-sticky-header.theme-blue {
    background: linear-gradient(135deg, #1a96fc 0%, #0ea5e9 100%);
    color: white;
}

.app-sticky-header.theme-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: white;
}

.app-delivery-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.app-delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.app-location-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: inherit;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.95;
}

.app-location-btn i {
    font-size: 12px;
}

.app-search-bar {
    position: relative;
}

.app-search-bar i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.app-search-bar input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    background: white;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.app-search-bar input:focus {
    outline: 2px solid rgba(255,255,255,0.5);
}

.app-search-bar.light input {
    background: #f5f5f5;
    border: 1px solid #eee;
}

/* Promo banners */
.promo-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.promo-scroll::-webkit-scrollbar { display: none; }

.promo-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: 16px;
    padding: 20px 22px;
    color: white;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.promo-card::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
}

.promo-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.promo-card p {
    font-size: 13px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.promo-card.promo-green { background: linear-gradient(135deg, #059669, #10b981); }
.promo-card.promo-orange { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.promo-card.promo-blue { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.promo-card.promo-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }

/* Horizontal category chips */
.cat-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 20px 20px;
    scrollbar-width: none;
}

.cat-scroll::-webkit-scrollbar { display: none; }

.cat-chip {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: white;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    min-width: 72px;
}

.cat-chip .chip-icon {
    font-size: 24px;
    line-height: 1;
}

.cat-chip .chip-label {
    font-size: 11px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

.cat-chip:hover,
.cat-chip.active {
    border-color: var(--chip-color, #059669);
    background: var(--chip-bg, #ecfdf5);
}

.cat-chip.active .chip-label {
    color: var(--chip-color, #059669);
}

/* Section headers */
.app-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f303e;
    padding: 8px 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-section-title small {
    font-size: 13px;
    font-weight: 500;
    color: #888;
}

/* Blinkit-style product grid */
.blinkit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 12px;
    padding: 0 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blinkit-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s;
}

.blinkit-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.blinkit-card .discount-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #2563eb;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
}

.blinkit-card .eta-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    padding: 3px 7px;
    border-radius: 4px;
}

.blinkit-card .product-img {
    font-size: 56px;
    text-align: center;
    padding: 8px 0 4px;
    line-height: 1;
}

.blinkit-card h4 {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
}

.blinkit-card .weight {
    font-size: 11px;
    color: #999;
    margin-bottom: 6px;
}

.blinkit-card .price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}

.blinkit-card .price {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.blinkit-card .mrp {
    font-size: 11px;
    color: #aaa;
    text-decoration: line-through;
}

.blinkit-add-btn {
    width: 100%;
    padding: 7px;
    border: 1.5px solid #059669;
    border-radius: 8px;
    background: #ecfdf5;
    color: #059669;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s;
}

.blinkit-add-btn:hover {
    background: #059669;
    color: white;
}

.blinkit-qty {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #059669;
    border-radius: 8px;
    padding: 4px;
}

.blinkit-qty button {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: white;
    color: #059669;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blinkit-qty span {
    color: white;
    font-weight: 700;
    font-size: 15px;
}

/* Sticky bottom cart bar (Zepto/Blinkit) */
.sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #059669;
    color: white;
    padding: 14px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 998;
    box-shadow: 0 -4px 20px rgba(5,150,105,0.3);
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

.sticky-cart-bar.visible {
    display: flex;
}

.sticky-cart-bar .cart-info strong {
    display: block;
    font-size: 15px;
}

.sticky-cart-bar .cart-info small {
    font-size: 12px;
    opacity: 0.85;
}

.sticky-cart-bar .view-cart-btn {
    background: white;
    color: #059669;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

/* Cart drawer (shared) */
.app-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.app-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.app-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: white;
    border-radius: 24px 24px 0 0;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
}

.app-drawer.open {
    transform: translateY(0);
}

.app-drawer-handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 12px auto 0;
}

.app-drawer-header {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.app-drawer-header h3 {
    font-size: 18px;
    color: #1f303e;
}

.app-drawer-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.app-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.app-drawer-footer {
    padding: 16px 24px 28px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.drawer-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.drawer-total-row span:last-child {
    color: #059669;
}

.app-primary-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-primary-btn.theme-green {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
}

.app-primary-btn.theme-blue {
    background: linear-gradient(135deg, #1a96fc, #0ea5e9);
    color: white;
}

.app-primary-btn.theme-purple {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: white;
}

.app-primary-btn:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.drawer-empty {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

.drawer-empty i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 12px;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}

.drawer-item-emoji {
    font-size: 32px;
}

.drawer-item-info {
    flex: 1;
    min-width: 0;
}

.drawer-item-info h4 {
    font-size: 14px;
    color: #222;
    margin-bottom: 2px;
}

.drawer-item-info small {
    font-size: 12px;
    color: #888;
}

.drawer-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-item-qty button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background: #ecfdf5;
    color: #059669;
}

.drawer-item-price {
    font-weight: 700;
    color: #059669;
    font-size: 14px;
    min-width: 50px;
    text-align: right;
}

/* Service app cards (Urban Company / PhonePe style) */
.service-app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding: 0 20px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-app-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: box-shadow 0.25s, transform 0.25s;
    cursor: pointer;
}

.service-app-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.service-app-card .svc-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.service-app-card .svc-body {
    flex: 1;
    min-width: 0;
}

.service-app-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.service-app-card p {
    font-size: 13px;
    color: #777;
    line-height: 1.4;
    margin-bottom: 10px;
}

.service-app-card .svc-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
}

.service-app-card .svc-meta .rating {
    color: #f59e0b;
    font-weight: 600;
}

.service-app-card .svc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-app-card .svc-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--svc-color, #1a96fc);
}

.svc-book-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    color: white;
    background: var(--svc-color, #1a96fc);
    transition: opacity 0.2s;
}

.svc-book-btn:hover {
    opacity: 0.9;
}

/* Service tile grid (PhonePe See All) */
.svc-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    padding: 0 20px 30px;
    max-width: 900px;
    margin: 0 auto;
}

.svc-tile {
    background: white;
    border: none;
    border-radius: 16px;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Outfit', sans-serif;
}

.svc-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}

.svc-tile-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.svc-tile-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.svc-tile-price {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}

/* App stats bar */
.app-stats-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 16px 20px 24px;
    flex-wrap: wrap;
}

.app-stat {
    text-align: center;
}

.app-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #1f303e;
}

.app-stat span {
    font-size: 12px;
    color: #888;
}

.app-stat .stat-icon {
    color: var(--stat-color, #1a96fc);
}

/* Booking sheet */
.booking-sheet {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.booking-sheet.open {
    opacity: 1;
    visibility: visible;
}

.booking-sheet-bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.booking-sheet-content {
    position: relative;
    background: white;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.booking-sheet.open .booking-sheet-content {
    transform: translateY(0);
}

.booking-sheet-content h3 {
    font-size: 20px;
    color: #1f303e;
    margin-bottom: 4px;
}

.booking-sheet-content .sheet-sub {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.doc-checklist {
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    border-left: 4px solid var(--check-color, #1a96fc);
    background: var(--check-bg, #eef6ff);
}

.doc-checklist h4 {
    font-size: 14px;
    color: #1f303e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-checklist ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doc-checklist li {
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.doc-checklist li i {
    color: var(--check-color, #1a96fc);
    margin-top: 2px;
}

/* Order success overlay */
.order-success-overlay {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 5000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
}

.order-success-overlay.open {
    display: flex;
}

.order-success-overlay .success-check {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    font-size: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.order-success-overlay h2 {
    font-size: 26px;
    color: #1f303e;
    margin-bottom: 8px;
}

.order-success-overlay p {
    color: #666;
    margin-bottom: 24px;
}

.order-success-overlay .eta-box {
    background: #f0fdf4;
    border-radius: 14px;
    padding: 20px 30px;
    margin-bottom: 30px;
}

.order-success-overlay .eta-box strong {
    display: block;
    font-size: 28px;
    color: #059669;
}

.order-success-overlay .eta-box span {
    font-size: 14px;
    color: #666;
}

/* App toast */
.app-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(60px);
    background: #1f303e;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 6000;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
}

.app-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Bill promo strip */
.bill-promo-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 20px 24px;
    scrollbar-width: none;
}

.bill-promo-scroll::-webkit-scrollbar { display: none; }

.bill-promo-card {
    flex: 0 0 200px;
    background: white;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.bill-promo-card .promo-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.bill-promo-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.bill-promo-card p {
    font-size: 12px;
    color: #888;
}

@media (max-width: 480px) {
    .blinkit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .service-app-grid {
        grid-template-columns: 1fr;
    }

    .svc-tile-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .app-sticky-header {
        top: 60px;
    }
}

/* ═══════════════════════════════════════════
   Admin Portal
   ═══════════════════════════════════════════ */
.admin-body {
    display: flex;
    min-height: 100vh;
    background: #f0f2f5;
    margin: 0;
}

.admin-sidebar {
    width: 260px;
    background: #1f303e;
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}

.admin-brand strong {
    display: block;
    font-size: 16px;
}

.admin-brand span {
    font-size: 12px;
    opacity: 0.6;
}

.admin-nav {
    flex: 1;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(26,150,252,0.2);
    color: white;
}

.admin-nav-item.active {
    background: #1a96fc;
}

.admin-sidebar-footer {
    padding: 16px 12px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link,
.sidebar-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.sidebar-link:hover,
.sidebar-logout:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

.sidebar-logout {
    color: #fca5a5;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
}

.admin-topbar {
    background: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left h1 {
    font-size: 24px;
    color: #1f303e;
    margin-bottom: 2px;
}

.topbar-left p {
    font-size: 13px;
    color: #888;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-search-wrap {
    position: relative;
}

.admin-search-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.admin-search-wrap input {
    padding: 10px 16px 10px 40px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    width: 280px;
    background: #f9fafb;
}

.admin-search-wrap input:focus {
    outline: none;
    border-color: #1a96fc;
    background: white;
}

.notif-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    font-size: 16px;
    color: #555;
}

.notif-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.admin-avatar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f0f7ff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1a96fc;
}

.admin-tab {
    display: none;
    padding: 24px 30px 40px;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stat-card.wide {
    grid-column: span 1;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.blue { background: #eff6ff; color: #2563eb; }
.stat-icon.orange { background: #fff7ed; color: #ea580c; }
.stat-icon.purple { background: #f5f3ff; color: #7c3aed; }
.stat-icon.green { background: #ecfdf5; color: #059669; }

.stat-card strong {
    display: block;
    font-size: 26px;
    color: #1f303e;
    line-height: 1.2;
}

.stat-card span {
    font-size: 13px;
    color: #888;
}

.dashboard-split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
}

.map-panel,
.recent-panel {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.panel-header h2 {
    font-size: 16px;
    color: #1f303e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-link {
    background: none;
    border: none;
    color: #1a96fc;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

.admin-map {
    height: 380px;
    width: 100%;
    z-index: 1;
}

.admin-map-full {
    height: calc(100vh - 180px);
    min-height: 500px;
    width: 100%;
    border-radius: 16px;
    z-index: 1;
}

.map-full-wrap {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.map-legend {
    display: flex;
    gap: 20px;
    padding: 14px 20px;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.map-legend i {
    font-size: 8px;
    margin-right: 6px;
}

.map-pin-custom { background: none !important; border: none !important; }

.map-pin {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    border: 2px solid white;
}

.map-pin i {
    transform: rotate(45deg);
}

.map-popup .status-pill {
    margin-top: 6px;
    display: inline-block;
}

.recent-req-list {
    padding: 12px;
    max-height: 380px;
    overflow-y: auto;
}

.recent-req-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.recent-req-card:hover {
    background: #f8faff;
}

.recent-req-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.recent-req-info {
    flex: 1;
    min-width: 0;
}

.recent-req-info strong {
    display: block;
    font-size: 14px;
    color: #222;
}

.recent-req-info span {
    font-size: 12px;
    color: #666;
}

.recent-req-info small {
    font-size: 11px;
    color: #999;
    display: block;
    margin-top: 2px;
}

.filters-bar {
    background: white;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin-right: 4px;
}

.filter-chip,
.status-chip {
    padding: 8px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: white;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}

.filter-chip:hover,
.filter-chip.active,
.status-chip:hover,
.status-chip.active {
    background: #1a96fc;
    color: white;
    border-color: #1a96fc;
}

.table-wrap {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th {
    text-align: left;
    padding: 14px 18px;
    background: #f8fafc;
    color: #666;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
}

.admin-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
    vertical-align: middle;
}

.request-row {
    cursor: pointer;
    transition: background 0.15s;
}

.request-row:hover,
.request-row.selected {
    background: #f0f7ff;
}

.req-id {
    font-family: monospace;
    font-size: 12px;
    color: #1a96fc;
    font-weight: 600;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.type-badge.large {
    padding: 8px 14px;
    font-size: 13px;
}

.addr-cell {
    max-width: 200px;
    font-size: 13px;
    color: #666;
}

.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-pending { background: #fef3c7; color: #b45309; }
.status-assigned { background: #dbeafe; color: #1d4ed8; }
.status-progress { background: #ede9fe; color: #6d28d9; }
.status-completed { background: #d1fae5; color: #047857; }
.status-cancelled { background: #fee2e2; color: #b91c1c; }

.empty-row {
    text-align: center;
    color: #999;
    padding: 40px !important;
}

.detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.detail-overlay.open {
    opacity: 1;
    visibility: visible;
}

.detail-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    z-index: 2001;
    box-shadow: -8px 0 30px rgba(0,0,0,0.12);
    transition: right 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    padding: 28px 24px;
}

.detail-panel.open {
    right: 0;
}

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

.detail-panel h3 {
    font-size: 20px;
    color: #1f303e;
    margin-bottom: 4px;
}

.detail-id {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

.detail-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-section h4 {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-section p {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.detail-section a {
    color: #1a96fc;
    text-decoration: none;
}

.coords {
    font-size: 12px !important;
    color: #888 !important;
    margin-top: 6px;
}

.detail-amount {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #059669 !important;
}

.detail-items {
    list-style: none;
    font-size: 14px;
    color: #444;
}

.detail-items li {
    padding: 4px 0;
}

.detail-action-btn {
    margin-top: 10px;
    padding: 8px 16px;
    border: 1px solid #1a96fc;
    border-radius: 8px;
    background: #f0f7ff;
    color: #1a96fc;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.action-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: white;
    transition: opacity 0.2s;
}

.action-btn:hover { opacity: 0.9; }
.action-btn.assign { background: #2563eb; }
.action-btn.progress { background: #7c3aed; }
.action-btn.complete { background: #059669; }
.action-btn.cancel { background: #ef4444; }
.action-btn.call { background: #1a96fc; }
.action-btn.whatsapp { background: #25d366; }

.admin-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(60px);
    background: #1f303e;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    z-index: 5000;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
}

.admin-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 1024px) {
    .admin-sidebar {
        width: 72px;
    }

    .admin-brand div,
    .admin-nav-item span,
    .sidebar-link span,
    .sidebar-logout span {
        display: none;
    }

    .admin-brand {
        justify-content: center;
        padding: 20px 10px;
    }

    .admin-nav-item {
        justify-content: center;
        padding: 14px;
    }

    .admin-main {
        margin-left: 72px;
    }

    .dashboard-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-search-wrap input {
        width: 100%;
    }

    .admin-tab {
        padding: 16px;
    }

    .table-wrap {
        overflow-x: auto;
    }

    .admin-table {
        min-width: 700px;
    }
}
