﻿@font-face {
    font-family: 'GoogleSans';
    src: url('../fonts/GoogleSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GoogleSans';
    src: url('../fonts/GoogleSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'GoogleSans';
    src: url('../fonts/GoogleSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'BalooChettan2';
    src: url('../fonts/BalooChettan2-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

:root {
    --primary: #10B981;
    --secondary: #34D399;
    --accent: #FBBF24;
    --dark: #064E3B;
    --light: #F0FDF4;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E2E8F0;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --success: #059669;
    --warning: #F59E0B;
    --danger: #EF4444;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(16, 185, 129, 0.15), 0 10px 10px -5px rgba(16, 185, 129, 0.1);
}

.premium-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    top: -50px;
    right: -100px;
    filter: blur(40px);
}

.blob-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.05) 0%, transparent 70%);
    bottom: -100px;
    left: -150px;
    filter: blur(50px);
}

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

body {
    font-family: 'GoogleSans', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
}

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

header {
    padding: 24px 0;
}

.logo-section-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-right {
    display: flex;
    align-items: center;
}

.status-badge {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(16, 185, 129, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.status-badge span {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulseHeader 2s infinite;
}

@keyframes pulseHeader {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.brand-badge {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.25);
    position: relative;
    overflow: hidden;
}

.brand-badge::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    left: -100%;
    top: 0;
    transition: 0.5s;
}

.logo-section-premium:hover .brand-badge::after {
    left: 100%;
}

.brand-icon {
    width: 26px;
    height: 26px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 2px;
}

/* Slider Style */
.slider-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
}

.slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
}

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

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s;
}

.dot.active {
    width: 20px;
    background: var(--white);
    border-radius: 10px;
}

/* Organic Total Card */
.organic-total-card {
    position: relative;
    padding: 40px 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.organic-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    /* Random organic shape using border-radius */
    border-radius: 60% 40% 70% 30% / 30% 60% 40% 70%;
    animation: shapeMorph 8s infinite alternate ease-in-out;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.25);
    z-index: 1;
}

.organic-shape::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    top: -10%;
    left: -10%;
    border-radius: inherit;
    z-index: -1;
}

.organic-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

@keyframes shapeMorph {
    0% {
        border-radius: 60% 40% 70% 30% / 30% 60% 40% 70%;
        transform: scale(1) rotate(0deg);
    }

    50% {
        border-radius: 40% 60% 30% 70% / 65% 35% 65% 35%;
        transform: scale(1.05) rotate(2deg);
    }

    100% {
        border-radius: 70% 30% 60% 40% / 40% 70% 30% 60%;
        transform: scale(1) rotate(-2deg);
    }
}

.currency-symbol {
    font-size: 28px;
    opacity: 0.8;
    margin-right: 4px;
}

.stats-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-value {
    font-size: 40px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Donate Button */
.btn-donate {
    width: 100%;
    background: linear-gradient(135deg, #10B981, #059669);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.btn-donate:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 30px rgba(16, 185, 129, 0.4);
}

.btn-donate:active {
    transform: scale(0.98);
}

/* Action Tiles */
.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.quick-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.action-tile {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.action-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.action-tile.active {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border-color: rgba(255, 255, 255, 0.5);
    transform: none;
}

.action-tile.active .tile-label {
    color: var(--primary) !important;
    font-weight: 800;
}

.action-tile.active .tile-icon {
    background: var(--white) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.03) !important;
}

.action-tile.active .tile-icon i {
    color: var(--primary) !important;
}

.action-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    background: var(--white);
}

.tile-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1.5px solid rgba(0, 0, 0, 0.03);
}

.tile-icon i {
    width: 22px;
    height: 22px;
}

.tile-label {
    font-size: 11px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    color: var(--gray-500);
    transition: color 0.3s;
}

.footer-links-mini {
    text-align: center;
    margin-bottom: 32px;
    color: var(--gray-400);
    font-size: 11px;
}

.footer-links-mini a {
    color: var(--gray-500);
    text-decoration: none;
    margin: 0 6px;
}

