/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables - DOBI.GURU Theme */
:root {
    /* DOBI Brand Colors - Teal/Purple Gradient Palette */
    --primary-color: #00d4aa; /* Bright teal */
    --primary-dark: #00b894;
    --primary-light: #26d0ce;
    --secondary-color: #8b5cf6; /* Purple */
    --secondary-dark: #7c3aed;
    --accent-color: #06b6d4;
    --accent-dark: #0891b2;
    --success-color: #00d4aa;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #00d4aa;
    
    /* DOBI Gradient Colors */
    --gradient-teal: #00d4aa;
    --gradient-purple: #8b5cf6;
    --gradient-blue: #3b82f6;
    --gradient-pink: #ec4899;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Background Colors - Dark Theme */
    --bg-color: #000000; /* Negro puro como en la imagen */
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --border-color: #333333;
    --border-light: #444444;
    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    --border-radius: 0.75rem;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #000000; /* Negro puro como en la imagen */
    background-image: 
        /* Cuadrícula cian brillante - cuadrados grandes */
        linear-gradient(rgba(0, 255, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.3) 1px, transparent 1px),
        /* Iluminación verde/cian uniforme en todo el fondo */
        radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.12) 0%, transparent 70%);
    background-size: 100px 100px, 100px 100px, 100% 100%;
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    z-index: -10;
}

/* Typography - DOBI.GURU Style */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.025em;
}

h1 { 
    font-size: 3rem; 
    color: #00d4ff;
    text-shadow: 
        0 0 8px rgba(0, 212, 255, 0.4),
        0 0 16px rgba(0, 212, 255, 0.3),
        0 0 24px rgba(0, 212, 255, 0.2);
    filter: contrast(1.2);
}

h2 { 
    font-size: 2.5rem; 
    background: linear-gradient(135deg, var(--gradient-teal), var(--gradient-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 { 
    font-size: 1.75rem; 
    color: var(--text-primary);
    font-weight: 600;
}

h4 { 
    font-size: 1.5rem; 
    color: var(--text-primary);
    font-weight: 600;
}

h5 { 
    font-size: 1.25rem; 
    color: var(--text-primary);
    font-weight: 600;
}

h6 { 
    font-size: 1.125rem; 
    color: var(--text-primary);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

a {
    color: var(--gradient-teal);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: var(--gradient-purple);
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

/* Decorative Elements - DOBI.GURU Style */
.gradient-text {
    background: linear-gradient(135deg, var(--gradient-teal), var(--gradient-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.gradient-border {
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, var(--gradient-teal), var(--gradient-purple)) border-box;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-teal), var(--gradient-purple));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}


@keyframes backgroundFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-20px) translateX(10px) scale(1.1);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-10px) translateX(-5px) scale(0.9);
        opacity: 0.4;
    }
    75% { 
        transform: translateY(-30px) translateX(15px) scale(1.05);
        opacity: 0.6;
    }
}

@keyframes floatShape1 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
        opacity: 0.4;
    }
    33% { 
        transform: translateY(-30px) translateX(20px) scale(1.2) rotate(120deg);
        opacity: 0.6;
    }
    66% { 
        transform: translateY(-15px) translateX(-10px) scale(0.8) rotate(240deg);
        opacity: 0.3;
    }
}

@keyframes floatShape2 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-25px) translateX(15px) scale(1.1) rotate(90deg);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-40px) translateX(-5px) scale(0.9) rotate(180deg);
        opacity: 0.4;
    }
    75% { 
        transform: translateY(-20px) translateX(25px) scale(1.15) rotate(270deg);
        opacity: 0.6;
    }
}

    



/* Animated background elements like images 2 and 3 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Glowing purple oval (like image 2) */
        radial-gradient(ellipse 200px 120px at 60% 40%, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    background-size: 400px 300px;
    background-position: 60% 40%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
    animation: backgroundFloat 8s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(139, 92, 246, 0.6) 0%, 
        rgba(0, 255, 255, 0.6) 100%);
    pointer-events: none;
    z-index: 1000;
}

/* Additional floating geometric shapes */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-shapes::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatShape1 6s ease-in-out infinite;
}

.floating-shapes::after {
    content: '';
    position: absolute;
    bottom: 25%;
    left: 10%;
    width: 120px;
    height: 60px;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 20px;
    animation: floatShape2 8s ease-in-out infinite reverse;
}

