/* Victory Drones Fundraising Styles */
/* Shared styles for all pages */

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

/* Typography and Fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.cdnfonts.com/css/colo-pro");

body {
    font-family:
        "Montserrat",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    background: radial-gradient(
        circle at center,
        #07bbdb 0%,
        #1a5f7a 30%,
        #243260 60%,
        #070d20 100%
    );

    min-height: 100vh;
    color: #333;
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;
}

/* Desktop background image */
@media (min-width: 769px) {
    body {
        background-image: url("/images/bg_wide.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
}

/* Layout Components */
.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 40px 20px;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.container-login {
    max-width: 500px;
    width: 100%;
    padding: 40px 20px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 0;
}

.logo {
    width: 20em;
    height: auto;
    max-width: 100%;
    margin: 0 auto 0;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.3));
}

.logo-small {
    width: 150px;
}

.main-title {
    font-family: "Montserrat", sans-serif;
    color: white;
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: white;
    transform: translateX(-3px);
}

/* Card Components */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-large {
    padding: 40px;
}

/* Content Grid */
.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* New Layout Structure */
.content-flex {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 40px;
}

.center-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}
.center-column h2 {
    color: #fff;
    margin: 10px 0;
}

.right-column {
    flex: 0 1 400px;
}

/* Leaderboard Styles */
.leaderboard {
    height: fit-content;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.leaderboard.sidebar {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 380px;
    max-width: calc(50% - 300px);
}

.leaderboard h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    display: none; /* Hide the title for cleaner look */
}