.footer-links-mini a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-copy {
    margin-top: 8px;
    font-size: 11px;
    color: var(--gray-400);
}

.profile-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

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

.form-group-mini label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    padding-left: 4px;
}

.mobile-search-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-mobile-search {
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    min-height: 54px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
    transition: all 0.3s;
}

.btn-mobile-search:active {
    transform: scale(0.98);
}

#receipt-mobile,
#receipt-amount-search {
    min-height: 52px;
    background: var(--white);
    border: 1.5px solid var(--gray-100);
    border-radius: 16px;
    padding: 0 16px;
    font-size: 15px;
}

#receipt-mobile:focus,
#receipt-amount-search:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.profile-note {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--gray-400);
}

.screen-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 10px 0;
}

.back-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s;
    color: var(--dark);
}

.back-btn:active {
    transform: scale(0.9);
}

.screen-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.empty-state {
    text-align: center;
    padding: 24px 12px;
    color: #64748b;
    font-size: 13px;
}

/* Modal Style */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: flex-end;
    /* Mobile default */
    justify-content: center;
    z-index: 1000;
    padding: 0;
}

@media (min-width: 640px) {
    .modal-overlay {
        align-items: center;
        padding: 20px;
    }
}

.modal-content {
    width: 100%;
    max-width: 480px;
    background: var(--white);
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    padding: 16px 20px;
    padding-bottom: 30px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
    .modal-content {
        border-radius: 32px;
        transform: scale(0.9) translateY(40px);
        opacity: 0;
    }
}

