@import url('https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');


:root {
    --primary-color: #667eea;        /* Purple-blue from hero */
    --secondary-color: #4ecdc4;      /* Teal accent from hero */
    --dark-color: #2C3E50;           /* Keep the same dark navy */
    --light-color: #FFFFFF;          /* Pure white */
    --accent-color: #764ba2;         /* Deep purple from hero gradient */
    --gray-color: #6C757D;           /* Keep neutral gray */
    --light-gray: #F8F9FA;           /* Light background */
    --gradient-bg: linear-gradient(135deg, #FFFFFF 0%, #E8EDFF 50%, #E0F2F1 100%);
    --background-image: linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px),
                        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    --overlay-color: rgba(102, 126, 234, 0.6);
    --border-radius: 12px;
    --box-shadow: 0 8px 25px rgba(102, 126, 234, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Zain','Nunito', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-gray);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: white;
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Pacifico', 'Nunito', 'Calibri';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
}

.logo i {
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
}


.logo-btn {
    font-family: 'Pacifico', 'Nunito', 'Calibri';
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    border: 3px solid var(--light-gray);
    border-radius: 35px !important;
    min-width: 250px !important;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    margin-top: auto;
}

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

.footer-brand {
    font-family: 'Pacifico', 'Nunito', 'Calibri';
    font-size: 1.5rem;
    font-weight: 400;
}

.footer-brand i {
    margin-right: 8px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--dark-color);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--gray-color);
    color: white;
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px);
    padding: 40px 0;
}

.auth-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    width: 100%;
    max-width: 500px;
}

.auth-card h1 {
    margin-bottom: 20px;
    text-align: center;
}

.auth-card h1 i {
    margin-right: 10px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-text {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--gray-color);
}

/* Alert Styles */
.alert {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.alert.error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.alert.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

/* Flash Message */
.flash-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

.flash-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.flash-message.error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.close-flash {
    cursor: pointer;
    margin-left: 15px;
    font-weight: bold;
}

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

/* Dashboard Styles */
.dashboard-container {
    padding: 40px 0;
}

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

.dashboard-header h1 {
    font-size: 2rem;
}

.dashboard-header h1 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.dashboard-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    margin-bottom: 30px;
}

.dashboard-card h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.dashboard-card h2 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

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

.current-image {
    margin-bottom: 15px;
    text-align: center;
}

.current-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid var(--light-gray);
}

.current-image span {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.amount-option {
    display: flex;
    flex-direction: column;
}

.amount-option label {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.analytics-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Chai Page Styles */
.chai-page-container {
    padding: 40px 0;
}

.chai-page {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.chai-profile {
    text-align: center;
}

.profile-image {
    margin-bottom: 20px;
}

.profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light-gray);
    margin: 0 auto;
}

.profile-image.default {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 5rem;
    color: var(--gray-color);
}

.chai-profile h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.bio {
    color: var(--dark-color);
    margin-bottom: 30px;
    text-align: left;
    padding: 0 20px;
}

.chai-payment {
    border-left: 1px solid var(--light-gray);
    padding-left: 40px;
}

.chai-payment h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.amount-option {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.amount-option:hover {
    border-color: var(--secondary-color);
}

.amount-option.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.custom-amount {
    margin-bottom: 30px;
}

.custom-amount label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.custom-amount input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.qr-code-container {
    text-align: center;
    margin-top: 30px;
}

#qr-code-placeholder {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 40px;
    color: var(--gray-color);
}

#qr-code-display img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
}

.instruction {
    margin-top: 15px;
    font-weight: 600;
}

.upi-id {
    margin-top: 10px;
    background-color: var(--light-gray);
    padding: 10px;
    border-radius: var(--border-radius);
    font-family: monospace;
}


.amount-options button span {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-top: 5px;
}

.amount-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: var(--light-gray);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.amount-option:hover {
    border-color: var(--secondary-color);
}

.amount-option.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.amount-option.active span {
    color: rgba(255,255,255,0.8);
}