.trophy-icon {
    display: none;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 26px 15px;
    margin-bottom: 19px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.leaderboard-item.first {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.place {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.place.first {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    font-size: 1.3rem;
}

.place.second {
    background: linear-gradient(135deg, #c0c0c0, #b8b8b8);
    color: #fff;
}

.place.third {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    color: #fff;
}

.place.fourth,
.place.fifth {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.company-info {
    flex: 1;
    min-width: 0;
    padding: 8px 0;
}

.company-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: #2d3748;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-subtitle {
    font-size: 0.75rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    bottom: 10px;
    right: 15px;
}

.amount {
    font-weight: 700;
    font-size: 1.15rem;
    color: #2d3748;
    text-align: right;
    white-space: nowrap;
}

/* Progress Section */
.progress-section {
    height: fit-content;
}

.progress-section.centered {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.progress-section.centered h2 {
    text-align: center;
}

.progress-section h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #2d3748;
    text-align: center;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.target-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.progress-stats {
    margin-bottom: 30px;
}

.progress-stats.centered {
    justify-content: space-around;
    margin-bottom: 20px;
}

.progress-stats.centered .stat-row {
    text-align: center;
}

.progress-stats.centered .stat-label,
.progress-stats.centered .stat-value {
    display: block;
}

.stat-row {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1rem;
    color: #718096;
    font-weight: 500;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    width: 100%;
    text-align: center;
    display: inline-block;
}

.raised-amount {
    color: #00a8c7;
}

.target-amount {
    color: #3658a4;
}

.progress-bar-container {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    height: 20px;
    overflow: hidden;
    margin: 25px 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar-container.centered {
    margin: 20px auto;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0abcde, #00d1ff);
    border-radius: 15px;
    transition: width 2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

.progress-percentage {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-top: 15px;
}

.progress-percentage.centered {
    text-align: center;
    margin: 15px 0;
}

.remaining-info {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    text-align: center;
}

.remaining-info.centered {
    text-align: center;
}

.remaining-label {
    font-size: 0.9rem;
    color: #3658a4;
    font-weight: 600;
    margin-bottom: 5px;
}

.remaining-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3658a4;
}

/* QR Codes Section */
.qr-section {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.qr-section.single {
    margin-top: 2rem;
    display: block;
}

.qr-card {
    background: none !important;
    box-shadow: none !important;
    text-align: center;
    animation: slideInUp 1s ease-out;
    border: none !important;
    padding: 0 !important;
}

.qr-card:nth-child(2) {
    animation-delay: 0.2s;
}

.qr-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
}

.qr-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.qr-code {
    width: 180px;
    height: 180px;
    margin: 20px auto;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-code img {
    width: 160px;
    height: 160px;
    border-radius: 8px;
}

.qr-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.qr-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    word-break: break-all;
}

.qr-link:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

/* Form Styles */
.form-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-title-small {
    font-size: 1.5rem;
    justify-content: center;
}

.form-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #38a169, #48bb78);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.form-icon-small {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 6px;
    font-size: 14px;
}

.form-description {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: #2d3748;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 10px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-input.amount {
    font-size: 1.3rem;
    font-weight: 600;
    color: #38a169;
}

.currency-symbol {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 600;
    color: #718096;
    pointer-events: none;
}

.amount-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amount-input-wrapper .form-input {
    padding-left: 70px;
}

.amount-controls {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.amount-btn {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    border-radius: 4px;
    transition: all 0.2s;
}

.amount-btn:hover:not(:disabled) {
    background: #e0e0e0;
}

.amount-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.amount-presets {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.preset-btn {
    padding: 8px 16px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.preset-btn:hover {
    border-color: #333;
    background: #f8f8f8;
}

.preset-btn.active {
    background: #333;
    color: white;
    border-color: #333;
}

.quick-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.quick-amount-btn {
    padding: 12px 16px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.05);
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

.quick-amount-btn:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.quick-amount-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.submit-btn {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #4779ac, #161c38);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;

    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin: 20px 0;
}
.golden-btn {
    width: 100%;
    padding: 28px 24px;
    background: linear-gradient(109deg, #d7aa56, #cd9f4b, #fffae2, #ce9f47);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;

    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    margin: 20px 0;
}
.silver-btn {
    width: 100%;
    padding: 28px 24px;

    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(109deg, #b7c3c4, #ffffff, #9babad);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 3px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    margin: 60px 0;
}

.silver-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(109deg, #c4d0d1, #ffffff, #adbcbe);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.silver-btn:active {
    transform: translateY(0);
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.12),
        0 2px 5px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #718096;
    font-size: 0.9rem;
}

/* Checkbox styling */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #2d3748;
    user-select: none;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    cursor: pointer;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-input:checked {
    accent-color: #4a5568;
    transform: scale(1.05);
}

.checkbox-text {
    flex: 1;
}

.checkbox-label:hover .checkbox-input {
    border-color: #4a5568;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* Login Page Specific */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form {
    text-align: center;
}

.google-signin-container {
    margin: 30px 0;
}

.google-signin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    min-width: 280px;
}

.google-signin-btn:hover {
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.divider {
    margin: 25px 0;
    position: relative;
    text-align: center;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.divider span {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 15px;
    color: #718096;
    font-size: 0.85rem;
}

.demo-credentials {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.demo-title {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.demo-info {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.4;
}

.security-note {
    background: rgba(56, 161, 105, 0.1);
    border: 1px solid rgba(56, 161, 105, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-top: 25px;
    font-size: 0.85rem;
    color: #38a169;
    text-align: center;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

/* Message Components */
.message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.message.error {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid rgba(245, 101, 101, 0.3);
    color: #f56565;
}

.message.success {
    background: rgba(56, 161, 105, 0.1);
    border: 1px solid rgba(56, 161, 105, 0.3);
    color: #38a169;
}

.success-message {
    background: rgba(56, 161, 105, 0.1);
    border: 2px solid rgba(56, 161, 105, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    color: #38a169;
    text-align: center;
}

.message.show,
.success-message.show {
    display: block;
    animation: slideInDown 0.5s ease-out;
}

/* Animations */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

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

/* Page Load Animations */
.leaderboard,
.progress-section,
.donation-form,
.login-form {
    animation: slideInUp 0.8s ease-out;
}

.progress-section {
    animation-delay: 0.2s;
}

@media (min-width: 769px) {
    .progress-section {
        min-width: 550px;
    }
    .stat-label {
        position: absolute;
    }
}

@media (min-width: 1900px) {
    .progress-section {
        min-width: 900px;
    }
    .stat-label {
        position: absolute;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .choose {
        padding-top: 100px;
    }
    .content-flex {
        flex-direction: column;
        align-items: center;
    }

    .center-column {
        width: 100%;
    }

    .right-column,
    .leaderboard.sidebar {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-top: 2rem;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .container,
    .container-small,
    .container-login {
        padding: 20px 15px;
    }

    .card-large {
        padding: 30px 20px;
        max-width: 360px;
        margin: auto;
    }

    /* Progress Stats - Vertical alignment on mobile */
    .progress-stats {
        width: 100%;
    }

    .progress-stats.centered {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .stat-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 15px;
        gap: 8px;
    }

    .stat-label {
        font-size: 0.9rem;
        color: #718096;
        margin-bottom: 5px;
    }

    .stat-value {
        font-size: 1.3rem;
        font-weight: 700;
        color: #2d3748;
    }

    .progress-bar-container {
        margin: 20px 0;
    }

    .progress-percentage {
        font-size: 1.4rem;
        margin: 15px 0;
    }

    .remaining-info {
        padding: 15px;
        margin-top: 20px;
    }

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

    .qr-code {
        width: 150px;
        height: 150px;
    }

    .qr-code img {
        width: 130px;
        height: 130px;
    }

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

    .google-signin-btn {
        min-width: 100%;
    }

    .checkbox-label {
        font-size: 0.8rem;
    }

    .checkbox-input {
        width: 12px;
        height: 12px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container,
    .container-small {
        padding: 15px 10px;
    }
    .choose {
        padding-top: 100px;
    }
    .header {
        margin-bottom: 10px;
    }

    .logo {
        width: 20em;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .card {
        padding: 25px;
    }

    .progress-section h2 {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .progress-bar-container {
        height: 20px;
    }

    .progress-percentage {
        font-size: 1.2rem;
    }

    .remaining-amount {
        font-size: 1.4rem;
    }

    .quick-amounts {
        grid-template-columns: 1fr;
    }

    .quick-amount-btn {
        width: 100%;
        padding: 12px;
    }
}

/* Extra Small Mobile Styles */
@media (max-width: 360px) {
    .logo {
        width: 120px;
    }

    .main-title {
        font-size: 1.3rem;
    }

    .stat-value {
        font-size: 1rem;
    }

    .remaining-amount {
        font-size: 1.2rem;
    }
}

.pointer {
    cursor: pointer;
}

.text-with-lines {
    position: relative;
    text-align: center;
    color: white;
    font-size: 1rem;
    padding: 0 120px; /* Space for lines */
    margin: 40px 0 60px 0;
}

.text-with-lines::before,
.text-with-lines::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 100px;
    height: 1px;
    background: white;
}

.text-with-lines::before {
    left: 0;
}
.text-with-lines::after {
    right: 0;
}

/* Mobile background image */
@media (max-width: 768px) {
    body {
        background-image: url("/images/bg.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        min-height: 100vh;
    }
}

/* Main button container */
/* Grid container for impact buttons */
.impact-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
}

.impact-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    min-height: 120px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(
        45deg,
        #ffffff,
        #85919f
    ); /* Gradient from light to darker grey-blue */
    border: 1px solid #d1d5da;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Soft shadow for a 3D effect */
    color: #243260;
    cursor: pointer;
    transition: all 0.2s ease-in-out; /* Smooth transition for hover effect */
    outline: none;
    width: 100%;
}

/* Hover state for the button */
.impact-button:hover {
    transform: translateY(-2px); /* Lifts the button slightly */
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2); /* Enhances the shadow on hover */
}

.impact-button.active {
    background: linear-gradient(45deg, #4777aa, #33527b);

    color: white;
}

/* Top line of text */
.main-text {
    font-size: 1.1rem;
    font-weight: bold;
    /* Dark, desaturated blue */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
}

/* Bottom line of text */
.sub-text {
    font-size: 0.85rem;
    color: #34495e; /* Slightly lighter shade for the subtext */
    margin-top: 8px;
    text-align: center;
}

.white {
    color: white;
}

/* Responsive adjustments for impact buttons */
@media (max-width: 768px) {
    .impact-buttons-grid {
        gap: 12px;
    }

    .impact-button {
        padding: 10px 15px;
        min-height: 60px;
    }

    .main-text {
        font-size: 0.95rem;
    }

    .sub-text {
        font-size: 0.75rem;
    }
}

/* Thank You Popup Styles */
.thank-you-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.thank-you-overlay.show {
    display: flex;
}

.thank-you-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    margin: auto;
    text-align: center;
}

.thank-you-content h3 {
    margin-bottom: 1rem;
    color: #243260;
}

.thank-you-content p {
    margin-bottom: 1.5rem;
    color: #718096;
}

.thank-you-close-btn {
    margin-top: 1rem;
    padding: 10px 20px;
    background: linear-gradient(109deg, #fff, #cfcfcf);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 3px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    margin: 0;
    color: #3658a4;
    font-weight: 600;
    border: 1px solid #3658a4;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.thank-you-close-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .impact-buttons-grid {
        gap: 10px;
    }

    .impact-button {
        padding: 5px 10px;
        min-height: 60px;
    }

    .main-text {
        font-size: 0.85rem;
        letter-spacing: 0;
    }

    .sub-text {
        font-size: 0.7rem;
        margin-top: 5px;
    }
}