.modal-overlay.active {
    display: flex;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

@media (min-width: 640px) {
    .modal-overlay.active .modal-content {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

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

.modal-title h2 {
    font-size: 20px;
    font-weight: bold;
}

.modal-title p {
    font-size: 12px;
    color: var(--gray-500);
}

.close-btn {
    width: 36px;
    height: 36px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Form Styling */
.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 6px;
    margin-left: 4px;
}

input {
    width: 100%;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--dark);
    transition: all 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(68, 129, 235, 0.1);
}

.preset-amounts {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.preset-btn {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 12px 0;
    font-weight: bold;
    font-size: 14px;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn.active {
    background: #ecfdf5;
    border: 2px solid var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.preset-btn:active {
    transform: scale(0.96);
}

.btn-submit {
    width: 100% !important;
    background: linear-gradient(135deg, #10B981, #059669) !important;
    color: var(--white) !important;
    border: none !important;
    padding: 16px !important;
    border-radius: var(--radius-md) !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    margin-top: 8px !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 52px !important;
    box-shadow: 0 4px 12px rgba(68, 129, 235, 0.2) !important;
    animation: none !important;
}

.btn-submit:disabled {
    opacity: 0.8 !important;
    cursor: not-allowed !important;
}

.btn-submit:active {
    transform: scale(0.98);
}

.btn-submit:hover {
    opacity: 0.95;
}

.btn-submit span,
.btn-submit div {
    position: relative;
    z-index: 2;
}

.btn-submit::after,
.btn-submit::before {
    display: none !important;
    content: none !important;
}

#submit-loader {
    display: none !important;
    align-items: center;
    justify-content: center;
}

#submit-loader.active-loader {
    display: flex !important;
}

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

.spinner,
.spinner-mini {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite !important;
    display: inline-block;
}

.spinner-mini {
    width: 16px;
    height: 16px;
    border-width: 2px;
    margin-right: 6px;
    vertical-align: middle;
}

.hidden {
    display: none !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.active-step {
    animation: fadeInUp 0.4s ease-out;
}

/* Modal Overlay & Scroll Lock */
body.modal-open {
    overflow: hidden !important;
    height: 100vh;
}

.modal-content {
    max-height: 94vh !important;
    overflow-y: auto !important;
    border-radius: 24px !important;
    max-width: 440px !important;
    padding: 20px !important;
}

/* Receipt Premium Styles */
/* Fully Redesigned Premium Receipt - Ultra Compact Version */
.receipt-premium .receipt-hero {
    text-align: center;
    margin: 2px 0 12px;
}

.receipt-premium .receipt-ok {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #DCFCE7, #BBF7D0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 6px 15px rgba(34, 197, 94, 0.1);
    transform: rotate(45deg);
}

.receipt-premium .receipt-ok i {
    color: #16a34a;
    width: 24px;
    height: 24px;
    stroke-width: 3;
    transform: rotate(-45deg);
}

.receipt-premium .receipt-hero h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0px;
}

.receipt-premium .receipt-hero p {
    color: #64748b;
    font-size: 12px;
}

.receipt-card {
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 18px;
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.receipt-amount-highlight {
    background: linear-gradient(135deg, #f0fdf4, #f8fafc);
    padding: 12px 14px;
    text-align: center;
    border-bottom: 1px dashed #e2e8f0;
}

.receipt-amount-highlight label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 2px;
}

.receipt-amount-highlight .amount-text {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.receipt-details-body {
    padding: 12px 14px;
}

.receipt-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.receipt-group:not(:last-child) {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.receipt-row .label {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.receipt-row .value {
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

.status-chip {
    background: #10B981;
    color: #fff !important;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 10px !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern History Styles */
.history-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    background: var(--white);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.history-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 20px -8px rgba(68, 129, 235, 0.15);
    border-color: rgba(68, 129, 235, 0.3);
}

.history-item:active {
    transform: translateY(-1px) scale(0.99);
}

.history-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.history-icon-wrapper {
    width: 48px;
    height: 48px;
    background: #F0F7FF;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s;
}

.history-item:hover .history-icon-wrapper {
    background: var(--primary);
    color: var(--white);
    transform: rotate(-8deg);
}

.history-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.history-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 500;
}

.history-amount {
    color: var(--success);
    font-weight: 700;
}

.history-date {
    opacity: 0.8;
}

.history-separator {
    width: 4px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 50%;
}

.history-chevron {
    color: var(--gray-300);
    transition: all 0.3s;
}

.history-item:hover .history-chevron {
    color: var(--primary);
    transform: translateX(4px);
}

@keyframes itemIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.history-item {
    animation: itemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.receipt-actions {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    margin-top: 16px;
}

.receipt-home-btn {
    background: #0f172a !important;
}

.btn-poster-download {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: white !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
}

.receipt-download-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.receipt-print-btn {
    flex: 0 0 52px !important;
    width: 52px !important;
    background: var(--white) !important;
    color: var(--dark) !important;
    border: 1px solid var(--gray-200) !important;
    padding: 0 !important;
}

/* Cancel Confirmation Styles */
#step-confirm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 24px !important;
    z-index: 3000;
}

#step-confirm.active-step {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: #ffffff !important;
    z-index: 5000 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    padding: 24px !important;
    margin: 0 !important;
    transform: none;
    width: 100%;
}

.confirm-box {
    text-align: center;
    padding: 10px 0;
    width: 100%;
}

.alert-icon-circle {
    width: 64px;
    height: 64px;
    background: #FFF1F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-secondary {
    flex: 1;
    background: #F1F5F9;
    color: #475569;
    border: none;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

.btn-danger {
    flex: 1;
    background: #EF4444;
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

.modal-content {
    max-height: 96vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Minimal scrollbar */
.modal-content::-webkit-scrollbar,
.active-step::-webkit-scrollbar {
    width: 0px !important;
    display: none !important;
}

/* Payment Section Styling (QR, UPI, Buttons) */
.qr-section {
    padding: 12px 0;
    text-align: center;
}

.qr-container {
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    display: inline-block;
    margin: 16px 0;
}

#qrcode canvas,
#qrcode img {
    margin: 0 auto;
}

.timer-badge {
    background: #FFFBEB;
    border: 1px solid #FEF3C7;
    color: #B45309;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.direct-payment {
    text-align: center;
}

.upi-apps {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.upi-app-btn {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: bold;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.upi-app-btn:hover {
    background: var(--gray-50);
}

.upi-app-btn img {
    width: 20px;
    height: 20px;
}

.btn-verify {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}