/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');



/* Color Theme Variables */
:root {
    /* Purple Theme (Default) - Subtle 3D */
    --primary-color: #6b46c1;
    --primary-light: #7c3aed;
    --primary-dark: #4c1d95;
    --secondary-color: #00bfff;
    --accent-color: #5b21b6;
    --menu-highlight: rgba(107, 70, 193, 0.2);

    /* Background Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-quaternary: #0f3460;
    --bg-quinary: #533483;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-tertiary: rgba(255, 255, 255, 0.8);
    --text-quaternary: rgba(255, 255, 255, 0.7);
    --text-quinary: rgba(255, 255, 255, 0.6);

    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Surface Colors */
    --surface-primary: rgba(255, 255, 255, 0.1);
    --surface-secondary: rgba(255, 255, 255, 0.1);
    --surface-tertiary: rgba(255, 255, 255, 0.2);

    /* Border Colors */
    --border-primary: rgba(255, 255, 255, 0.2);
    --border-secondary: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(107, 70, 193, 0.25);

    /* Shadow Colors */
    --shadow-primary: rgba(107, 70, 193, 0.2);
    --shadow-secondary: rgba(124, 58, 237, 0.15);
    --shadow-tertiary: rgba(76, 29, 149, 0.08);

    /* Gradient Colors */
    --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--primary-light), var(--primary-dark), var(--secondary-color));
    --gradient-secondary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-bg: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-quaternary) 75%, var(--bg-quinary) 100%);
}

/* Light Theme Variables */
.light-theme {
    /* Background Colors - Light */
    --bg-primary: #fffff
        --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-quaternary: #e2e8f0;
    --bg-quinary: #cbd5e1;

    /* Text Colors - Light */
    --text-primary: #1e293b;
    --text-secondary: rgba(30, 41, 59, 0.9);
    --text-tertiary: rgba(30, 41, 59, 0.8);
    --text-quaternary: rgba(30, 41, 59, 0.7);
    --text-quinary: rgba(30, 41, 59, 0.6);

    /* Surface Colors - Light */
    --surface-primary: rgba(30, 41, 59, 0.1);
    --surface-secondary: rgba(30, 41, 59, 0.1);
    --surface-tertiary: rgba(30, 41, 59, 0.2);

    /* Border Colors - Light (More visible) */
    --border-primary: rgba(30, 41, 59, 0.3);
    --border-secondary: rgba(30, 41, 59, 0.2);
    --border-accent: rgba(107, 70, 193, 0.4);

    /* Shadow Colors - Light */
    --shadow-primary: rgba(30, 41, 59, 0.1);
    --shadow-secondary: rgba(107, 70, 193, 0.15);
    --shadow-tertiary: rgba(76, 29, 149, 0.08);

    /* Gradient Colors - Light */
    --gradient-bg: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-quaternary) 75%, var(--bg-quinary) 100%);
}

/* Light Theme Specific Adjustments */
.light-theme body::after {
    /* Reduce galaxy effects for light theme */
    opacity: 0.1;
}

.light-theme .card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(30, 41, 59, 0.2);
    box-shadow: 0 8px 32px rgba(30, 41, 59, 0.1);
}

.light-theme .card:hover {
    box-shadow: 0 12px 40px rgba(30, 41, 59, 0.15);
    border-color: rgba(30, 41, 59, 0.3);
}

.light-theme .header-container {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(30, 41, 59, 0.2);
    box-shadow:
        0 8px 32px rgba(30, 41, 59, 0.1),
        0 0 0 1px rgba(30, 41, 59, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Light theme text shadow adjustments */
.light-theme .brand-link {
    text-shadow:
        0 0 10px rgba(107, 70, 193, 0.4),
        0 0 20px rgba(107, 70, 193, 0.3),
        0 0 30px rgba(107, 70, 193, 0.2);
}

.light-theme .brand-link:hover {
    text-shadow:
        0 0 15px rgba(107, 70, 193, 0.5),
        0 0 25px rgba(107, 70, 193, 0.4),
        0 0 35px rgba(107, 70, 193, 0.3),
        0 0 45px rgba(107, 70, 193, 0.2);
}

/* Light theme button adjustments */
.light-theme .btn-primary,
.light-theme .btn-success,
.light-theme .btn-cancel {
    color: white !important;
}

.light-theme .ui-button.btn-primary,
.light-theme .ui-button.btn-success {
    color: white !important;
}

.light-theme .modern-btn-primary,
.light-theme .modern-btn-success {
    color: white !important;
}

/* Light theme component visibility improvements */
.light-theme .crypto-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(30, 41, 59, 0.2);
}

.light-theme .crypto-card:hover {
    border-color: rgba(30, 41, 59, 0.3);
}

.light-theme .step-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(30, 41, 59, 0.2);
}

.light-theme .modern-input {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 2px solid rgba(30, 41, 59, 0.2) !important;
}

.light-theme .modern-input:focus {
    border-color: #7a5cf5 !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.light-theme .order-summary {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(30, 41, 59, 0.2);
}

.light-theme .verification-section {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(30, 41, 59, 0.1);
}

.light-theme .info-card {
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.light-theme .info-card.phone-info {
    background: rgba(79, 172, 254, 0.05);
    border-color: rgba(79, 172, 254, 0.2);
}

/* Settings Page Styles */
.info-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    margin-top: 1rem;
    color: var(--text-primary);
}

.info-message i {
    color: #3b82f6;
    font-size: 1.1rem;
}

/* Send Code Button States */
.btn.btn-secondary:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    background: #6b7280;
    border-color: #6b7280;
}

.btn.btn-secondary.sending {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
    animation: pulse 1.5s ease-in-out infinite;
}

.btn.btn-secondary.resend {
    background: #10b981;
    border-color: #10b981;
    color: white;
    transition: all 0.3s ease;
}

.btn.btn-secondary.resend:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.verification-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.verification-section .verification-area {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.current-info, .new-info {
    padding: 0rem 1rem 1rem 1rem;
    width: 100%;
    background: var(--surface-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 12px;
}

.current-info h4, .new-info h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-secondary);
}

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

.info-item .label {
    color: var(--text-secondary);
    font-weight: 500;
}

.info-item .value {
    color: var(--text-primary);
    font-weight: 600;
}

.verification-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
}

.verification-note i {
    color: #10b981;
    font-size: 1.1rem;
}

.success-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.success-message i {
    color: #10b981;
    font-size: 2rem;
    margin-top: 0.25rem;
}

.success-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.updated-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.updated-info .label {
    color: var(--text-secondary);
    font-weight: 500;
}

.updated-info .value {
    color: var(--text-primary);
    font-weight: 600;
}

.next-steps {
    padding: 0rem 1rem 1rem 1rem;
    background: var(--surface-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 12px;
}

.next-steps h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.next-steps li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Settings Page Specific Styling */
.crypto-option input[type="radio"][value="username"]:checked + label {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
}

.crypto-option input[type="radio"][value="username"] + label:hover {
    border-color: rgba(59, 130, 246, 0.3) !important;
}

.crypto-option input[type="radio"][value="username"] + label i {
    color: #3b82f6 !important;
}

.crypto-option input[type="radio"][value="username"]:checked + label i {
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.7) !important;
    transform: scale(1.05) !important;
}

.crypto-option input[type="radio"][value="phone"]:checked + label {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: #10b981 !important;
    color: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
}

.crypto-option input[type="radio"][value="phone"] + label:hover {
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.crypto-option input[type="radio"][value="phone"] + label i {
    color: #10b981 !important;
}

.crypto-option input[type="radio"][value="phone"]:checked + label i {
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.7) !important;
    transform: scale(1.05) !important;
}

/* Alternative selectors for settings page */
#username:checked + label {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
}

#phone:checked + label {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: #10b981 !important;
    color: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
}

#username:checked + label i {
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.7) !important;
    transform: scale(1.05) !important;
}

#phone:checked + label i {
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.7) !important;
    transform: scale(1.05) !important;
}

/* Settings Page Input Layout */
.settings-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.settings-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: end;
}