/* Responsive Styles */
@media (max-width: 768px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .chai-page {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .chai-payment {
        border-left: none;
        border-top: 1px solid var(--light-gray);
        padding-left: 0;
        padding-top: 30px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .amount-options {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Landing Page Styles */
.landing-page {
    overflow-x: hidden;
}

/* Modern Hero with Better Positioning */
/* Modern Hero with Better Positioning */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Animated background shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 120%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 50%;
    animation: slowRotate 20s linear infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(102, 126, 234, 0.1));
    border-radius: 50%;
    animation: slowRotate 25s linear infinite reverse;
    z-index: 1;
}

/* Grid pattern overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 30s linear infinite;
    z-index: -1;
}

/* Better content positioning */
.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 3;
}

/* Improved text styling */
.hero h1 {
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero .subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

/* Modern highlight effect */
.hero .highlight {
    color: #4ecdc4;
    position: relative;
    font-weight: bold;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
    border-radius: 1px;
}

/* Enhanced Badge with Icon */
.hero .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 8px 16px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero .badge i {
    color: #4ecdc4;
}

/* Hero Features List */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-features .feature-item i {
    color: #4ecdc4;
    font-size: 1rem;
}

/* Enhanced Social Proof */
.hero .social-proof {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.proof-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-stats .stat-item {
    text-align: center;
}

.proof-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4ecdc4;
    line-height: 1.2;
}

.proof-stats .stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 2px;
}

.proof-text {
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.proof-text i {
    color: #4ecdc4;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.trust-item i {
    color: #4ecdc4;
    font-size: 0.9rem;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Floating Testimonial */
.floating-testimonial {
    position: absolute;
    top: 20px;
    right: -100px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 200px;
    animation: testimonialFloat 4s ease-in-out infinite;
    z-index: 5;
}

.testimonial-content p {
    margin: 0 0 8px 0;
    font-size: 0.8rem;
    color: #333;
    line-height: 1.4;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #667eea;
}

.rating {
    display: flex;
    gap: 2px;
}

.rating i {
    color: #ffc107;
    font-size: 0.7rem;
}

/* Live Activity Indicator */
.live-activity {
    position: absolute;
    bottom: -20px;
    right: -80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: activityPulse 2s ease-in-out infinite;
    z-index: 5;
}

.activity-dot {
    width: 8px;
    height: 8px;
    background: #27ae60;
    border-radius: 50%;
    animation: dotBlink 1.5s ease-in-out infinite;
}

/* Animations for new elements */
@keyframes testimonialFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-8px) translateX(5px);
    }
}

