/**
 * Modern Landing Page Style
 * Inspired by modern donation platforms
 */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --success: #10b981;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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);
    
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

@media (min-width: 640px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.875rem; }
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background-color: var(--gray-200);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--gray-400);
    background-color: var(--gray-50);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

/* Header & Navigation */
.main-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.2s;
}

.logo:hover {
    color: var(--primary);
}

.logo-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    color: var(--primary);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

/* Icon Styles */
svg {
    display: inline-block;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    display: block;
}

.nav-menu a:hover {
    color: var(--gray-900);
}

.nav-menu a.active {
    color: var(--gray-900);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
}

.nav-menu a svg {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--gray-600);
    transition: all 0.2s;
}

/* Hero Section */
.hero {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
        padding: 5rem 0;
    }
}

.hero-content {
    z-index: 10;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.hero-title .highlight {
    color: var(--primary);
    display: block;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-image {
    position: relative;
    height: 20rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-image {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 50%;
        height: 100%;
        border-radius: 0;
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 0;
}

@media (min-width: 1024px) {
    .stats-section {
        padding: 5rem 0;
    }
}

.stats-header {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto 3rem;
}

.stats-header h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .stats-header h2 {
        font-size: 2.25rem;
    }
}

.stats-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .stat-number {
        font-size: 3.75rem;
    }
}

.stat-label {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Campaigns Section */
.campaigns-section {
    padding: 3rem 0;
    background-color: var(--gray-50);
}

@media (min-width: 1024px) {
    .campaigns-section {
        padding: 5rem 0;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray-600);
}

.campaigns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .campaigns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .campaigns-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .campaigns-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.campaign-card {
    background-color: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.campaign-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.campaign-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.campaign-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.campaign-card:hover .campaign-image img {
    transform: scale(1.05);
}

.campaign-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
}

.campaign-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.campaign-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.campaign-title a {
    color: inherit;
}

.campaign-title a:hover {
    color: var(--primary);
}

.campaign-organizer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.campaign-organizer svg {
    width: 1rem;
    height: 1rem;
    opacity: 0.7;
}

.campaign-organizer svg:last-child {
    color: var(--success);
    opacity: 1;
}

.btn svg {
    width: 1rem;
    height: 1rem;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a svg {
    opacity: 0.8;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-contact svg {
    width: 1rem;
    height: 1rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.campaign-progress {
    margin-top: auto;
}

.progress-bar {
    width: 100%;
    height: 0.625rem;
    background-color: var(--gray-200);
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    border-radius: 9999px;
    transition: width 0.5s;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.progress-collected {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.875rem;
}

.progress-target {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.progress-days {
    text-align: right;
}

.progress-days-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.progress-days-value {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.875rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.2s;
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 6rem;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

/* Footer */
.main-footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    list-style: none;
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Flash Messages */
.flash-message {
    padding: 1rem 0;
}

.flash-message .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success);
}

.flash-error {
    background-color: #fee2e2;
    color: #991b1b;
}

.flash-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.flash-info {
    background-color: #dbeafe;
    color: #1e40af;
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
}

/* CTA Section */
.cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

@media (min-width: 1024px) {
    .cta-section {
        padding: 5rem 0;
    }
}

.cta-content h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .cta-content h2 {
        font-size: 2.25rem;
    }
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Campaign Detail Page */
.campaign-detail {
    padding: 2rem 0;
    background-color: var(--gray-50);
}

@media (min-width: 1024px) {
    .campaign-detail {
        padding: 3rem 0;
    }
}

.campaign-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .campaign-detail-wrapper {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }
}

.campaign-detail-image {
    width: 100%;
    height: 24rem;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .campaign-detail-image {
        height: 32rem;
    }
}

.campaign-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campaign-detail-content {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.campaign-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .campaign-detail-title {
        font-size: 2.5rem;
    }
}

.campaign-detail-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item svg {
    width: 1rem;
    height: 1rem;
    opacity: 0.7;
}

.share-campaign {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--gray-50);
    border-radius: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-share,
.btn-copy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-share:hover,
.btn-copy-link:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-share svg,
.btn-copy-link svg {
    width: 1rem;
    height: 1rem;
}

.copy-success {
    font-size: 0.875rem;
    color: var(--success);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
}

.campaign-detail-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    white-space: pre-line;
}

.campaign-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.donation-box {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

@media (min-width: 1024px) {
    .donation-box {
        position: sticky;
        top: 5rem;
    }
}

.donation-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.progress-section {
    margin-bottom: 2rem;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .progress-stats {
        grid-template-columns: 1fr;
    }
}

.progress-stat {
    text-align: center;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
}

.progress-stat .stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.progress-stat .stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.donation-form {
    margin-top: 2rem;
}

.recent-donations {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.recent-donations h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.donations-list {
    list-style: none;
}

.donation-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.donation-item:last-child {
    border-bottom: none;
}

.donation-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.donation-amount {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.donation-time {
    color: var(--gray-500);
    font-size: 0.75rem;
}

/* Payment & Success Pages */
.payment-section,
.success-section {
    padding: 3rem 0;
    background-color: var(--gray-50);
}

.payment-wrapper,
.success-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.donation-summary {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.donation-summary h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.summary-value {
    font-weight: 600;
    color: var(--gray-900);
}

.summary-value.amount {
    color: var(--primary);
    font-size: 1.25rem;
}

.payment-actions {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-note {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 1rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-section h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.donation-details {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.donation-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.detail-value {
    font-weight: 600;
    color: var(--gray-900);
}

.detail-value.amount {
    color: var(--primary);
    font-size: 1.125rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.success-note {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-top: 2rem;
}

/* Page Header (for subpages) */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Status Badges */
.status {
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-processing {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-completed {
    background-color: #d1fae5;
    color: #065f46;
}

.status-failed {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-cancelled {
    background-color: #f3f4f6;
    color: #374151;
}

/* QR Code Payment Styles */
.payment-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.payment-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.payment-content {
    display: grid;
    gap: 2rem;
}

.qr-payment-box {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.qr-payment-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.qr-code-container {
    display: inline-block;
    padding: 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.qr-code-image {
    width: 250px;
    height: 250px;
    max-width: 100%;
    display: block;
}

@media (min-width: 640px) {
    .qr-code-image {
        width: 300px;
        height: 300px;
    }
}

.qr-instruction {
    color: var(--gray-700);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.qr-payment-info {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: left;
    margin-top: 1rem;
}

.qr-payment-info p {
    margin: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.qr-payment-info strong {
    color: var(--gray-900);
    font-weight: 600;
}

.qr-error-box {
    background: #fee2e2;
    color: #991b1b;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-bottom: 2rem;
}

.qr-error-box .error-detail {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}