/* Custom Scrollbar - DOBI Style */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gradient-teal), var(--gradient-purple));
    border-radius: 6px;
    border: 2px solid var(--bg-secondary);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--gradient-purple), var(--gradient-teal));
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, var(--gradient-blue), var(--gradient-pink));
}

::-webkit-scrollbar-corner {
    background: var(--bg-secondary);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gradient-teal) var(--bg-secondary);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.main-content {
    min-height: calc(100vh - 80px);
    padding-top: 80px;
}

.page {
    display: none;
    padding: var(--spacing-xl);
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
}

.page.active {
    display: block;
}

.page-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.page-header h2 {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.page-header-back-icon {
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.25rem;
    transition: all 0.2s ease;
    padding: var(--spacing-xs);
    border-radius: var(--border-radius-sm);
}

.page-header-back-icon:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
    transform: translateX(-2px);
}

/* Navigation - DOBI.GURU Style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    height: 80px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-teal), var(--gradient-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gradient-teal);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav-btn {
    background: none;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.nav-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-teal), var(--gradient-purple));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-btn:hover::before,
.nav-btn.active::before {
    width: 80%;
}

.nav-btn:hover,
.nav-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-auth {
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    color: white;
    padding: var(--spacing-2xl) 0;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Section */
.stats {
    margin-bottom: var(--spacing-2xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.stat-card:hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.stat-card h3 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.stat-card p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Recent Section */
.recent-section {
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

.recent-section h2 {
    margin-bottom: var(--spacing-lg);
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
}

.recent-actions {
    margin-top: var(--spacing-xl);
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    color: white;
}

.loading-spinner.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--spacing-md);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Gradient Text Classes - Dobi.guru Style (Bright & Glowing) */
.gradient-text {
    background: linear-gradient(135deg, #00d4ff, #0099ff, #00d4ff, #00bfff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.02em;
    animation: gradientMove 3s ease-in-out infinite;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)) drop-shadow(0 0 20px rgba(0, 153, 255, 0.3));
}

.gradient-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #00d4ff, #0099ff, #00d4ff, #00bfff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: blur(1px);
    opacity: 0.7;
    z-index: -1;
    animation: gradientMove 3s ease-in-out infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)) drop-shadow(0 0 20px rgba(0, 153, 255, 0.3));
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.8)) drop-shadow(0 0 30px rgba(0, 153, 255, 0.6));
    }
    100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)) drop-shadow(0 0 20px rgba(0, 153, 255, 0.3));
    }
}

/* .text-glow - Removed glow effects for cleaner look like dobi.guru logo */

/* Enhanced typography for main headings - Dobi.guru style */
.nav-brand .gradient-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6)) drop-shadow(0 0 16px rgba(0, 153, 255, 0.4));
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-transform: uppercase;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.7)) drop-shadow(0 0 30px rgba(0, 153, 255, 0.5));
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

/* Payment Modal Styles */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.payment-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease-out;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.payment-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-payment-modal {
    background: none;
    border: none;
    color: #8892b0;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-payment-modal:hover {
    color: #64ffda;
}

.payment-body {
    padding: 0 24px 24px 24px;
}

.payment-info {
    text-align: center;
    margin-bottom: 32px;
}

.payment-info p {
    color: #8892b0;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.payment-amount {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
}

.payment-amount strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.usd-equivalent {
    color: #64ffda;
    font-size: 1.1rem;
    font-weight: 500;
}

.payment-details {
    margin-bottom: 32px;
}

.payment-field {
    margin-bottom: 16px;
}

.payment-field label {
    display: block;
    color: #8892b0;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wallet-address {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 8px;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #64ffda;
    word-break: break-all;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-address:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-1px);
}

.payment-actions {
    margin-bottom: 24px;
}

.payment-actions .btn {
    width: 100%;
    margin-bottom: 16px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
}

.manual-payment {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: 24px;
}

.manual-payment p {
    color: #8892b0;
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-align: center;
}

.manual-payment input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: #ccd6f6;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.manual-payment input:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.1);
}

.payment-status {
    margin-top: 20px;
    text-align: center;
}

.payment-status .success {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    color: #64ffda;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
}

.payment-status .error {
    background: rgba(255, 99, 132, 0.1);
    border: 1px solid rgba(255, 99, 132, 0.3);
    color: #ff6384;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
}

.payment-status .loading {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-status .loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-modal {
        width: 95%;
        margin: 20px;
    }
    
    .payment-amount strong {
        font-size: 1.6rem;
    }
    
    .payment-header h3 {
        font-size: 1.3rem;
    }
}