@keyframes activityPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes dotBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .hero-features {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-features .feature-item {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .proof-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .proof-stats .stat-item {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .proof-stats .stat-number {
        font-size: 1.2rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .floating-testimonial {
        display: none; /* Hide on mobile for better UX */
    }
    
    .live-activity {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        align-self: center;
    }
}

/* Modern button styling */
.hero .cta-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero .btn-primary {
    background: #fff;
    color: #667eea;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    color: #667eea;
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Social proof positioning */
.hero .social-proof {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* Hero image better positioning */
.hero-image {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-image img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Floating dots effect */
.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(circle at 20% 20%, #4ecdc4 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 15px 15px, 10px 10px;
    animation: floatDots 8s ease-in-out infinite;
    z-index: -1;
}

/* Animations */
@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes gridMove {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(40px, 40px);
    }
}

@keyframes floatDots {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 1;
    }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .hero .cta-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-image img {
        width: 200px;
    }
    
    /* Reduce floating effects on mobile */
    .hero .hero-image-wrapper::before,
    .hero .hero-image-wrapper::after {
        display: none;
    }
    
    .hero-image::before {
        width: 80px;
        height: 80px;
        top: -15px;
        right: -15px;
    }
    
    .hero::before,
    .hero::after {
        opacity: 0.5;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: white;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--light-gray);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
}

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

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.quote::before,
.quote::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.author {
    font-weight: bold;
    color: var(--dark-color);
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: var(--gradient-bg);
    color: white;
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 20px;
}

.final-cta p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}


/* Create Your Own Button */
.create-your-own {
    margin: 30px auto;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

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

.create-your-own .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.create-your-own .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}


/* UPI Apps Section */
.upi-apps {
    margin-top: 20px;
    text-align: center;
}

.upi-apps p {
    margin-bottom: 10px;
    font-weight: 600;
}

.upi-app-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.upi-app-icons img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.upi-app-icons img:hover {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .upi-app-icons img {
        width: 40px;
        height: 40px;
    }
}


.share-embed-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.url-box {
    display: flex;
    margin: 15px 0;
}

.url-box input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-family: monospace;
}

.url-box button {
    border-radius: 0 4px 4px 0;
    white-space: nowrap;
}

.social-share-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-btn {
    padding: 8px 15px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.twitter { background: #1DA1F2; }
.social-btn.facebook { background: #4267B2; }
.social-btn.whatsapp { background: #25D366; }
.social-btn.linkedin { background: #0077B5; }

.embed-code-section {
    margin-top: 25px;
}

.embed-option {
    margin-bottom: 20px;
}

.embed-option label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.embed-code-section textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    resize: none;
    margin-bottom: 8px;
    min-height: 80px;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Add vertical spacing between form elements */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

/* Optional: remove margin from the last form group (usually the button) */
.contact-form .form-group:last-child {
    margin-bottom: 0;
}

.contact-info {
    padding: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/*Static pages*/

.static-page {
    padding: 60px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.page-header .subtitle {
    color: var(--gray-color);
    font-size: 1.2rem;
}

.about-section, .team-section, .values-section {
    margin-bottom: 60px;
}

.mission-stats {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.stat {
    text-align: center;
    padding: 20px;
    min-width: 150px;
}

.stat .number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.value i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.static-page section {
    margin-bottom: 40px;
}

.static-page h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.static-page ul {
    padding-left: 20px;
}

.static-page li {
    margin-bottom: 8px;
}


/* Bio Templates */
.bio-templates {
    position: relative;
    margin-top: 10px;
}

.template-dropdown {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.template-dropdown.show {
    display: block;
}

.template-option {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.template-option:hover {
    background: #f8f9fa;
}

.template-option:last-child {
    border-bottom: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Dashboard Layout */
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    /* Form Elements */
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
    }
    
    .amount-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* Profile Image */
    .current-image img {
        max-width: 100%;
        height: auto;
    }
    
    /* Share Section */
    .share-embed-section {
        padding: 15px;
    }
    
    .url-box {
        flex-direction: column;
    }
    
    .url-box input {
        border-radius: 4px;
        margin-bottom: 5px;
    }
    
    .url-box button {
        border-radius: 4px;
        width: 100%;
    }
    
    .social-share-buttons {
        justify-content: center;
    }
    
    /* Bio Templates */
    .template-dropdown {
        max-width: 100%;
    }
    
    /* Analytics Cards */
    .analytics-stats {
        grid-template-columns: 1fr;
    }
    
    /* Embed Sections */
    .embed-option textarea {
        font-size: 14px;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .dashboard-card {
        padding: 15px;
    }
    
    .social-share-buttons a {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .embed-option button {
        width: 100%;
    }
}




/*new css*/


/* Badge styles */
.badge {
    display: inline-block;
    background-color: rgba(160, 82, 45, 0.1);
    color: var(--light-color);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(160, 82, 45, 0.2);
}

/* Highlight text in hero section */
.highlight {
    color: var(--accent-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 193, 7, 0.3);
    border-radius: 2px;
}

/* Social proof in hero section */
.social-proof {
    margin-top: 20px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--light-color);
    border-top: 1px dashed var(--secondary-color);
}

.social-proof strong {
    color: var(--light-gray);
}

/* Animated hero image */
.hero-image .animated {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Floating card styles */
.floating-card {
    position: absolute;
    right: -30px;
    bottom: 30px;
    width: 180px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    animation: fadeInRight 0.8s ease-out;
    border: 1px solid var(--light-gray);
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.card-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
}

.card-content {
    padding: 8px 0;
}

.support-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 12px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 13px;
}

.support-item:last-child {
    border-bottom: none;
}

.support-item .name {
    color: var(--dark-color);
    font-weight: 500;
}

.support-item .amount {
    color: var(--primary-color);
    font-weight: 600;
}

/* Section subtitle */
.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-top: -10px;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Step icons */
.step-icon {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
    background-color: var(--light-gray);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 2px 8px rgba(160, 82, 45, 0.2);
}

/* Example showcase */
.example-showcase {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.mobile-preview {
    position: relative;
    width: 280px;
    height: 550px;
    background-color: var(--dark-color);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(62, 39, 35, 0.2);
}

.mobile-screen {
    background-color: white;
    height: 100%;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.mobile-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Feature grid improvements */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(62, 39, 35, 0.15);
}

.feature-card.highlighted {
    border: 2px solid var(--accent-color);
    background-color: rgba(255, 248, 225, 0.6);
}

.feature-icon {
    color: var(--primary-color);
    font-size: 30px;
    margin-bottom: 15px;
}

.highlighted .feature-icon {
    color: var(--accent-color);
}

/* Comparison in feature card */
.comparison {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed var(--secondary-color);
}

.comp-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
}

.comp-label {
    color: var(--gray-color);
}

.comp-value {
    font-weight: 600;
    color: var(--dark-color);
}

/* Testimonial improvements */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--light-gray);
}

.testimonial-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.02);
}

.testimonial-image {
    height: 120px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 16px;
}

.quote {
    flex-grow: 1;
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.5;
}

.author {
    margin-top: auto;
}

.author strong {
    display: block;
    color: var(--dark-color);
    font-size: 16px;
}

.author span {
    color: var(--gray-color);
    font-size: 14px;
}

/* Counter stats */
.counter-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 40px;
    padding: 30px 0;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

.counter-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.counter-label {
    color: var(--gray-color);
    font-size: 16px;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-item p {
    color: var(--gray-color);
    line-height: 1.5;
}

/* Improved CTA section */
.final-cta {
    background-color: var(--light-color);
    padding: 60px 0;
}

.final-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.final-cta .container h2 {
    color: var(--dark-color);
}

.final-cta .container p {
    color: var(--gray-color);
}

.cta-content {
    flex: 1;
}

.cta-image {
    flex: 1;
    max-width: 450px;
}

.cta-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.cta-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: rgba(160, 82, 45, 0.1);
}

.cta-guarantee {
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-guarantee i {
    color: var(--accent-color);
}

/* Media query for responsive design */
@media (max-width: 768px) {
    .final-cta .container {
        flex-direction: column;
    }
    
    .cta-image {
        order: -1;
        max-width: 100%;
    }
    
    .counter-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        display: none;
    }
}


/* Support Us Section */
.support-us {
    background-color: #f9f5f0;
    padding: 60px 0;
    text-align: center;
    margin: 40px 0 0 0;
}

.support-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #333;
}

.support-content .subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
}

.support-button {
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.support-button:hover {
    transform: scale(1.05);
}

.support-button a {
    display: inline-block;
}


/*Photo Frame*/
.photo-frame-container {
    display: inline-block;
    position: relative;
    padding: 16px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.12);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.photo-frame-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.photo-frame-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #667eea, #4ecdc4, #764ba2);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.8;
    transition: opacity 0.4s ease;
    will-change: opacity;
}

.photo-frame-container:hover::before {
    opacity: 1;
}

.photo-frame-container img {
    width: 100%;
    max-width: 600px;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.photo-frame-container:hover img {
    transform: scale(1.02);
}

/* Optional: Add a subtle pulsing effect on hover */
@keyframes subtlePulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.photo-frame-container:hover::before {
    animation: subtlePulse 3s ease-in-out infinite;
}



/*Deletion Modal CSS*/

/* Danger Zone Styling */
.danger-zone {
    border-left: 4px solid #dc3545;
}

.danger-content {
    padding: 20px;
    background-color: #fff8f8;
    border-radius: 8px;
}

.warning-message {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #ffe6e6;
    border: 1px solid #ffcccc;
    border-radius: 6px;
}

.warning-message ul {
    margin: 10px 0 0 20px;
}

.warning-message li {
    margin-bottom: 5px;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

.modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.modal-body {
    padding: 20px;
}

.confirmation-check {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
}

.confirmation-check label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.confirmation-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

#confirmDeleteBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================================
   USER DASHBOARD — REDESIGN
   ============================================================ */

/* ── Tokens ── */
.dashboard-container {
    --db-surface:   #ffffff;
    --db-bg:        #f6f6f8;
    --db-border:    #ebebeb;
    --db-radius:    12px;
    --db-shadow:    0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    --db-primary:   #667eea;
    --db-success:   #16a34a;
    --db-danger:    #dc2626;
    --db-amber:     #d97706;
    --db-text:      #0f0f0f;
    --db-muted:     #6b7280;
    --db-hint:      #9ca3af;
    padding: 2.5rem 0 4rem;
    background: var(--db-bg);
    min-height: calc(100vh - 60px);
}

/* ── Topbar ── */
.db-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.db-title { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.03em; color: var(--db-text); margin: 0 0 0.2rem; }
.db-subtitle { font-size: 0.875rem; color: var(--db-muted); margin: 0; }
.db-topbar-actions { display: flex; gap: 0.5rem; align-items: center; }

/* ── Buttons ── */
.db-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.55rem 1.1rem; border-radius: 8px;
    font-size: 0.875rem; font-weight: 600; cursor: pointer;
    border: none; transition: all 0.15s; text-decoration: none;
    white-space: nowrap; font-family: inherit;
}
.db-btn-primary  { background: var(--db-primary); color: #fff; }
.db-btn-primary:hover  { background: #5a6fd6; color: #fff; }
.db-btn-outline  { background: #fff; color: var(--db-text); border: 1px solid var(--db-border); }
.db-btn-outline:hover  { border-color: #aaa; background: #fafafa; }
.db-btn-danger   { background: var(--db-danger); color: #fff !important; }
.db-btn-danger:hover   { background: #b91c1c; color: #fff !important; }
.db-btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8rem; }

/* ── Alert ── */
.db-alert { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.875rem 1rem; border-radius: 8px; font-size: 0.875rem; margin-bottom: 1.25rem; border: 1px solid; }
.db-alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.db-alert ul { margin: 0; padding: 0 0 0 1rem; }

/* ── Stats row ── */
.db-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 2fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.db-stat {
    background: var(--db-surface);
    border: 1px solid var(--db-border);
    border-radius: var(--db-radius);
    padding: 1.125rem 1.25rem;
    display: flex; align-items: center; gap: 0.875rem;
    box-shadow: var(--db-shadow);
}
.db-stat-spark { 
    flex-direction: column; 
    align-items: flex-start; 
    justify-content: center; 
}

/* Add this new rule */
.db-stat-spark canvas {
    width: 100% !important;
    height: 40px !important;
    max-height: 40px;
}

.db-stat-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.9375rem; flex-shrink: 0; }
.db-icon-blue   { background: #eff6ff; color: #2563eb; }
.db-icon-green  { background: #f0fdf4; color: var(--db-success); }
.db-icon-amber  { background: #fffbeb; color: var(--db-amber); }
.db-stat-value { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--db-text); }
.db-stat-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--db-hint); margin-top: 0.2rem; }

/* ── Profile completeness ── */
.db-completeness {
    background: var(--db-surface);
    border: 1px solid var(--db-border);
    border-radius: var(--db-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--db-shadow);
}
.db-completeness-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.625rem; flex-wrap: wrap; gap: 0.5rem; }
.db-completeness-label { font-size: 0.8125rem; font-weight: 600; color: var(--db-text); display: flex; align-items: center; gap: 0.4rem; }
.db-completeness-label i { color: var(--db-primary); }
.db-completeness-hint { font-size: 0.75rem; color: var(--db-muted); }
.db-completeness-done { font-size: 0.75rem; color: var(--db-success); font-weight: 600; }
.db-progress-track { height: 6px; background: #f0f0f0; border-radius: 999px; overflow: hidden; margin-bottom: 0.75rem; }
.db-progress-fill { height: 100%; background: linear-gradient(90deg, #667eea, #764ba2); border-radius: 999px; transition: width 0.6s ease; }
.db-completeness-items { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.db-check-item { font-size: 0.72rem; font-weight: 500; padding: 0.2rem 0.55rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.25rem; border: 1px solid; }
.db-check-item.done { background: #f0fdf4; color: var(--db-success); border-color: #bbf7d0; }
.db-check-item.todo { background: #fafafa; color: var(--db-hint); border-color: #e5e7eb; }

/* ── Grid layout ── */
.db-grid { display: grid; grid-template-columns: 1fr 380px; gap: 1.25rem; align-items: start; }
.db-col-side { display: flex; flex-direction: column; gap: 1.25rem; }

/* ── Card ── */
.db-card { background: var(--db-surface); border: 1px solid var(--db-border); border-radius: var(--db-radius); box-shadow: var(--db-shadow); }
.db-card-header { padding: 1rem 1.375rem; border-bottom: 1px solid var(--db-border); }
.db-card-header h2 { font-size: 0.9375rem; font-weight: 700; color: var(--db-text); margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.db-card-header h2 i { color: var(--db-primary); font-size: 0.875rem; }
.db-card-body { padding: 1.375rem; }
.db-card-danger .db-card-header h2 i { color: var(--db-danger); }

/* ── Form ── */
.db-form { display: flex; flex-direction: column; gap: 1.25rem; }
.db-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.db-form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.db-label { font-size: 0.8rem; font-weight: 600; color: var(--db-text); display: flex; align-items: center; gap: 0.4rem; }
.db-input { width: 100%; padding: 0.6rem 0.875rem; border: 1px solid var(--db-border); border-radius: 8px; font-size: 0.875rem; font-family: inherit; color: var(--db-text); background: #fff; transition: border-color 0.15s, box-shadow 0.15s; outline: none; }
.db-input:focus { border-color: var(--db-primary); box-shadow: 0 0 0 3px rgba(102,126,234,0.12); }
.db-textarea { resize: vertical; min-height: 80px; }
.db-form-hint { font-size: 0.72rem; color: var(--db-hint); }

/* ── Avatar upload ── */
.db-profile-upload { align-items: center; flex-direction: row; gap: 1.25rem; }
.db-avatar-wrap { position: relative; flex-shrink: 0; }
.db-avatar-img, .db-avatar-placeholder { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--db-border); display: block; }
.db-avatar-placeholder { background: #f3f4f6; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #d1d5db; }
.db-avatar-edit { position: absolute; bottom: 0; right: 0; width: 26px; height: 26px; background: var(--db-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; font-size: 0.65rem; border: 2px solid #fff; }
.db-file-hidden { display: none; }

/* ── UPI toggle ── */
.db-upi-toggle { background: none; border: none; cursor: pointer; color: var(--db-hint); padding: 0; font-size: 0.8rem; transition: color 0.15s; }
.db-upi-toggle:hover { color: var(--db-text); }

/* ── Amounts ── */
.db-amounts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.db-amount-item { display: flex; flex-direction: column; gap: 0.3rem; }
.db-amount-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--db-hint); }
.db-amount-input-wrap { position: relative; }
.db-currency { position: absolute; left: 0.7rem; top: 50%; transform: translateY(-50%); font-size: 0.8rem; color: var(--db-muted); pointer-events: none; }
.db-amount-input { padding-left: 1.75rem !important; }

/* ── Bio templates ── */
.db-bio-templates { position: relative; margin-top: 0.35rem; }
.db-template-trigger { background: none; border: 1px dashed var(--db-border); color: var(--db-muted); padding: 0.3rem 0.7rem; border-radius: 6px; font-size: 0.78rem; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; font-family: inherit; transition: all 0.15s; }
.db-template-trigger:hover { border-color: var(--db-primary); color: var(--db-primary); }
.db-template-dropdown { display: none; position: absolute; bottom: calc(100% + 6px); top: auto; left: 0; background: #fff; border: 1px solid var(--db-border); border-radius: 10px; box-shadow: 0 -4px 24px rgba(0,0,0,0.1); z-index: 200; min-width: 220px; overflow: hidden; }
.db-template-dropdown.open { display: block; }
.db-template-option { padding: 0.7rem 1rem; font-size: 0.8125rem; cursor: pointer; color: var(--db-text); border-bottom: 1px solid #f5f5f5; transition: background 0.1s; }
.db-template-option:last-child { border-bottom: none; }
.db-template-option:hover { background: #f9f9fb; }

/* ── Share card ── */
.db-url-box { display: flex; gap: 0; margin-bottom: 1rem; border: 1px solid var(--db-border); border-radius: 8px; overflow: hidden; }
.db-url-input { flex: 1; padding: 0.55rem 0.875rem; border: none; font-size: 0.8rem; font-family: monospace; color: var(--db-muted); background: #fafafa; outline: none; min-width: 0; }
.db-url-box .db-btn { border-radius: 0; border: none; border-left: 1px solid var(--db-border); }
.db-social-row { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.db-social-btn { width: 38px; height: 38px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.875rem; cursor: pointer; border: 1px solid var(--db-border); background: var(--db-surface); color: var(--db-muted); transition: all 0.15s; text-decoration: none; }
.db-social-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.db-tw:hover  { background: #000; color: #fff; border-color: #000; }
.db-wa:hover  { background: #25d366; color: #fff; border-color: #25d366; }
.db-li:hover  { background: #0077b5; color: #fff; border-color: #0077b5; }
.db-qr:hover  { background: var(--db-primary); color: #fff; border-color: var(--db-primary); }
.db-embed-details { margin-top: 0.25rem; }
.db-embed-summary { font-size: 0.8rem; color: var(--db-muted); cursor: pointer; display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0; user-select: none; list-style: none; }
.db-embed-summary:hover { color: var(--db-text); }
.db-embed-body { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.875rem; }
.db-embed-item label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--db-hint); display: block; margin-bottom: 0.35rem; }
.db-code-row { display: flex; gap: 0.4rem; }
.db-code-box { flex: 1; padding: 0.5rem 0.7rem; font-family: monospace; font-size: 0.72rem; border: 1px solid var(--db-border); border-radius: 6px; background: #f9f9fb; resize: none; height: 56px; outline: none; color: var(--db-muted); }
.db-copy-btn { padding: 0.4rem 0.6rem; border: 1px solid var(--db-border); border-radius: 6px; background: #fff; cursor: pointer; font-size: 0.75rem; color: var(--db-muted); flex-shrink: 0; align-self: flex-start; transition: all 0.15s; }
.db-copy-btn:hover { border-color: var(--db-primary); color: var(--db-primary); }

/* ── Danger zone ── */
.db-danger-text { font-size: 0.85rem; color: var(--db-muted); margin-bottom: 1rem; line-height: 1.5; }

/* ── Delete modal ── */
.db-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 9999; align-items: center; justify-content: center; }
.db-modal-overlay.open { display: flex; }
.db-modal { background: #fff; border-radius: 14px; max-width: 440px; width: 92%; box-shadow: 0 24px 48px rgba(0,0,0,0.15); animation: dbModalIn 0.2s ease-out; }
@keyframes dbModalIn { from { transform: scale(0.96) translateY(8px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.db-modal-header { padding: 1.125rem 1.375rem; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; justify-content: space-between; }
.db-modal-header h3 { font-size: 1rem; font-weight: 700; color: var(--db-danger); display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.db-modal-close { background: none; border: none; font-size: 1.375rem; cursor: pointer; color: #aaa; line-height: 1; }
.db-modal-close:hover { color: var(--db-text); }
.db-modal-body { padding: 1.375rem; font-size: 0.875rem; color: var(--db-muted); }
.db-confirm-label { display: flex; align-items: flex-start; gap: 0.625rem; margin-top: 1rem; font-size: 0.85rem; color: var(--db-text); cursor: pointer; line-height: 1.5; }
.db-modal-footer { padding: 1rem 1.375rem; border-top: 1px solid #f0f0f0; display: flex; justify-content: flex-end; gap: 0.625rem; }
#confirmDeleteBtn:disabled { opacity: 0.4; cursor: not-allowed; }

/* 1. Allow the card body to overflow */
.db-card-body {
    overflow: visible;   /* was default, but check your card */
}

/* 2. Make the dropdown open UPWARD when near the bottom */
.db-bio-templates {
    position: relative;
}

.db-template-dropdown {
    position: absolute;
    bottom: calc(100% + 6px);   /* ← flip: open upward */
    top: auto;
    left: 0;
    z-index: 200;
    max-height: 260px;
    overflow-y: auto;
    /* rest of your existing styles */
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .db-grid { grid-template-columns: 1fr; }
    .db-col-side { flex-direction: row; flex-wrap: wrap; }
    .db-col-side .db-card { flex: 1; min-width: 280px; }
}
@media (max-width: 768px) {
    .db-stats-row { grid-template-columns: 1fr 1fr; }
    .db-stat-spark { grid-column: span 2; }
    .db-form-row { grid-template-columns: 1fr; }
    .db-col-side { flex-direction: column; }
    .db-topbar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .db-stats-row { grid-template-columns: 1fr 1fr; gap: 0.625rem; }
    .db-amounts-grid { grid-template-columns: 1fr; }
    .db-profile-upload { flex-direction: column; align-items: flex-start; }
}