/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
    max-width: 414px;
    margin: 0 auto;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Global width enforcement for all pages */
html {
    overflow-x: hidden;
}

/* Ensure all direct children of body respect width */
body > * {
    max-width: 414px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.container {
    max-width: 414px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding-bottom: 80px; /* Add padding to prevent content from being hidden behind bottom nav */
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-toggle {
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
    padding: 5px;
    border-radius: 4px;
    position: relative;
    z-index: 101;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

    .menu-toggle:hover {
        color: #4CAF50;
    }

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 99000;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

    .mobile-menu.active {
        left: 0;
    }

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.mobile-menu-header {
    background: #4CAF50;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-avatar {
    width: 50px;
    height: 50px;
  
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    overflow: hidden;
}

.mobile-menu-user-info h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.mobile-menu-user-info p {
    font-size: 12px;
    color: #666;
}

.mobile-menu-nav {
    padding: 20px 0;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f5f5f5;
}

    .mobile-menu-item:hover {
        background: #f9f9f9;
    }

    .mobile-menu-item i {
        width: 20px;
        font-size: 18px;
        color: #4CAF50;
    }

    .mobile-menu-item span {
        font-size: 16px;
    }

    .mobile-menu-item.active {
        background: #e8f5e8;
        border-left: 4px solid #4CAF50;
    }

.mobile-menu-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    text-align: center;
}

    .mobile-menu-footer p {
        font-size: 12px;
        color: #666;
        margin-bottom: 5px;
    }

    .mobile-menu-footer .company-name {
        font-size: 12px;
        color: #4CAF50;
        font-weight: bold;
    }

.logo-img {
    height: 35px!important;
    width: auto;
}

.notification {
    font-size: 20px;
    color: #666;
    cursor: pointer;
}

/* Main Content Area */
.main-content {
    padding: 5px;
    margin-bottom: 20px;
    min-height: calc(100vh - 160px); /* Account for header and bottom nav */
    width: 100%;
    max-width: 414px;
    box-sizing: border-box;
}

/* Page Width Consistency - Force all pages to use same width */
.page-container,
.content-wrapper,
.dashboard-content,
.profile-content,
.team-content,
.business-content,
.card-content,
.auth-content,
.register-content,
.signin-content,
.product-content {
    width: 100% !important;
    max-width: 414px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

/* Override any existing page-specific containers */
.container-fluid,
.row,
.col-md-12,
.col-lg-12,
.wrapper,
.main-wrapper {
    width: 100% !important;
    max-width: 414px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Hero Slider Styles */
.hero-slider {
    margin: 0px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.slide-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Dots Indicator */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Hero Section - Keep original for fallback */
.hero {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    padding: 0px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  
}

.app-info h1 {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.app-info h2 {
    font-size: 32px;
    color: #2c5aa0;
    font-weight: bold;
    margin-bottom: 5px;
}

.app-info .subtitle {
    font-size: 18px;
    color: #e74c3c;
    font-weight: bold;
}

.cashback-badge {
    background: #ff6b6b;
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    top: 20px;
    right: 120px;
    font-size: 12px;
}

    .cashback-badge .percentage {
        font-size: 24px;
        font-weight: bold;
        display: block;
    }

.phone-mockup {
    position: absolute;
    right: 20px;
    top: 50px;
}

    .phone-mockup img {
        width: 120px;
        height: auto;
    }

.download-section {
    margin-top: 60px;
}

.download-btn {
    background: #333;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features {
    background: #4a90e2;
    color: white;
    padding: 15px;
    border-radius: 10px;
    width: 200px;
}

    .features ul {
        list-style: none;
        font-size: 12px;
    }

    .features li {
        margin-bottom: 3px;
    }

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 15px;
    padding: 20px;
}

.action-card {
    flex: 1;
    background: #e8f5e8;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

    .action-card:hover {
        transform: translateY(-2px);
    }

.width100 {
    width:100%;
}


table {
    width: 100%;
}

th {
    padding: 8px 5px;
}



.action-icon {
    font-size: 24px;
    color: #4CAF50;
    margin-bottom: 10px;
}

.add-icon {
    background: #4CAF50;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.action-card h3 {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* My Bills Section and Similar Sections */
.my-bills, 
.loans-section,
.insurance-section,
.health-insurance-section,
.vehicle-insurance-section,
.investment-section {
    padding: 5px;
}

    .my-bills h3, 
    .loans-section h3,
    .insurance-section h3,
    .health-insurance-section h3,
    .vehicle-insurance-section h3,
    .investment-section h3 {
        background: #e8f5e8;
        padding: 10px 15px;
       
        font-size: 16px;
        color: #333;
        border-radius: 8px 8px 0 0;
        font-weight: 600;
    }

/* Different colored headers for variety */
.insurance-section h3 {
    background: #e3f2fd;
    color: #1976d2;
}

.health-insurance-section h3 {
    background: #ffebee;
    color: #d32f2f;
}

.vehicle-insurance-section h3 {
    background: #fff3e0;
    color: #f57c00;
}

.investment-section h3 {
    background: #f3e5f5;
    color: #7b1fa2;
}

.bills-grid, .loans-grid, .insurance-grid, .health-insurance-grid, .vehicle-insurance-grid, .investment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.bill-item, 
.loan-item,
.insurance-item,
.health-insurance-item,
.vehicle-insurance-item,
.investment-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px 8px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .bill-item:hover, 
    .loan-item:hover,
    .insurance-item:hover,
    .health-insurance-item:hover,
    .vehicle-insurance-item:hover,
    .investment-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .bill-item i, 
    .loan-item i,
    .insurance-item i,
    .health-insurance-item i,
    .vehicle-insurance-item i,
    .investment-item i {
        font-size: 24px;
        color: #4CAF50;
        margin-bottom: 8px;
        display: block;
        transition: color 0.3s ease;
    }

    .bill-item span, 
    .loan-item span,
    .insurance-item span,
    .health-insurance-item span,
    .vehicle-insurance-item span,
    .investment-item span {
        font-size: 12px;
        color: #666;
        display: block;
        font-weight: 500;
        line-height: 1.3;
    }

/* Different icon colors for each section */
.insurance-item i {
    color: #2196F3;
}

.health-insurance-item i {
    color: #f44336;
}

.vehicle-insurance-item i {
    color: #FF9800;
}

.investment-item i {
    color: #9C27B0;
}

/* Hover effects for different sections */
.insurance-item:hover i {
    color: #1976D2;
}

.health-insurance-item:hover i {
    color: #d32f2f;
}

.vehicle-insurance-item:hover i {
    color: #f57c00;
}

.investment-item:hover i {
    color: #7b1fa2;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 414px;
    background: #e8f5e8;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #ddd;
    z-index: 1000; /* Ensure it stays on top */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1); /* Add shadow for better visibility */
}

.nav-item {
    text-decoration: none;
    color: #666;
    text-align: center;
    font-size: 12px;
    transition: color 0.2s;
}

    .nav-item.active {
        color: #4CAF50;
    }

    .nav-item i {
        font-size: 20px;
        display: block;
        margin-bottom: 4px;
    }

/* Auth Pages */
.auth-body {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    width: 100%;
    max-width: 414px;
    margin: 0 auto;
}

.auth-container {
    max-width: 414px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 40px 30px;
   /* min-height: 100vh;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    box-sizing: border-box;
}

.auth-logo {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo-img {
    width: 200px;
  
  
    border-radius: 20px;
    display: block;
    margin: 0 auto;
}

.welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-text {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.welcome-title {
    font-size: 28px;
    color: #333;
    font-weight: bold;
}

.auth-form {
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    background: #f5f5f5;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

.forgot-password {
    text-align: center;
    margin-bottom: 30px;
}

    .forgot-password a {
        color: #666;
        text-decoration: underline;
        font-size: 14px;
    }

.auth-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s;
}

.login-btn {
    background: #4CAF50;
    color: white;
}

.register-btn {
    background: #4CAF50;
    color: white;
}

.auth-switch {
    text-align: center;
    margin-bottom: 20px;
}

    .auth-switch a {
        color: #4CAF50;
        text-decoration: none;
        font-weight: bold;
    }

.help-line {
    text-align: center;
    margin-bottom: 30px;
}

    .help-line a {
        color: #4CAF50;
        text-decoration: underline;
    }

.auth-footer {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.company-name {
    color: #4CAF50;
    font-weight: bold;
    margin-top: 5px;
}

.terms-checkbox {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .terms-checkbox input {
        margin-top: 3px;
    }

    .terms-checkbox label {
        font-size: 12px;
        color: #666;
        line-height: 1.4;
    }

    .terms-checkbox a {
        color: #4CAF50;
        text-decoration: underline;
    }

/* Dashboard & Profile Styles */
.user-profile {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.achievement-status {
    color: #666;
    font-size: 14px;
}

/* Stats Section */
.stats-section, .business-stats {
    padding: 20px;
}

.stats-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.stat-card {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    font-weight: bold;
}

    .stat-card.paid {
        background: #4CAF50;
    }

    .stat-card.free {
        background: #f44336;
    }

    .stat-card h3 {
        font-size: 12px;
        margin-bottom: 10px;
        opacity: 0.9;
    }

.stat-number {
    font-size: 24px;
    font-weight: bold;
}

.income-card {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.income-item {
    text-align: center;
    flex: 1;
}

.income-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.income-value {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.income-divider {
    width: 1px;
    height: 40px;
    background: #ccc;
    margin: 0 20px;
}

/* Refer Section */
.refer-section {
    margin: 20px;
    background: #e8f5e8;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.refer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.refer-text h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.refer-text p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.invite-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.refer-icon img {
    width: 60px;
    height: 60px;
}

/* Action Cards */
.action-cards {
    display: flex;
    gap: 15px;
    padding: 0 20px 20px;
}

/* Profile Menu */
.profile-header {
    padding: 20px;
}

.profile-card {
    background: #4CAF50;
    color: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

    .profile-card .profile-avatar {
        background: rgba(255,255,255,0.2);
    }

        .profile-card .profile-avatar i {
            font-size: 30px;
            color: white;
        }

.profile-details h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

.profile-details p {
    font-size: 14px;
    opacity: 0.8;
}

.edit-profile {
    margin-left: auto;
    font-size: 20px;
    cursor: pointer;
}

.profile-menu {
    padding: 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .menu-item:hover {
        background: #f9f9f9;
    }

.menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

    .menu-icon.danger {
        background: #ffebee;
        color: #f44336;
    }

    .menu-icon.info {
        background: #e3f2fd;
        color: #2196f3;
    }

    .menu-icon.success {
        background: #e8f5e8;
        color: #4caf50;
    }

    .menu-icon.primary {
        background: #e8eaf6;
        color: #3f51b5;
    }

    .menu-icon.secondary {
        background: #fce4ec;
        color: #e91e63;
    }

    .menu-icon.warning {
        background: #fff3e0;
        color: #ff9800;
    }

.menu-item.logout .menu-icon {
    background: #ffebee;
    color: #f44336;
}

.menu-text {
    flex: 1;
    font-size: 16px;
    color: #333;
}

.menu-arrow {
    color: #ccc;
    font-size: 14px;
}

/* Team Page Styles */
.achievers-section {
    background: #e8f5e8;
    padding: 20px;
    margin: 20px;
    border-radius: 15px;
}

.achievers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    .achievers-header h2 {
        font-size: 18px;
        color: #333;
    }

.graph-icon {
    font-size: 24px;
    color: #4CAF50;
}

.achievers-subtitle {
    font-size: 14px;
    color: #666;
}

.team-stats {
    display: flex;
    gap: 10px;
    padding: 20px;
}

    .team-stats .stat-card {
        flex: 1;
        padding: 15px;
        border-radius: 10px;
        text-align: center;
        font-size: 12px;
    }

.total-free {
    background: #ffebee;
    color: #f44336;
}

.total-paid {
    background: #e8f5e8;
    color: #4caf50;
}

.total-team {
    background: #f5f5f5;
    color: #333;
}

.search-section {
    padding: 20px;
}

.search-container {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 5px;
}

.search-icon {
    padding: 0 15px;
    color: #666;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 5px;
    outline: none;
    font-size: 14px;
}

.search-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.team-table {
    padding:  20px 20px;
}


.iconlogo {
    width:100%
}

.table-header {
    margin-bottom: 20px;
}

.tab-buttons {
    display: flex;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 5px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .tab-btn.active {
        background: #f44336;
        color: white;
    }

.table-content {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 2fr;
    border-bottom: 1px solid #eee;
}

    .table-row:last-child {
        border-bottom: none;
    }

.table-cell {
    padding: 15px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

    .table-cell.free {
        background: #ffebee;
        color: #f44336;
    }

    .table-cell.paid {
        background: #e8f5e8;
        color: #4caf50;
    }

    .table-cell.total {
        background: #f5f5f5;
        color: #333;
    }

/* Business Services */
.business-services {
    padding: 20px;
    margin-bottom: 20px; /* Reduced from 100px since we have container padding */
}

    .business-services h3 {
        font-size: 18px;
        color: #333;
        margin-bottom: 20px;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.service-item {
    text-align: center;
    padding: 20px 10px;
    background: #f9f9f9;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

    .service-item:hover {
        transform: translateY(-2px);
    }

    .service-item i {
        font-size: 24px;
        color: #4CAF50;
        margin-bottom: 10px;
        display: block;
    }

    .service-item span {
        font-size: 12px;
        color: #666;
    }

/* App Promo */
.app-promo {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    margin: 20px;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px; /* Reduced from 100px since we have container padding */
}

.promo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-text h2 {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.promo-text h1 {
    font-size: 24px;
    color: #2c5aa0;
    font-weight: bold;
    margin-bottom: 5px;
}

.promo-text p {
    font-size: 14px;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 15px;
}

.promo-badge {
    position: absolute;
    top: 20px;
    right: 80px;
    background: #ff6b6b;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 10px;
}

    .promo-badge .percentage {
        font-size: 18px;
        font-weight: bold;
        display: block;
    }

.promo-phone {
    position: absolute;
    right: 10px;
    top: 20px;
}

    .promo-phone img {
        width: 80px;
        height: auto;
    }

/* Floating Action Button */
.fab {
   
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    transition: transform 0.2s;
}

    .fab:hover {
        transform: scale(1.1);
    }

/* Responsive Design */
@media (max-width: 414px) {
    .container {
        max-width: 100%;
    }

    .bottom-nav {
        max-width: 100%;
    }
    
    /* Force all elements to respect mobile width */
    * {
        max-width: 100% !important;
    }
    
    /* Override Bootstrap and other framework containers */
    .container-fluid,
    .container,
    .row,
    [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (min-width: 415px) {
    body {
        background: #f0f0f0;
      
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        padding: 20px 0;
    }
    
    /* Ensure consistent width on larger screens */
    .container,
    .auth-container,
    .main-content {
        max-width: 414px !important;
        width: 414px !important;
    }
}

/* Additional utility classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.p-20 {
    padding: 20px;
}

/* Width consistency utilities */
.full-width {
    width: 100% !important;
    max-width: 414px !important;
    margin: 0 auto !important;
}

/* Common page elements width enforcement */
form,
table,
.form-group,
.input-group,
.btn-group,
.card,
.panel,
.well,
.alert,
.modal-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Prevent any element from exceeding container width */
img,
video,
iframe,
object,
embed {
    max-width: 100% !important;
    height: auto !important;
}

/* Table responsiveness */
table {
    width: 100% !important;
    table-layout: fixed !important;
}

th, td {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Additional styles for new pages */

/* Back button styles */
.back-btn, .back-button {
    font-size: 20px;
    color: #666;
    cursor: pointer;
}

    .back-btn a, .back-button a {
        color: #666;
        text-decoration: none;
    }

.back-button {
    margin-bottom: 20px;
}

/* Help page styles */
.help-content {
    padding: 20px;
    margin-bottom: 20px; /* Reduced from 100px since we have container padding */
}

.help-header {
    text-align: center;
    margin-bottom: 30px;
}

    .help-header h1 {
        font-size: 24px;
        color: #333;
        margin-bottom: 10px;
    }

    .help-header p {
        color: #666;
        font-size: 14px;
    }

.faq-section {
    margin-bottom: 30px;
}

    .faq-section h2 {
        font-size: 18px;
        color: #333;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #4CAF50;
    }

.faq-item {
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .faq-question:hover {
        background: #f0f0f0;
    }

    .faq-question h3 {
        font-size: 16px;
        color: #333;
        margin: 0;
    }

    .faq-question i {
        color: #666;
        transition: transform 0.2s;
    }

.faq-answer {
    padding: 15px;
    background: white;
    display: none;
}

    .faq-answer p {
        color: #666;
        line-height: 1.6;
        margin: 0;
    }

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.contact-section {
    margin-bottom: 30px;
}

    .contact-section h2 {
        font-size: 18px;
        color: #333;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #4CAF50;
    }

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.contact-info h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.contact-info p {
    font-size: 14px;
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 3px;
}

.contact-info span {
    font-size: 12px;
    color: #666;
}

.help-actions {
    display: flex;
    gap: 15px;
}

.help-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

    .help-btn.primary {
        background: #4CAF50;
        color: white;
    }

    .help-btn.secondary {
        background: #f0f0f0;
        color: #333;
    }

/* Policy pages styles */
.policy-content {
    padding: 20px;
    margin-bottom: 20px; /* Reduced from 100px since we have container padding */
}

.policy-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #4CAF50;
}

    .policy-header h1 {
        font-size: 24px;
        color: #333;
        margin-bottom: 10px;
    }

.last-updated {
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.policy-section {
    margin-bottom: 25px;
}

    .policy-section h2 {
        font-size: 18px;
        color: #333;
        margin-bottom: 15px;
        padding-left: 10px;
        border-left: 4px solid #4CAF50;
    }

    .policy-section p {
        color: #666;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .policy-section ul {
        margin-left: 20px;
        margin-bottom: 15px;
    }

    .policy-section li {
        color: #666;
        line-height: 1.6;
        margin-bottom: 8px;
    }

.contact-info {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

    .contact-info p {
        margin-bottom: 8px;
        color: #333;
    }

    .contact-info strong {
        color: #4CAF50;
    }

/* Forgot password page styles */
.subtitle {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

/* Enhanced mobile responsiveness */
@media (max-width: 375px) {
    .auth-container {
        padding: 30px 20px;
    }

    .help-actions {
        flex-direction: column;
    }

    .stats-row {
        flex-direction: column;
        gap: 10px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Loading spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.2s ease-in-out;
}

/* Focus states for accessibility */
input:focus, button:focus, a:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #45a049;
    }

/* Print styles */
@media print {
    .header, .bottom-nav, .fab {
        display: none;
    }

    .container {
        box-shadow: none;
        max-width: 100%;
    }
}

/* My Cards Page Styles */
.my-cards-page {
    padding: 0;
    margin: 0;
}

.cards-header {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 25px 20px;
    margin: -20px -20px 25px -20px;
    border-radius: 0 0 25px 25px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.header-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.header-text h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.header-text p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.wallet-balance {
    margin-top: 15px;
}

.balance-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.balance-card i {
    font-size: 20px;
    color: #fff;
}

.balance-info {
    display: flex;
    flex-direction: column;
}

.balance-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.balance-amount {
    font-size: 18px;
    font-weight: bold;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 5px;
}

.package-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #45a049);
}

.card-gradient-1::before {
    background: linear-gradient(90deg, #4CAF50, #45a049);
}

.card-gradient-2::before {
    background: linear-gradient(90deg, #2196F3, #1976D2);
}

.card-gradient-3::before {
    background: linear-gradient(90deg, #FF9800, #F57C00);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.card-badge {
    position: relative;
}

.badge-popular,
.badge-premium,
.badge-exclusive {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-popular {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.badge-premium {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.badge-exclusive {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.card-content {
    margin-bottom: 25px;
}

.package-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
}

.price-section {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 20px;
}

.currency {
    font-size: 18px;
    color: #4CAF50;
    font-weight: bold;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: #4CAF50;
    font-size: 14px;
}

.feature-item span {
    font-size: 14px;
    color: #666;
}

.card-footer {
    margin-top: 25px;
}

.buy-now-btn {
    width: 100%;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.buy-now-btn:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.buy-now-btn:active {
    transform: translateY(0);
}

.no-cards-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-cards-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #ccc;
}

.no-cards-message h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.no-cards-message p {
    font-size: 14px;
    color: #999;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    text-align: center;
    color: white;
}

.spinner-circle {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.spinner p {
    font-size: 16px;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments for cards */
@media (min-width: 375px) {
    .cards-grid {
        padding: 0 10px;
    }
}

@media (max-width: 374px) {
    .package-card {
        padding: 20px;
    }
    
    .price {
        font-size: 28px;
    }
    
    .package-name {
        font-size: 18px;
    }
}