.settings-input-group label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.settings-input-group input {
    padding: 0.75rem 1rem;
    background: var(--surface-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.settings-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(122, 92, 245, 0.1);
}

.settings-input-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Responsive Design for Settings Inputs */
@media (max-width: 768px) {
    .settings-inputs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .settings-input-group {
        gap: 0.75rem;
    }

    .settings-input-group input {
        padding: 1rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .settings-inputs {
        gap: 0.75rem;
    }

    .settings-input-group input {
        padding: 0.875rem;
        font-size: 1rem;
    }
}

/* OTP Section Styling */
.otp-section {
    margin-top: 2rem;
    padding: 0rem 1rem 1rem 1rem;
    background: var(--surface-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 12px;
}

.otp-section h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.otp-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.otp-section .settings-inputs {
    margin-bottom: 1rem;
}

.otp-section .btn-secondary {
    background: #10b981;
    border: 1px solid #10b981;
    color: white;
    padding: 0.75rem 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 50%;
    min-width: 120px;
}

.otp-section .btn-secondary:hover {
    background: #059669;
    border-color: #059669;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Tighter step 2 layout on phones (Settings only) */
@media (max-width: 768px){
    .settings-card .step-panel{
        padding: 1rem;
        border-radius: 12px;
    }

    .settings-card .step-panel h3{
        font-size: 1.25rem;
        margin-bottom: 0.4rem;
    }

    .settings-card .step-panel p{
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .settings-card .otp-section{
        margin-top: 1.25rem;
        padding: 0.75rem 0.75rem 1rem 0.75rem;
        border-radius: 10px;
    }

    .settings-card .otp-section h4{
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .settings-card .otp-section p{
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .settings-card .info-message{
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    /* Make OTP inputs fit nicely within the container on phones */
    .settings-card .otp-section,
    .settings-card .otp-section .settings-inputs,
    .settings-card .otp-section .settings-input-group{
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .settings-card .otp-section .settings-inputs{
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin-top: 0.5rem !important;
    }

    .settings-card .otp-section .settings-input-group input{
        padding: 0.75rem !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .settings-card .otp-section .btn-secondary{
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Dark Theme Variables (Default) */
.dark-theme {
    /* Background Colors - Dark */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-quaternary: #0f3460;
    --bg-quinary: #533483;

    /* Text Colors - Dark */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-tertiary: rgba(255, 255, 255, 0.8);
    --text-quaternary: rgba(255, 255, 255, 0.7);
    --text-quinary: rgba(255, 255, 255, 0.6);

    /* Surface Colors - Dark */
    --surface-primary: rgba(255, 255, 255, 0.1);
    --surface-secondary: rgba(255, 255, 255, 0.1);
    --surface-tertiary: rgba(255, 255, 255, 0.2);

    /* Border Colors - Dark */
    --border-primary: rgba(255, 255, 255, 0.2);
    --border-secondary: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(107, 70, 193, 0.25);

    /* Shadow Colors - Dark */
    --shadow-primary: rgba(107, 70, 193, 0.2);
    --shadow-secondary: rgba(124, 58, 237, 0.15);
    --shadow-tertiary: rgba(76, 29, 149, 0.08);

    /* Gradient Colors - Dark */
    --gradient-bg: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-quaternary) 75%, var(--bg-quinary) 100%);
}
/* Global Typography */
* {
    font-family: var(--font-family);
}

/* Smooth theme transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

html {
    font-family: var(--font-family);
    /* Firefox Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #6b46c1 rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar for Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6b46c1, #7c3aed);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.1);
}

/* Global Page Background */
body {
    font-family: var(--font-family);
    background: var(--gradient-bg);
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: gradientShift 20s ease infinite;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    transition: background 0.3s ease;
}

/* Safe area handling for devices with notches (iOS etc.) */
@supports (padding-top: env(safe-area-inset-top)) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Fallback background to ensure theme consistency */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: -3;
    transition: background 0.3s ease;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Galaxy Background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        /* Main galaxy stars */
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent),
        /* Additional purple galaxy effects */
        radial-gradient(3px 3px at 50px 50px, rgba(107, 70, 193, 0.4), transparent),
        radial-gradient(2px 2px at 100px 100px, rgba(76, 29, 149, 0.3), transparent),
        radial-gradient(1px 1px at 150px 25px, rgba(124, 58, 237, 0.2), transparent),
        radial-gradient(2px 2px at 200px 75px, rgba(91, 33, 182, 0.35), transparent),
        radial-gradient(1px 1px at 250px 50px, rgba(139, 92, 246, 0.25), transparent);
    background-repeat: repeat;
    background-size: 200px 100px, 200px 100px, 200px 100px, 200px 100px, 200px 100px, 300px 150px, 300px 150px, 300px 150px, 300px 150px, 300px 150px;
    animation: galaxyMove 30s linear infinite, galaxyFloat 45s ease-in-out infinite, galaxyDrift 60s ease-in-out infinite;
    z-index: -1;
}

@keyframes galaxyMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-50px) translateY(-25px);
    }
    50% {
        transform: translateX(-100px) translateY(0);
    }
    75% {
        transform: translateX(-50px) translateY(25px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}


@keyframes galaxyFloat {
    0% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.3;
    }
    15% {
        transform: translateX(20px) translateY(-30px) scale(1.1);
        opacity: 0.6;
    }
    30% {
        transform: translateX(-15px) translateY(25px) scale(0.9);
        opacity: 0.4;
    }
    45% {
        transform: translateX(35px) translateY(10px) scale(1.05);
        opacity: 0.7;
    }
    60% {
        transform: translateX(-25px) translateY(-20px) scale(0.95);
        opacity: 0.5;
    }
    75% {
        transform: translateX(10px) translateY(30px) scale(1.08);
        opacity: 0.6;
    }
    90% {
        transform: translateX(-30px) translateY(5px) scale(0.92);
        opacity: 0.4;
    }
    100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.3;
    }
}

@keyframes galaxyDrift {
    0% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.2;
    }
    20% {
        transform: translateX(-40px) translateY(15px) scale(1.15);
        opacity: 0.5;
    }
    40% {
        transform: translateX(25px) translateY(-35px) scale(0.85);
        opacity: 0.3;
    }
    60% {
        transform: translateX(-20px) translateY(40px) scale(1.2);
        opacity: 0.6;
    }
    80% {
        transform: translateX(45px) translateY(-10px) scale(0.9);
        opacity: 0.4;
    }
    100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.2;
    }
}

/* Shooting Stars */
.shooting-star {
    position: fixed;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    z-index: -1;
    animation: shootingStar 3s linear infinite;
}

.shooting-star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, white, transparent);
    transform: translateX(-100px);
}

.shooting-star:nth-child(1) {
    top: 20%;
    left: 100%;
    animation-delay: 0s;
    animation-duration: 4s;
}

.shooting-star:nth-child(2) {
    top: 60%;
    left: 100%;
    animation-delay: 2s;
    animation-duration: 3.5s;
}

.shooting-star:nth-child(3) {
    top: 80%;
    left: 100%;
    animation-delay: 4s;
    animation-duration: 3s;
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100vw) translateY(100px);
        opacity: 0;
    }
}

/* Nebula Effects */
.nebula {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 70, 193, 0.06) 0%, transparent 70%);
    z-index: -1;
    animation: nebulaFloat 25s ease-in-out infinite;
}

.nebula:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.nebula:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 10s;
    background: radial-gradient(circle, rgba(76, 29, 149, 0.05) 0%, transparent 70%);
}

.nebula:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: 20s;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, transparent 70%);
}

@keyframes nebulaFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -30px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, 50px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(30px, 20px) scale(1.05);
        opacity: 0.6;
    }
}

/* Main Layout Styles */
.main-content {
    flex: 1;
    padding: 2rem 0;
    background: transparent;
    position: relative;
    z-index: 2;
    width: 100%;
}

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

/* Global contact stack sizing/positioning (PrimeFaces p:stack) */
.contact-stack.ui-stack {
    position: fixed;
    right: 1.25rem;
    bottom: 5rem;
    z-index: 1200;
}

.contact-stack.ui-stack .ui-stack-control{
    width:44px;
    height:44px;
}

.contact-stack.ui-stack .ui-menuitem-link{
    font-size:0.85rem;
    padding:4px 10px;
}

@media (max-width: 768px){
    .contact-stack.ui-stack {
        right: 1rem;
        bottom: 4.5rem;
    }

    .contact-stack.ui-stack .ui-stack-control{
        width:38px;
        height:38px;
    }

    .contact-stack.ui-stack .ui-menuitem-link{
        font-size:0.8rem;
        padding:3px 8px;
    }
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(26, 26, 46, 0.9) 25%,
        rgba(22, 33, 62, 0.85) 50%,
        rgba(15, 52, 96, 0.9) 75%,
        rgba(83, 52, 131, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--border-accent);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

/* Footer background effects */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(107, 70, 193, 0.15), transparent),
        radial-gradient(1px 1px at 40px 70px, var(--text-quaternary), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(124, 58, 237, 0.2), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: footerStars 20s linear infinite;
    z-index: 1;
}

