* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px
}

::-webkit-scrollbar-track {
    background: transparent
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0ea5e9, #6366f1);
    border-radius: 10px
}

.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3)
}

.dark .glass {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1)
}

.glass-sidebar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border-right: 1px solid rgba(0, 0, 0, 0.06)
}

.dark .glass-sidebar {
    background: rgba(15, 23, 42, 0.97);
    border-right: 1px solid rgba(255, 255, 255, 0.08)
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.04)
}

.dark .glass-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08)
}

.gradient-text {
    background: linear-gradient(135deg, #0ea5e9, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.btn-ripple {
    position: relative;
    overflow: hidden
}

.btn-ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10);
    opacity: 0;
    transition: transform .5s, opacity 1s
}

.btn-ripple:active::after {
    transform: scale(0);
    opacity: .3;
    transition: 0s
}

.sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    gap: 12px;
    text-decoration: none;
    white-space: nowrap
}

.sidebar-link:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.1));
    color: #0ea5e9;
    transform: translateX(4px)
}

.sidebar-link.active {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: white;
    box-shadow: 0 8px 25px -5px rgba(14, 165, 233, 0.4)
}

.sidebar-link.active i {
    color: white
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 15px;
    flex-shrink: 0
}

.dark .sidebar-link {
    color: #94a3b8
}

.dark .sidebar-link:hover {
    color: #38bdf8;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.15))
}

.dark .sidebar-link.active {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: white
}

.sidebar-tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 12px;
    background: #0f172a;
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 999
}

.sidebar-link:hover .sidebar-tooltip {
    opacity: 1
}

.sidebar-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #0f172a
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes dot-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5
    }
}

@keyframes music-bounce {

    0%,
    100% {
        transform: scaleY(1)
    }

    50% {
        transform: scaleY(0.3)
    }
}

@keyframes card-shine {
    0% {
        background-position: -200% 0
    }

    100% {
        background-position: 200% 0
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(14, 165, 233, 0.4)
    }

    50% {
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.8)
    }
}

@keyframes checkmark {
    0% {
        stroke-dashoffset: 100
    }

    100% {
        stroke-dashoffset: 0
    }
}

@keyframes success-scale {
    0% {
        transform: scale(0)
    }

    70% {
        transform: scale(1.1)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes spinner {
    to {
        transform: rotate(360deg)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease forwards
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease forwards
}

.animate-scale-in {
    animation: scaleIn 0.4s ease forwards
}

.animate-float {
    animation: float 3s ease-in-out infinite
}

.delay-100 {
    animation-delay: .1s
}

.delay-200 {
    animation-delay: .2s
}

.delay-300 {
    animation-delay: .3s
}

.delay-400 {
    animation-delay: .4s
}

.delay-500 {
    animation-delay: .5s
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    gap: 4px
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669
}

.dark .badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399
}

.badge-info {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7
}

.dark .badge-info {
    background: rgba(14, 165, 233, 0.2);
    color: #38bdf8
}

.badge-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed
}

.dark .badge-purple {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706
}

.dark .badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid white;
    animation: dot-pulse 2s infinite
}

.dark .notification-dot {
    border-color: #0f172a
}

.music-wave {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px
}

.music-bar {
    width: 3px;
    background: linear-gradient(to top, #0ea5e9, #6366f1);
    border-radius: 2px;
    animation: music-bounce 0.8s ease infinite
}

.music-bar:nth-child(1) {
    height: 40%
}

.music-bar:nth-child(2) {
    height: 70%;
    animation-delay: .1s
}

.music-bar:nth-child(3) {
    height: 50%;
    animation-delay: .2s
}

.music-bar:nth-child(4) {
    height: 90%;
    animation-delay: .3s
}

.music-bar:nth-child(5) {
    height: 60%;
    animation-delay: .4s
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 14px 22px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2)
}

.grid {
    min-width: 0
}

.grid>* {
    min-width: 0
}

main {
    overflow-x: hidden
}

/* ===== PAYMENT SPECIFIC STYLES ===== */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0
}

.step-completed {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white
}

.step-active {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: white;
    animation: glow-pulse 2s infinite
}

.step-pending {
    background: #e2e8f0;
    color: #94a3b8
}

.dark .step-pending {
    background: #334155;
    color: #64748b
}

.step-line {
    width: 30px;
    height: 2px;
    background: #e2e8f0
}

.dark .step-line {
    background: #334155
}

.step-line.done {
    background: linear-gradient(90deg, #10b981, #059669)
}

.payment-method {
    padding: 16px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent
}

.dark .payment-method {
    border-color: #334155
}

.payment-method:hover {
    border-color: #0ea5e9;
    background: rgba(14, 165, 233, 0.02)
}

.payment-method.active {
    border-color: #0ea5e9;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(99, 102, 241, 0.08));
    box-shadow: 0 8px 20px -8px rgba(14, 165, 233, 0.3)
}

.dark .payment-method.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(99, 102, 241, 0.12))
}

.credit-card-preview {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    border-radius: 20px;
    padding: 24px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3)
}

.credit-card-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    background-size: 200% 100%;
    animation: card-shine 4s ease-in-out infinite
}

.credit-card-preview.visa {
    background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 50%, #0369a1 100%)
}

.credit-card-preview.mastercard {
    background: linear-gradient(135deg, #dc2626 0%, #f59e0b 50%, #dc2626 100%)
}

.credit-card-preview.amex {
    background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 100%)
}

.card-chip {
    width: 44px;
    height: 34px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 6px;
    position: relative
}

.card-chip::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px
}

.card-chip::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 2px
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    transition: all 0.3s;
    outline: none
}

.dark .form-input {
    background: #1e293b;
    color: #e2e8f0
}

.form-input:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1)
}

.form-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    display: block
}

.dark .form-label {
    color: #94a3b8
}

.toggle-switch {
    position: relative;
    width: 40px;
    height: 22px;
    background: #cbd5e1;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s
}

.dark .toggle-switch {
    background: #475569
}

.toggle-switch.on {
    background: linear-gradient(135deg, #0ea5e9, #6366f1)
}

.toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2)
}

.toggle-switch.on .toggle-knob {
    left: 20px
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.dark .checkbox-custom {
    border-color: #475569
}

.checkbox-custom.checked {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    border-color: #0ea5e9
}

.checkbox-custom.checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 10px
}

.divider-text {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0
}

.dark .divider-text::before,
.dark .divider-text::after {
    background: #334155
}

.divider-text span {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite
}

.success-check {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: success-scale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards
}

.promo-input {
    border: 2px dashed #cbd5e1;
    background: transparent
}

.dark .promo-input {
    border-color: #475569
}

@media(max-width:1024px) {
    .sidebar-desktop {
        display: none
    }
}

@media(min-width:1025px) {
    .mobile-sidebar-btn {
        display: none
    }
}