@keyframes footerStars {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-150px) translateY(-50px);
    }
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    color: var(--text-secondary);
}

.footer-section h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-secondary);
    border-radius: 1px;
}

.footer-logo p {
    color: var(--text-quaternary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.footer-description p {
    color: var(--text-tertiary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
    text-shadow: 0 0 10px var(--shadow-primary);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -10px;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-tertiary);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--surface-secondary);
    border: 1px solid var(--border-secondary);
}

.social-link:hover {
    background: var(--surface-primary);
    border-color: var(--border-accent);
    color: var(--text-primary);
    transform: translateX(5px);
    box-shadow: 0 5px 15px var(--shadow-primary);
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-link.telegram:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: rgba(0, 136, 204, 0.5);
}

.social-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
}

.social-link.email:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.5);
}

.contact-info {
    margin-top: 1rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: #6b46c1;
    width: 16px;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-secondary);
    padding: 1.5rem 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.stat i {
    color: #6b46c1;
    font-size: 1rem;
}

/* Floating Support Button */
.floating-support {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.floating-stack {
    background: linear-gradient(135deg, #6b46c1, #7c3aed, #4c1d95) !important;
    border-radius: 50% !important;
    box-shadow:
        0 4px 15px rgba(107, 70, 193, 0.3),
        0 8px 25px rgba(76, 29, 149, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(124, 58, 237, 0.3) !important;
}

.floating-stack:hover {
    transform: scale(1.1) translateY(-2px) !important;
    box-shadow:
        0 6px 20px rgba(107, 70, 193, 0.4),
        0 12px 35px rgba(76, 29, 149, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(124, 58, 237, 0.5) !important;
}

/* Landing Page Hero Section */
.landing-hero {
    text-align: center;
    padding: 4rem 0 6rem;
    max-width: 800px;
    margin: 0 auto;
}

.landing-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 150px;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--surface-primary);
    border-color: var(--primary-light);
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .main-content {
        padding: 1rem 0;
    }

    .card,
    .info-card,
    .order-summary,
    .step-panel,
    .verification-section,
    .checkout-summary {
        padding: 1rem;
    }

    .chart-container {
        height: 240px;
    }

    /* Show chart tabs in two rows on mobile */
    .crypto-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .crypto-tab {
        flex: 1 1 calc(50% - 0.75rem);
        justify-content: center;
        text-align: center;
    }

    .crypto-prices {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .cards-row {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }

    .flex-row,
    .summary-columns,
    .checkout-content,
    .dual-flex,
    .profile-header-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Footer responsive */
    .footer-grid {
        /* Company info full-width on first row,
           other four sections as 2x2 grid on phones */
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        text-align: center;
    }

    .footer-grid .footer-section:first-child {
        grid-column: 1 / -1;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-link {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .floating-support {
        bottom: 1rem;
        right: 1rem;
    }

    /* Landing page responsive */
    .landing-hero {
        padding: 2rem 0 4rem;
    }

    .landing-hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .card,
    .info-card,
    .order-summary,
    .step-panel,
    .verification-section,
    .checkout-summary {
        padding: 1.25rem;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .chart-container {
        height: 200px;
    }

    .crypto-tab {
        flex: 1 1 100%;
    }

    .crypto-prices {
        grid-template-columns: 1fr;
    }

    .footer-content {
        padding: 2rem 0 0rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .social-links {
        flex-direction: column;
    }

    .social-link {
        min-width: auto;
    }

    .footer-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stat {
        font-size: 0.8rem;
    }
}

/* Home Page Cards */
.cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--surface-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-secondary);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-secondary);
}

.card-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title i {
    color: #7a5cf5;
    font-size: 1.3rem;
}

.card-content {
    color: var(--text-secondary);
}

/* Balance Card - Simple & Calm Design */
.balance-card {
    background: var(--surface-secondary);
    border: 1px solid var(--border-secondary);
}

/* Main Balance Display */
.main-balance {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-secondary);
}

.balance-amount {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-family);
}

.balance-label {
    font-size: 1rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

/* Referral Section */
.referral-section {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Referral Game Info */
.referral-info {
    background: rgba(107, 70, 193, 0.03);
    border: 1px solid rgba(107, 70, 193, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.referral-game-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.referral-game-title i {
    color: var(--primary);
    font-size: 1.1rem;
}

.referral-game-description {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

/* Dark theme adjustments for referral info */
body.dark .referral-info,
body.dark-theme .referral-info {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.15);
}

body.dark .referral-game-description,
body.dark-theme .referral-game-description {
    color: #b8b8bb;
}

.referral-row,
.points-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.referral-label,
.points-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.35rem 0.6rem;
    margin: 3px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.referral-label {
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid rgba(0, 191, 255, 0.3);
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.1);
}

.referral-label:hover {
    border-color: rgba(0, 191, 255, 0.5);
    background: rgba(0, 191, 255, 0.1);
    box-shadow: 0 0 12px rgba(0, 191, 255, 0.2);
}

.points-label {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.1);
}

.points-label:hover {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
}

.referral-label i {
    color: var(--primary-color);
    font-size: 1rem;
}

.points-label i {
    color: #ffd700;
    font-size: 1rem;
}

.referral-code-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--surface-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.referral-code-container:hover {
    border-color: var(--border-accent);
    background: var(--surface-tertiary);
}

.points-value-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    min-width: 70px;
    transition: all 0.3s ease;
}

.points-value-container:hover {
    border-color: var(--border-accent);
    background: var(--surface-tertiary);
}

.referral-code {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    letter-spacing: 1px;
}

.copy-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.copy-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

.copy-btn.copied {
    background: #10b981;
    transform: scale(1.1);
}

.points-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-shadow: 0 2px 8px var(--shadow-primary);
    animation: pointsGlow 2s ease-in-out infinite alternate;
}

@keyframes pointsGlow {
    from {
        text-shadow: 0 2px 8px var(--shadow-primary);
    }
    to {
        text-shadow: 0 4px 16px var(--shadow-primary), 0 0 20px var(--shadow-secondary);
    }
}

/* Redeem Section */
.redeem-section {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-secondary);
}

.redeem-btn {
    min-width: 140px;
    padding: 0.75rem 1.5rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.redeem-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.3);
}

/* Redeem Dialog Z-Index Fix */
.redeem-dialog {
    z-index: 10002 !important;
}

.redeem-dialog .ui-dialog {
    z-index: 10003 !important;
}

.redeem-dialog .ui-widget-overlay {
    z-index: 10002 !important;
}

.redeem-dialog .ui-dialog-mask {
    z-index: 10002 !important;
}

/* Additional PrimeFaces dialog overrides for redeem dialog */
.ui-dialog.redeem-dialog {
    z-index: 10003 !important;
    position: fixed !important;
}

.ui-widget-overlay.redeem-dialog-overlay {
    z-index: 10002 !important;
}

/* Ensure redeem dialog appears above all other elements */
body .redeem-dialog,
body .redeem-dialog .ui-dialog,
body .ui-dialog[aria-describedby*="redeemDialog"] {
    z-index: 10003 !important;
}

body .ui-widget-overlay[data-p-for*="redeemDialog"] {
    z-index: 10002 !important;
}

/* Dialog Button Styling */
.dialog-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1rem;
}

/* Points Coming Soon Dialog Z-Index Fix */
body .ui-dialog.points-dialog,
.ui-dialog.points-dialog {
    z-index: 99999 !important;
    position: fixed !important;
}

.dialog-buttons .btn {
    min-width: 120px;
}

/* Dialog-specific button overrides */
.dialog-buttons .btn-secondary {
    background: var(--primary-color) !important;
    color: white !important;
    border: 1px solid var(--primary-color) !important;
    position: static !important;
    overflow: visible !important;
}

.dialog-buttons .btn-secondary::before {
    display: none !important;
}

.dialog-buttons .btn-secondary:hover {
    background: var(--primary-light) !important;
    border-color: var(--primary-light) !important;
    color: white !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Loading Skeleton Styles */
.loading-skeleton {
    padding: 2rem 0;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Skeleton Search Input */
.skeleton-search {
    margin-bottom: 2rem;
}

.skeleton-input {
    height: 48px;
    background: linear-gradient(90deg, var(--surface-primary) 25%, rgba(255, 255, 255, 0.1) 50%, var(--surface-primary) 75%);
    background-size: 200% 100%;
    border-radius: 12px;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Skeleton Services Grid */
.skeleton-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.skeleton-service-item {
    height: 80px;
    background: linear-gradient(90deg, var(--surface-primary) 25%, rgba(255, 255, 255, 0.1) 50%, var(--surface-primary) 75%);
    background-size: 200% 100%;
    border-radius: 12px;
    animation: shimmer 1.5s infinite;
    animation-delay: calc(var(--delay) * 0.1s);
}

.skeleton-service-item:nth-child(1) {
    --delay: 1;
}
.skeleton-service-item:nth-child(2) {
    --delay: 2;
}
.skeleton-service-item:nth-child(3) {
    --delay: 3;
}
.skeleton-service-item:nth-child(4) {
    --delay: 4;
}
.skeleton-service-item:nth-child(5) {
    --delay: 5;
}
.skeleton-service-item:nth-child(6) {
    --delay: 6;
}
.skeleton-service-item:nth-child(7) {
    --delay: 7;
}
.skeleton-service-item:nth-child(8) {
    --delay: 8;
}

/* Skeleton Area Codes Grid */
.skeleton-area-codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.skeleton-area-code-item {
    height: 60px;
    background: linear-gradient(90deg, var(--surface-primary) 25%, rgba(255, 255, 255, 0.1) 50%, var(--surface-primary) 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: shimmer 1.5s infinite;
    animation-delay: calc(var(--delay) * 0.05s);
}

.skeleton-area-code-item:nth-child(1) {
    --delay: 1;
}
.skeleton-area-code-item:nth-child(2) {
    --delay: 2;
}
.skeleton-area-code-item:nth-child(3) {
    --delay: 3;
}
.skeleton-area-code-item:nth-child(4) {
    --delay: 4;
}
.skeleton-area-code-item:nth-child(5) {
    --delay: 5;
}
.skeleton-area-code-item:nth-child(6) {
    --delay: 6;
}
.skeleton-area-code-item:nth-child(7) {
    --delay: 7;
}
.skeleton-area-code-item:nth-child(8) {
    --delay: 8;
}
.skeleton-area-code-item:nth-child(9) {
    --delay: 9;
}
.skeleton-area-code-item:nth-child(10) {
    --delay: 10;
}
.skeleton-area-code-item:nth-child(11) {
    --delay: 11;
}
.skeleton-area-code-item:nth-child(12) {
    --delay: 12;
}

/* Loading Spinner and Indicator */
.skeleton-loading-indicator {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--surface-primary);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.skeleton-loading-indicator span {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Content fade-in animation */
.services-content,
.area-codes-content {
    animation: contentFadeIn 0.5s ease-in;
}

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

/* Responsive Design for Skeletons */
@media (max-width: 768px) {
    .skeleton-services-grid {
        grid-template-columns: 1fr;
    }

    .skeleton-area-codes-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .skeleton-service-item {
        height: 70px;
    }

    .skeleton-area-code-item {
        height: 50px;
    }

    .loading-spinner {
        width: 32px;
        height: 32px;
        border-width: 2px;
    }
}

/* Responsive Design for Referral Section */
@media (max-width: 768px) {
    .referral-row,
    .points-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .referral-code-container,
    .points-value-container {
        max-width: 280px;
        width: 100%;
    }

    .points-value {
        font-size: 1.5rem;
    }
}

/* Points Section */
.points-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.points-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex: 1;
}

.points-label {
    font-size: 1rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

.points-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.redeem-button {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.redeem-button:hover {
    background: var(--primary-light);
}

/* Redeem Dialog */
.redeem-dialog .ui-dialog-content {
    padding: 1.5rem;
}

.redeem-form {
    max-width: 100%;
}

.balance-info {
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-secondary);
}

.info-label {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
}

.conversion-info {
    background: var(--surface-primary);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.conversion-rate {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.conversion-total {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0;
}

.redeem-actions {
    margin-bottom: 1rem;
}

.points-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-secondary);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.points-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.redeem-amount {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    padding: 0.5rem;
    background: var(--surface-primary);
    border-radius: 6px;
}

.dialog-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-cancel {
    background: var(--surface-primary);
    border: 1px solid var(--border-secondary);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: var(--surface-secondary);
}

.btn-redeem {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-redeem:hover {
    background: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .balance-amount {
        font-size: 2.5rem;
    }

    .points-section {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .points-row {
        justify-content: space-between;
        align-items: center;
    }

    .redeem-button {
        width: 100%;
        padding: 1rem;
    }

    .dialog-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-cancel, .btn-redeem {
        width: 100%;
    }
}

.update-timestamp {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.update-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.update-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    text-align: center;
    align-content: center;
}

.update-icon.crypto {
    background: rgba(247, 147, 26, 0.2);
    color: #f7931a;
}

.update-icon.phone {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.update-icon.proxy {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.update-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.update-text strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.update-text p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* Crypto Chart Card */
.crypto-chart-card .crypto-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.crypto-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--surface-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.crypto-item:hover {
    background: var(--surface-tertiary);
    transform: translateX(4px);
}

/* Home quick actions (mobile) */
.home-quick-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:1rem;
}

.home-quick-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:0.9rem 0.75rem;
    background:var(--surface-secondary);
    border-radius:12px;
    border:1px solid var(--border-secondary);
    text-decoration:none;
    color:var(--text-primary);
    transition:all 0.3s ease;
}

.home-quick-card:hover{
    background:var(--surface-tertiary);
    transform:translateY(-2px);
}

.home-quick-icon{
    width:36px;
    height:36px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:0.35rem;
    background:linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow:0 4px 12px rgba(107,70,193,0.4);
}

.home-quick-icon i{
    color:#fff;
    font-size:1rem;
}

.home-quick-label{
    font-size:0.9rem;
    font-weight:500;
}

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

.crypto-symbol {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.crypto-name {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.crypto-price {
    text-align: right;
}

.price {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.change {
    font-size: 0.8rem;
    font-weight: 500;
}

.change.positive {
    color: #10b981;
}

.change.negative {
    color: #ef4444;
}

.change.neutral {
    color: var(--text-tertiary);
}

.chart-container {
    position: relative;
    height: 300px;
    margin-top: 1rem;
    flex: 1;
    width: 100%;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
}

/* Crypto Tabs */
.crypto-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-secondary);
    padding-bottom: 0;
    flex-shrink: 0;
}

.crypto-tab {
    background: transparent;
    border: 1px solid transparent;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.crypto-tab:hover {
    background: var(--surface-tertiary);
    color: var(--text-primary);
}

.crypto-tab.active {
    background: var(--menu-highlight);
    color: var(--text-primary);
    font-weight: 600;
    border: 1px solid rgba(107, 70, 193, 0.4);
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.2);
}

.crypto-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 0 8px rgba(107, 70, 193, 0.5);
}

.crypto-tab i {
    font-size: 16px;
}

.crypto-chart {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    width: calc(100% - 10px) !important;
    height: calc(100% - 10px) !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.crypto-chart.active {
    opacity: 1;
    visibility: visible;
}

.chart-loading{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    background:rgba(12, 12, 20, 0.9);
    border-radius:14px;
    color:var(--text-secondary);
    font-size:0.95rem;
    letter-spacing:0.01em;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity 0.25s ease, visibility 0.25s ease;
    z-index:3;
}

.chart-loading.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.chart-spinner{
    width:42px;
    height:42px;
    border-radius:50%;
    border:3px solid rgba(255,255,255,0.15);
    border-top-color:var(--primary-color);
    animation:chart-spin 0.8s linear infinite;
}

.chart-loading-text{
    font-weight:500;
    color:var(--text-primary);
}

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

/* Transactions Card */
.transactions-card {
    grid-column: 1 / -1;
}

.transactions-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--surface-secondary);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--surface-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-secondary);
    transition: all 0.3s ease;
}

.table-row:hover {
    background: var(--surface-tertiary);
    transform: translateX(5px);
}

.col-id {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

col-none {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;

}

.col-type {
    display: flex;
    align-items: center;
}

.type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.type-badge.crypto {
    background: rgba(247, 147, 26, 0.2);
    color: #f7931a;
    border: 1px solid rgba(247, 147, 26, 0.3);
}

.type-badge.proxy {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.type-badge.phone {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.col-amount {
    color: var(--text-primary);
    font-weight: 500;
}

.col-status {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.failed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.processing {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.abandoned {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.col-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary {
    background: var(--surface-secondary);
    color: #7a5cf5;
    border: 1px solid var(--border-secondary);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7a5cf5, #8c72ff);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(122, 92, 245, 0.3);
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
}

.btn-danger {
    background: #ef4444 !important;
    color: white !important;
    border: 1px solid #ef4444 !important;
}

.btn-danger:hover {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    color: white !important;
}

/* Responsive Design for Home Cards */
@media (max-width: 768px) {
    .cards-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Step navigation buttons horizontal & compact on phones */
    .step-navigation {
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .step-navigation .btn {
        flex: 1 1 0;
        justify-content: center;
    }

    .step-navigation .btn-cancel {
        flex: 0 0 auto;
    }

    /* Buy Crypto page – smaller title on phones */
    .crypto-card .card-title {
        font-size: 1rem;
    }

    .crypto-card .card-title i {
        font-size: 1.4rem;
    }

    .crypto-card .card-subtitle {
        font-size: 0.95rem;
    }

    .crypto-prices {
        grid-template-columns: 1fr;
    }

    /* Recent Transactions – mobile card style */
    .transactions-table {
        gap: 0.75rem;
    }

    .table-header {
        display: none;
    }

    .table-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding: 0.75rem 0.85rem;
    }

    .table-row > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .table-row .col-type::before,
    .table-row .col-status::before,
    .table-row .col-date::before {
        font-weight: 600;
        color: var(--text-secondary);
        font-size: 0.8rem;
        margin-right: 0.75rem;
        content: '';
    }

    .table-row .col-type::before {
        content: 'Type';
    }

    .table-row .col-status::before {
        content: 'Status';
    }

    .table-row .col-date::before {
        content: 'Date';
    }

    /* Hide crypto chart and its tabs on phones */
    .crypto-chart-card .crypto-tabs,
    .crypto-chart-card .chart-container {
        display: none;
    }
}

/* Crypto Card */
.crypto-card {
    background: var(--surface-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-secondary);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.crypto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.crypto-card .card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.crypto-card .card-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.crypto-card .card-title i {
    color: #7a5cf5;
    font-size: 1.8rem;
}

/* Smaller crypto card title variant (used on phones via class) */
.crypto-card .card-title.card-title--sm{
    font-size: 1.4rem;
}

.crypto-card .card-title.card-title--sm i{
    font-size: 1.5rem;
}

.crypto-card .card-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.crypto-card .card-content {
    margin-top: 1.5rem;
}

/* Crypto Steps Styling */
.crypto-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    right: -40%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.step-item.active::after {
    background: linear-gradient(90deg, #22c55e, rgba(34, 197, 94, 0.3));
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.step-item.active .step-number {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: var(--text-primary);
    border: 2px solid #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    transform: scale(1.1);
}

/* Completed steps - previous steps that have been completed */
.step-item.completed .step-number {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: var(--text-primary);
    border: 2px solid #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    transform: scale(1.0);
}

.step-item.completed .step-number {
    font-size: 0;
}

.step-item.completed .step-number::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.9rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.step-item.completed .step-icon {
    color: #22c55e;
}

.step-item.completed .step-title {
    color: #22c55e;
    font-weight: 600;
}

.step-item.completed {
    /* background: rgba(34, 197, 94, 0.05); */
    border-color: rgba(34, 197, 94, 0.2);
}

.step-icon {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.step-item.active .step-icon {
    color: #22c55e;
    transform: scale(1.1);
}

.step-title {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step-item.active .step-title {
    color: #22c55e;
    font-weight: 600;
}

/* Responsive design for steps */
@media (max-width: 768px) {
    /* Keep steps horizontal but more compact on phones */
    .crypto-steps {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        padding: 1.25rem 0;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: auto;
        padding: 0;
        background: transparent;
        border-radius: 0;
        border: 0;
    }

    .step-item:not(:last-child)::after {
        top: 16px;
        left: 55%;
        right: -35%;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }

    .step-icon {
        font-size: 1rem;
        margin-bottom: 0;
    }

    /* Hide step title text on phones to save space */
    .step-title {
        display: none;
    }
}

/* Step Content Styling */
.step-content {
/*    margin-top: 2rem;*/
    min-height: 300px;
}

.step-panel {
    padding: 2rem;
    background: var(--surface-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-secondary);
}

.step-panel h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.step-panel p {
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

/* Service Search */
.service-search {
    margin-bottom: 2rem;
}

.service-search .input-group {
    position: relative;
    margin-bottom: 0.5rem;
}

.service-search .search-icon {
    position: absolute;
    right: 1rem;
    top: 66%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.service-search input[type="text"] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    background: var(--surface-secondary);
    border: 2px solid var(--border-secondary);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.service-search input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Mobile wallet textarea for long addresses */
.wallet-textarea-mobile{
    width:100%;
    resize: vertical;
    min-height: 3.5rem;
    max-height: 8rem;
    background: var(--surface-secondary);
    border: 2px solid var(--border-secondary);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    box-sizing:border-box;
}

.wallet-textarea-mobile:focus{
    outline:none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.service-search .search-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.service-search .search-info i {
    color: var(--primary-color);
}

.no-results-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    background: var(--surface-secondary);
    border: 2px dashed var(--border-secondary);
    border-radius: 12px;
    margin: 1rem 0;
}

.no-results-message i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Services Count Display */
.services-count-container {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services-count-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    flex-direction: column;
}

.services-count-info i {
    color: var(--primary-color);
    font-size: 1rem;
}

.count-text {
    color: var(--text-primary);
    font-weight: 600;
}

.services-count-info small {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 400;
}

/* Crypto Options */
.crypto-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.col-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
}


.crypto-option {
    position: relative;
}

.crypto-option input[type="radio"],
.area-code-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.crypto-option label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--surface-secondary);
    border: 2px solid var(--border-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.crypto-option label:hover {
    background: var(--surface-tertiary);
    border-color: rgba(122, 92, 245, 0.3);
}

.proxy-type-option label{
    align-items:center;
    gap:1rem;
}

.proxy-type-thumb{
    width:60px;
    height:60px;
    border-radius:14px;
    object-fit:cover;
    border:1px solid var(--border-secondary);
    background:rgba(255,255,255,0.08);
    box-shadow:0 6px 14px rgba(0,0,0,0.2);
}

.proxy-type-info{
    display:flex;
    flex-direction:column;
    gap:0.2rem;
}

.proxy-type-info span{
    font-weight:600;
    color:var(--text-primary);
}

.proxy-price{
    display:block;
    font-size:1.1rem;
    font-weight:700;
    color:var(--primary-color);
    letter-spacing:0.02em;
}

.crypto-option input[type="radio"]:checked + label {
    background: rgba(122, 92, 245, 0.1);
    border-color: #7a5cf5;
    color: #7a5cf5;
}

/* Bitcoin specific styling */
.crypto-option input[type="radio"][value="btc"]:checked + label {
    background: rgba(247, 147, 26, 0.1);
    border-color: #f7931a;
    color: #f7931a;
}

.crypto-option input[type="radio"][value="btc"] + label:hover {
    border-color: rgba(247, 147, 26, 0.3);
}

.crypto-option input[type="radio"][value="btc"] + label i {
    color: #f7931a;
}

/* Litecoin specific styling */
.crypto-option input[type="radio"][value="ltc"]:checked + label {
    background: rgba(191, 187, 187, 0.1);
    border-color: #bfbbbb;
    color: #bfbbbb;
}

.crypto-option input[type="radio"][value="ltc"] + label:hover {
    border-color: rgba(191, 187, 187, 0.3);
}

.crypto-option input[type="radio"][value="ltc"] + label i {
    color: #bfbbbb;
}

/* Monero specific styling */
.crypto-option input[type="radio"][value="xmr"]:checked + label {
    background: rgba(255, 102, 0, 0.1);
    border-color: #ff6600;
    color: #ff6600;
}

.crypto-option input[type="radio"][value="xmr"] + label:hover {
    border-color: rgba(255, 102, 0, 0.3);
}

.crypto-option input[type="radio"][value="xmr"] + label i {
    color: #ff6600;
}

/* USDT specific styling */
.crypto-option input[type="radio"][value="usdt"]:checked + label {
    background: rgba(38, 161, 123, 0.1);
    border-color: #26a17b;
    color: #26a17b;
}

.crypto-option input[type="radio"][value="usdt"] + label:hover {
    border-color: rgba(38, 161, 123, 0.3);
}

.crypto-option input[type="radio"][value="usdt"] + label i {
    color: #26a17b;
}

.crypto-option label i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Icon hover effects */
.crypto-option input[type="radio"][value="btc"] + label:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
}

.crypto-option input[type="radio"][value="ltc"] + label:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(191, 187, 187, 0.5);
}

.crypto-option input[type="radio"][value="xmr"] + label:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

.crypto-option input[type="radio"][value="usdt"] + label:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(38, 161, 123, 0.5);
}

/* Selected state icon effects */
.crypto-option input[type="radio"][value="btc"]:checked + label i {
    text-shadow: 0 0 15px rgba(247, 147, 26, 0.7);
    transform: scale(1.05);
}

.crypto-option input[type="radio"][value="ltc"]:checked + label i {
    text-shadow: 0 0 15px rgba(191, 187, 187, 0.7);
    transform: scale(1.05);
}

.crypto-option input[type="radio"][value="xmr"]:checked + label i {
    text-shadow: 0 0 15px rgba(255, 102, 0, 0.7);
    transform: scale(1.05);
}

.crypto-option input[type="radio"][value="usdt"]:checked + label i {
    text-shadow: 0 0 15px rgba(38, 161, 123, 0.7);
    transform: scale(1.05);
}

.crypto-option label span {
    font-weight: 500;
}

/* Crypto Options Grid */
.crypto-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

.crypto-option {
    position: relative;
    width: 100%;
}

/* JSF selectOneRadio styling */
.crypto-radio-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

.crypto-radio-group .ui-radiobutton {
    display: none;
}

.crypto-radio-group .ui-radiobutton-box {
    display: none;
}

.crypto-radio-group .ui-radiobutton-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--surface-secondary);
    border: 2px solid var(--border-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    text-align: left;
    min-height: 60px;
    width: 100%;
    box-sizing: border-box;
}

/* Add icons to each radio button label */
.crypto-radio-group .ui-radiobutton[value="btc"] + .ui-radiobutton-label::before {
    content: '\f15a';
    font-family: 'Font Awesome 5 Brands';
    font-size: 1.5rem;
    color: #f7931a;
    margin-right: 0.75rem;
}

.crypto-radio-group .ui-radiobutton[value="ltc"] + .ui-radiobutton-label::before {
    content: '\f51e';
    font-family: 'Font Awesome 5 Free';
    font-size: 1.5rem;
    color: #bfbbbb;
    margin-right: 0.75rem;
}

.crypto-radio-group .ui-radiobutton[value="xmr"] + .ui-radiobutton-label::before {
    content: '\f3ed';
    font-family: 'Font Awesome 5 Free';
    font-size: 1.5rem;
    color: #ff6600;
    margin-right: 0.75rem;
}

.crypto-radio-group .ui-radiobutton[value="usdt"] + .ui-radiobutton-label::before {
    content: '\f155';
    font-family: 'Font Awesome 5 Free';
    font-size: 1.5rem;
    color: #26a17b;
    margin-right: 0.75rem;
}

/* Individual crypto colors and hover effects */
.crypto-radio-group .ui-radiobutton[value="btc"]:checked + .ui-radiobutton-label {
    background: rgba(247, 147, 26, 0.1);
    border-color: #f7931a;
    color: #f7931a;
}

.crypto-radio-group .ui-radiobutton[value="btc"] + .ui-radiobutton-label:hover {
    border-color: rgba(247, 147, 26, 0.3);
}

.crypto-radio-group .ui-radiobutton[value="ltc"]:checked + .ui-radiobutton-label {
    background: rgba(191, 187, 187, 0.1);
    border-color: #bfbbbb;
    color: #bfbbbb;
}

.crypto-radio-group .ui-radiobutton[value="ltc"] + .ui-radiobutton-label:hover {
    border-color: rgba(191, 187, 187, 0.3);
}

.crypto-radio-group .ui-radiobutton[value="xmr"]:checked + .ui-radiobutton-label {
    background: rgba(255, 102, 0, 0.1);
    border-color: #ff6600;
    color: #ff6600;
}

.crypto-radio-group .ui-radiobutton[value="xmr"] + .ui-radiobutton-label:hover {
    border-color: rgba(255, 102, 0, 0.3);
}

.crypto-radio-group .ui-radiobutton[value="usdt"]:checked + .ui-radiobutton-label {
    background: rgba(38, 161, 123, 0.1);
    border-color: #26a17b;
    color: #26a17b;
}

.crypto-radio-group .ui-radiobutton[value="usdt"] + .ui-radiobutton-label:hover {
    border-color: rgba(38, 161, 123, 0.3);
}

.crypto-option label:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(122, 92, 245, 0.3);
    transform: translateY(-2px);
}

.crypto-option input[type="radio"]:checked + label {
    background: rgba(122, 92, 245, 0.1);
    border-color: #7a5cf5;
    color: #7a5cf5;
    box-shadow: 0 4px 12px rgba(122, 92, 245, 0.2);
}

/* Add icons to labels */
.crypto-radio-group .ui-radiobutton-label::before {
    content: '';
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.crypto-radio-group .ui-radiobutton:checked + .ui-radiobutton-label::before {
    background: #7a5cf5;
    border-color: #7a5cf5;
    box-shadow: 0 0 0 3px rgba(122, 92, 245, 0.2);
}

.crypto-radio-group .ui-radiobutton-label::after {
    content: '';
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 20px;
    height: 20px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.crypto-radio-group .ui-radiobutton:checked + .ui-radiobutton-label::after {
    background: white;
    transform: scale(0.3);
}

/* Add icons to each option - using different selectors for JSF */
.crypto-radio-group .ui-radiobutton[value="btc"] + .ui-radiobutton-label::before,
.crypto-radio-group .ui-radiobutton[value="btc"] .ui-radiobutton-label::before {
    content: '₿';
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #f7931a;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

.crypto-radio-group .ui-radiobutton[value="ltc"] + .ui-radiobutton-label::before,
.crypto-radio-group .ui-radiobutton[value="ltc"] .ui-radiobutton-label::before {
    content: 'Ł';
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #bfbbbb;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

.crypto-radio-group .ui-radiobutton[value="xmr"] + .ui-radiobutton-label::before,
.crypto-radio-group .ui-radiobutton[value="xmr"] .ui-radiobutton-label::before {
    content: 'ɱ';
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #ff6600;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

.crypto-radio-group .ui-radiobutton[value="usdt"] + .ui-radiobutton-label::before,
.crypto-radio-group .ui-radiobutton[value="usdt"] .ui-radiobutton-label::before {
    content: '$';
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #26a17b;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

/* Bitcoin specific styling */
.crypto-option input[type="radio"][value="btc"]:checked + label {
    background: rgba(247, 147, 26, 0.1);
    border-color: #f7931a;
    color: #f7931a;
}

.crypto-option input[type="radio"][value="btc"] + label:hover {
    border-color: rgba(247, 147, 26, 0.3);
}

.crypto-option input[type="radio"][value="btc"] + label i {
    color: #f7931a;
}

.crypto-option input[type="radio"][value="btc"]:checked + label i {
    text-shadow: 0 0 15px rgba(247, 147, 26, 0.7);
    transform: scale(1.05);
}

/* Litecoin specific styling */
.crypto-option input[type="radio"][value="ltc"]:checked + label {
    background: rgba(191, 187, 187, 0.1);
    border-color: #bfbbbb;
    color: #bfbbbb;
}

.crypto-option input[type="radio"][value="ltc"] + label:hover {
    border-color: rgba(191, 187, 187, 0.3);
}

.crypto-option input[type="radio"][value="ltc"] + label i {
    color: #bfbbbb;
}

.crypto-option input[type="radio"][value="ltc"]:checked + label i {
    text-shadow: 0 0 15px rgba(191, 187, 187, 0.7);
    transform: scale(1.05);
}

/* Monero specific styling */
.crypto-option input[type="radio"][value="xmr"]:checked + label {
    background: rgba(255, 102, 0, 0.1);
    border-color: #ff6600;
    color: #ff6600;
}

.crypto-option input[type="radio"][value="xmr"] + label:hover {
    border-color: rgba(255, 102, 0, 0.3);
}

.crypto-option input[type="radio"][value="xmr"] + label i {
    color: #ff6600;
}

.crypto-option input[type="radio"][value="xmr"]:checked + label i {
    text-shadow: 0 0 15px rgba(255, 102, 0, 0.7);
    transform: scale(1.05);
}

/* USDT specific styling */
.crypto-option input[type="radio"][value="usdt"]:checked + label {
    background: rgba(38, 161, 123, 0.1);
    border-color: #26a17b;
    color: #26a17b;
}

.crypto-option input[type="radio"][value="usdt"] + label:hover {
    border-color: rgba(38, 161, 123, 0.3);
}

.crypto-option input[type="radio"][value="usdt"] + label i {
    color: #26a17b;
}

.crypto-option input[type="radio"][value="usdt"]:checked + label i {
    text-shadow: 0 0 15px rgba(38, 161, 123, 0.7);
    transform: scale(1.05);
}

/* Litecoin specific styling for JSF */
.crypto-radio-group .ui-radiobutton[value="ltc"]:checked + .ui-radiobutton-label {
    background: rgba(191, 187, 187, 0.1);
    border-color: #bfbbbb;
    color: #bfbbbb;
}

.crypto-radio-group .ui-radiobutton[value="ltc"] + .ui-radiobutton-label:hover {
    border-color: rgba(191, 187, 187, 0.3);
}

.crypto-radio-group .ui-radiobutton[value="ltc"]:checked + .ui-radiobutton-label::before {
    background: #bfbbbb;
    border-color: #bfbbbb;
    box-shadow: 0 0 0 3px rgba(191, 187, 187, 0.2);
}

/* Monero specific styling for JSF */
.crypto-radio-group .ui-radiobutton[value="xmr"]:checked + .ui-radiobutton-label {
    background: rgba(255, 102, 0, 0.1);
    border-color: #ff6600;
    color: #ff6600;
}

.crypto-radio-group .ui-radiobutton[value="xmr"] + .ui-radiobutton-label:hover {
    border-color: rgba(255, 102, 0, 0.3);
}

.crypto-radio-group .ui-radiobutton[value="xmr"]:checked + .ui-radiobutton-label::before {
    background: #ff6600;
    border-color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
}

/* USDT specific styling for JSF */
.crypto-radio-group .ui-radiobutton[value="usdt"]:checked + .ui-radiobutton-label {
    background: rgba(38, 161, 123, 0.1);
    border-color: #26a17b;
    color: #26a17b;
}

.crypto-radio-group .ui-radiobutton[value="usdt"] + .ui-radiobutton-label:hover {
    border-color: rgba(38, 161, 123, 0.3);
}

.crypto-radio-group .ui-radiobutton[value="usdt"]:checked + .ui-radiobutton-label::before {
    background: #26a17b;
    border-color: #26a17b;
    box-shadow: 0 0 0 3px rgba(38, 161, 123, 0.2);
}

/* Litecoin specific styling for JSF */
.crypto-radio-group .ui-radiobutton[value="ltc"]:checked + .ui-radiobutton-label {
    background: rgba(191, 187, 187, 0.1);
    border-color: #bfbbbb;
    color: #bfbbbb;
}

.crypto-radio-group .ui-radiobutton[value="ltc"] + .ui-radiobutton-label:hover {
    border-color: rgba(191, 187, 187, 0.3);
}

/* Monero specific styling for JSF */
.crypto-radio-group .ui-radiobutton[value="xmr"]:checked + .ui-radiobutton-label {
    background: rgba(255, 102, 0, 0.1);
    border-color: #ff6600;
    color: #ff6600;
}

.crypto-radio-group .ui-radiobutton[value="xmr"] + .ui-radiobutton-label:hover {
    border-color: rgba(255, 102, 0, 0.3);
}

/* Amount Inputs */
.amount-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.input-group input {
    padding: 0.75rem;
    background: var(--surface-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #7a5cf5;
    box-shadow: 0 0 0 3px rgba(122, 92, 245, 0.1);
}

/* Address Info */
.address-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: rgba(239, 68, 68);
    font-size: 0.9rem;
}

/* Order Summary */
.order-summary {
    background: var(--surface-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 12px;
    padding: 1.5rem;
}

.summary-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
}

.summary-column {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .summary-columns {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .order-summary {
        padding: 1rem;
    }

    .summary-item {
        /* stack label + value vertically on phones */
        display: flex;
        flex-direction: column;
        align-items: start !important;
        justify-content: start !important;
        gap: 0.25rem;
        padding: 0.4rem 0;
    }

    .summary-item.total {
        font-size: 1.1rem !important;
        padding: 0.75rem !important;
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    .summary-item.total span:last-child {
        font-size: 1.2rem !important;
    }

    .summary-item span:last-child {
        max-width: 100% !important;
        font-size: 0.85rem !important;
        text-align: left !important;
    }

    /* Let long wallet addresses wrap instead of overflowing */
    #summaryAddress {
        white-space: normal !important;
        word-break: break-all !important;
    }
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.summary-item.total {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
    border-top: 2px solid rgba(34, 197, 94, 0.3);
    margin-top: 0.5rem;
    padding-top: 1rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 8px;
    padding: 1rem;
}

.summary-item.total span:first-child {
    color: #22c55e;
    font-weight: 700;
}

.summary-item.total span:last-child {
    color: #22c55e;
    font-weight: 700;
    font-size: 1.4rem;
}

.summary-item span:first-child {
    color: var(--text-secondary);
}

.summary-item span:last-child {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Special styling for wallet addresses */
#summaryAddress {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    cursor: help;
    word-break: keep-all;
    white-space: nowrap;
}

/* Payment Options */
.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.payment-option {
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--surface-secondary);
    border: 2px solid var(--border-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    text-align: center;
}

.payment-option label:hover {
    background: var(--surface-tertiary);
    border-color: rgba(122, 92, 245, 0.3);
}

.payment-option input[type="radio"]:checked + label {
    background: rgba(122, 92, 245, 0.1);
    border-color: #7a5cf5;
    color: #7a5cf5;
}

/* Hubtel Payment - Green Bluish */
.payment-option input[type="radio"][value="hubtel"]:checked + label {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
}

.payment-option input[type="radio"][value="hubtel"] + label:hover {
    border-color: rgba(34, 197, 94, 0.3);
}

.payment-option input[type="radio"][value="hubtel"] + label i {
    color: #22c55e;
}

/* Redde Payment - Red Whitish */
.payment-option input[type="radio"][value="redde"]:checked + label {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.payment-option input[type="radio"][value="redde"] + label:hover {
    border-color: rgba(239, 68, 68, 0.3);
}

.payment-option input[type="radio"][value="redde"] + label i {
    color: #ef4444;
}

.payment-option label i {
    font-size: 2rem;
}

.payment-option label span {
    font-weight: 500;
    font-size: 1.1rem;
}

.payment-option label small {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 0.25rem;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
}

/* Group for prev/next/complete buttons */
.step-nav-main{
    display:flex;
    align-items:center;
    gap:1rem;
    flex:1;
}

/* Mobile variant for step navigation (activated via extra class) */
.step-navigation--mobile{
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.step-navigation--mobile .step-nav-main{
    justify-content: space-between;
}

.step-navigation--mobile .step-nav-main .btn,
.step-navigation--mobile .step-nav-main .ui-button{
    flex:1 1 0;
    justify-content:center;
}

/* Cancel button full-width on its own row */
.step-navigation--mobile .btn-cancel,
.step-navigation--mobile .ui-button.btn-cancel{
    width:50%;
}

/* Cancel Button */
.btn-cancel {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--text-primary);
    border: 2px solid #ef4444;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-cancel:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Cancel Dialog Styling */
.cancel-dialog {
    z-index: 10000 !important;
}

.cancel-dialog .ui-dialog {
    z-index: 10001 !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: var(--surface-secondary) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid var(--border-secondary) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border-secondary) !important;
}

.cancel-dialog .ui-dialog-titlebar {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    padding: 1rem 1.5rem !important;
    border-radius: 16px 16px 0 0 !important;
}

.cancel-dialog .ui-dialog-content {
    background: transparent !important;
    color: var(--text-primary) !important;
    padding: 0 !important;
    border-radius: 0 0 16px 16px !important;
}

.cancel-dialog .ui-widget-overlay {
    z-index: 10000 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Ensure dialog appears on top of everything */
.ui-dialog {
    z-index: 10001 !important;
}

.ui-widget-overlay {
    z-index: 10000 !important;
}

/* Custom backdrop for non-modal dialog */
.cancel-dialog-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
}

.cancel-dialog-backdrop.show {
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary {
    background: var(--surface-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #7a5cf5, #8c72ff);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(122, 92, 245, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(122, 92, 245, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* JSF Command Button Styling */
.ui-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    font-family: var(--font-family) !important;
}

/* Ensure button content flows properly */
.ui-button {
    text-align: center !important;
    white-space: nowrap !important;
    position: relative !important;
}

.ui-button .ui-button-text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.ui-button i {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
}

/* Button variants for JSF */
.ui-button.btn-primary {
    background: linear-gradient(135deg, #7a5cf5, #8c72ff) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 12px rgba(122, 92, 245, 0.3) !important;
}

.ui-button.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(122, 92, 245, 0.4) !important;
}

.ui-button.btn-secondary {
    background: var(--surface-secondary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-secondary) !important;
}

.ui-button.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px) !important;
}

.ui-button.btn-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

.ui-button.btn-success:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4) !important;
}

/* Arrow Button Styles */
.btn-with-arrow-left::before {
    content: '←';
    margin-right: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
}

.btn-with-arrow-right::after {
    content: '→';
    margin-left: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
}

.btn-with-check::after {
    content: '✓';
    margin-left: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
}

/* JSF Button Arrow Styles */
.ui-button.btn-with-arrow-left::before {
    content: '←';
    margin-right: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
}

.ui-button.btn-with-arrow-right::after {
    content: '→';
    margin-left: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
}

.ui-button.btn-with-check::after {
    content: '✓';
    margin-left: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
}

/* Responsive Design for Step Content */
@media (max-width: 768px) {
    .crypto-options {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .amount-inputs {
        grid-template-columns: 1fr;
    }

    .payment-options {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    /* Default: buttons full-width on small screens */
    .btn,
    .ui-button {
        width: 100%;
        justify-content: center;
    }

    /* For step bars without the mobile modifier, keep buttons in a single row */
    .step-navigation:not(.step-navigation--mobile) {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .step-navigation:not(.step-navigation--mobile) .btn,
    .step-navigation:not(.step-navigation--mobile) .ui-button {
        width: auto;
        flex: 1 1 0;
        justify-content: center;
    }

    .step-navigation:not(.step-navigation--mobile) .btn-cancel,
    .step-navigation:not(.step-navigation--mobile) .ui-button.btn-cancel {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .crypto-options {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .crypto-option label {
        padding: 0.75rem;
        min-height: 50px;
    }
}

/* Medium screens - 2 columns for amount inputs */
@media (max-width: 1024px) and (min-width: 769px) {
    .amount-inputs {
        grid-template-columns: 1fr 1fr;
    }
}

/* Quantity Options Styles */
.quantity-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.quantity-presets h4,
.custom-quantity h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.quantity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.quantity-option {
    position: relative;
}

.quantity-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.quantity-option label {
    display: block;
    padding: 1rem;
    background: var(--surface-primary);
    border: 2px solid var(--border-primary);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.quantity-option label:hover {
    background: var(--surface-tertiary);
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-primary);
}

.quantity-option input[type="radio"]:checked + label {
    background: var(--gradient-secondary);
    border-color: var(--primary-light);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-primary);
}

.custom-quantity {
    background: var(--surface-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-secondary);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
}

/* Responsive adjustments for quantity grid */
@media (max-width: 768px) {
    .quantity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .quantity-option label {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .quantity-options {
        gap: 1.5rem;
    }
}

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

/* Phone Number Input Styles */
.phone-input-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.area-code-selection h4,
.phone-number-input h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.area-code-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.area-code-option {
    position: relative;
}

.area-code-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.area-code-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.75rem;
    background: var(--surface-primary);
    border: 2px solid var(--border-primary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    text-align: center;
}

.area-code-option label:hover {
    background: var(--surface-tertiary);
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-primary);
}

.area-code-option input[type="radio"]:checked + label,
.area-code-option input[type="checkbox"]:checked + label {
    background: var(--gradient-secondary);
    border-color: var(--primary-light);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-primary);
}

.area-code-number {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.area-code-state {
    font-size: 0.85rem;
    opacity: 0.8;
}

.phone-number-input {
    background: var(--surface-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-secondary);
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(107, 70, 193, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.phone-info i {
    color: var(--primary-color);
    font-size: 1rem;
}

.phone-error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-error-message::before {
    content: "⚠";
    font-size: 1rem;
}

/* Payment Section Styles */
.payment-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-secondary);
}

.payment-section h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

/* Responsive adjustments for area code grid */
@media (max-width: 768px) {
    .area-code-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.5rem;
    }

    .area-code-option label {
        padding: 0.75rem 0.5rem;
    }

    .area-code-number {
        font-size: 1rem;
    }

    .area-code-state {
        font-size: 0.8rem;
    }

    .phone-input-section {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .area-code-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .area-code-option label {
        padding: 0.5rem;
    }
}

/* View More Link Styling */
.view-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(107, 70, 193, 0.3);
    position: relative;
    overflow: hidden;
}

.view-more-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.view-more-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(107, 70, 193, 0.4);
    color: var(--text-primary);
    text-decoration: none;
}

.view-more-link:hover::before {
    left: 100%;
}

.view-more-link i:first-child {
    font-size: 1.1rem;
}

.view-more-link i:last-child {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.view-more-link:hover i:last-child {
    transform: translateX(4px);
}

/* ===================== GLOBAL SPINNER ENHANCEMENT ===================== */

/* Global Spinner Dialog Enhancement */
.global-spinner-dialog.ui-dialog {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.global-spinner-dialog .ui-dialog-content {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.global-spinner-content {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 2px solid var(--border-accent);
    border-radius: 20px;
    padding: 32px 40px;
    box-shadow:
        0 20px 40px var(--shadow-primary),
        0 8px 16px var(--shadow-secondary),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-family);
    backdrop-filter: blur(10px);
    animation: globalSpinnerSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 200px;
    max-width: 300px;
    margin: 0 auto;
}

.global-spinner-icon {
    color: var(--primary-light);
    font-size: 2rem;
    animation: globalSpinnerRotate 1.5s linear infinite;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.5));
}

.global-spinner-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spinner-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.spinner-subtitle {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Enhanced glow effect for darker themes */
body.dark-theme .global-spinner-content,
.dark-theme .global-spinner-content {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-color: var(--primary-color);
    box-shadow:
        0 20px 40px var(--shadow-primary),
        0 8px 16px var(--shadow-secondary),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 20px rgba(107, 70, 193, 0.3);
}

body.dark-theme .global-spinner-icon,
.dark-theme .global-spinner-icon {
    color: var(--primary-light);
    filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.7));
}

/* Global spinner animations */
@keyframes globalSpinnerSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

/* Responsive global spinner */
@media (max-width: 768px) {
    .global-spinner-content {
        padding: 24px 28px;
        border-radius: 16px;
        min-width: 180px;
        max-width: 280px;
    }

    .global-spinner-icon {
        font-size: 1.75rem;
    }

    .spinner-title {
        font-size: 0.9rem;
    }

    .spinner-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .global-spinner-content {
        padding: 20px 24px;
        border-radius: 12px;
        min-width: 160px;
        max-width: 240px;
        gap: 12px;
    }

    .global-spinner-icon {
        font-size: 1.5rem;
    }

    .spinner-title {
        font-size: 0.85rem;
    }
}

/* ===== MERCHANT NOTIFICATION DIALOG ===== */
/* Force dialog to appear on top with very high z-index */
.ui-dialog.merchant-notification-dialog {
    z-index: 99999 !important;
}

.ui-dialog.merchant-notification-dialog .ui-dialog-content {
    padding: 20px;
    z-index: 99999 !important;
}

.ui-dialog.merchant-notification-dialog .ui-dialog-titlebar {
    z-index: 99999 !important;
}

.ui-dialog.merchant-notification-dialog .ui-dialog-buttonpane {
    z-index: 99999 !important;
}

/* Overlay z-index */
.ui-widget-overlay {
    z-index: 99998 !important;
}

/* Additional targeting for PrimeFaces dialog structure */
div[id*="notifyMerchantDialog"] {
    z-index: 99999 !important;
}

div[id*="notifyMerchantDialog"] .ui-dialog {
    z-index: 99999 !important;
}

/* Ensure it appears above everything */
body .ui-dialog.merchant-notification-dialog,
body div[id*="notifyMerchantDialog"] {
    z-index: 99999 !important;
    position: fixed !important;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
}

.notification-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.notification-message {
    flex: 1;
}

.notification-message h4 {
    margin: 0 0 10px 0;
    color: #bbb1c9;
    font-size: 1.2rem;
    font-weight: 600;
}

.notification-message p {
    margin: 0 0 8px 0;
    color: #5a6c7d;
    line-height: 1.5;
    font-size: 0.95rem;
}

.notification-message p:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.dialog-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.dialog-buttons .btn {
    min-width: 80px;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dialog-buttons .btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    color: white;
}

.dialog-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Responsive adjustments for dialog */
@media (max-width: 480px) {
    .merchant-notification-dialog .ui-dialog {
        width: 95% !important;
        margin: 10px auto !important;
    }
    
    .notification-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .notification-icon {
        align-self: center;
    }
}
