/**
 * Sistema de Reposição - Estilos Premium
 * Design moderno com efeitos visuais avançados
 */

/* =====================================================
   CSS Reset e Variáveis
   ===================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Cores principais */
    --primary: #7300ff;
    --primary-light: #9b4dff;
    --primary-lighter: #b57aff;
    --primary-dark: #5a00cc;
    --primary-glow: rgba(115, 0, 255, 0.5);
    --primary-soft: rgba(115, 0, 255, 0.15);
    
    /* Cores de fundo */
    --bg-dark: #050208;
    --bg-card: rgba(20, 10, 35, 0.85);
    --bg-card-solid: #140a23;
    
    /* Texto */
    --text-white: #ffffff;
    --text-light: #e8e0f5;
    --text-muted: #9b8ab8;
    --text-dark: #1a1a2e;
    
    /* Status */
    --success: #10b981;
    --success-soft: rgba(16, 185, 129, 0.15);
    --error: #ef4444;
    --error-soft: rgba(239, 68, 68, 0.15);
    --warning: #f59e0b;
    
    /* Bordas e sombras */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(115, 0, 255, 0.3);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

/* =====================================================
   Efeitos de Fundo Animados
   ===================================================== */

.bg-effects {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Orbs animados */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
    animation-duration: 30s;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

/* Grid overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(115, 0, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(115, 0, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Partículas flutuantes */
.particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.15), transparent),
                      radial-gradient(2px 2px at 40px 70px, rgba(115, 0, 255, 0.2), transparent),
                      radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.1), transparent),
                      radial-gradient(2px 2px at 130px 80px, rgba(115, 0, 255, 0.15), transparent),
                      radial-gradient(1px 1px at 160px 30px, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200px 100px;
    animation: particleFloat 60s linear infinite;
}

@keyframes particleFloat {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100px);
    }
}

/* =====================================================
   Container Principal
   ===================================================== */

.container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 1;
}

/* =====================================================
   Status Badge
   ===================================================== */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #10b981;
    animation: fadeInDown 0.6s ease;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   Header
   ===================================================== */

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.logo-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glow {
    position: absolute;
    inset: -10px;
    background: var(--primary);
    border-radius: 24px;
    filter: blur(30px);
    opacity: 0.5;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.logo-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #a855f7 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 40px rgba(115, 0, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: iconFloat 4s ease-in-out infinite;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Título */
.title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.title-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e8e0f5 50%, var(--primary-lighter) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(115, 0, 255, 0.3);
}

.subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 300px;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
    padding: 16px 24px;
    background: rgba(115, 0, 255, 0.08);
    border: 1px solid rgba(115, 0, 255, 0.15);
    border-radius: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-white);
}

.stat-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(115, 0, 255, 0.3), transparent);
}

/* =====================================================
   Card Principal
   ===================================================== */

.card {
    width: 100%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.main-card {
    background: linear-gradient(135deg, rgba(30, 15, 55, 0.9) 0%, rgba(20, 10, 40, 0.95) 100%);
    border: 1px solid rgba(115, 0, 255, 0.2);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 100px rgba(115, 0, 255, 0.1);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: shine 8s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

.card-content {
    position: relative;
    padding: 32px;
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.card-header-text h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 2px;
}

.card-header-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =====================================================
   Formulário
   ===================================================== */

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Input com ícone */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-icon svg {
    width: 100%;
    height: 100%;
}

.input {
    width: 100%;
    padding: 16px 48px 16px 48px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-white);
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.input::placeholder {
    color: var(--text-muted);
}

.input:hover {
    border-color: rgba(115, 0, 255, 0.3);
}

.input:focus {
    border-color: var(--primary);
    background: rgba(115, 0, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(115, 0, 255, 0.15);
}

.input:focus + .input-status,
.input-wrapper:focus-within .input-icon {
    color: var(--primary);
}

.input-status {
    position: absolute;
    right: 16px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.input.input-valid {
    border-color: var(--success);
}

.input.input-valid ~ .input-status {
    opacity: 1;
    background: var(--success);
    color: white;
}

.input.input-invalid {
    border-color: var(--error);
}

.input.input-invalid ~ .input-status {
    opacity: 1;
    background: var(--error);
    color: white;
}

/* Hint */
.hint {
    font-size: 0.8125rem;
    line-height: 1.4;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hint.is-visible {
    opacity: 1;
    max-height: 40px;
    margin-top: 4px;
}

.hint.is-ok {
    color: var(--success);
}

.hint.is-bad {
    color: var(--error);
}

/* =====================================================
   Botões
   ===================================================== */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #a855f7 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    transition: opacity 0.3s ease;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    z-index: 1;
}

.btn-primary {
    color: white;
    box-shadow: 
        0 10px 30px rgba(115, 0, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 40px rgba(115, 0, 255, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary.is-disabled,
.btn-primary:disabled {
    cursor: not-allowed;
}

.btn-primary.is-disabled .btn-bg,
.btn-primary:disabled .btn-bg {
    background: linear-gradient(135deg, #3d3d4d 0%, #2d2d3d 100%);
    animation: none;
}

.btn-primary.is-disabled,
.btn-primary:disabled {
    box-shadow: none;
}

.btn-primary.is-disabled .btn-content,
.btn-primary:disabled .btn-content {
    color: #6b6b7b;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* =====================================================
   Features
   ===================================================== */

.features {
    display: flex;
    justify-content: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(115, 0, 255, 0.1);
    border: 1px solid rgba(115, 0, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
}

.feature-item:hover .feature-icon {
    background: rgba(115, 0, 255, 0.2);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-item span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* =====================================================
   Área de Status / Banners
   ===================================================== */

.status-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.banner {
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 0.9375rem;
    line-height: 1.5;
    position: relative;
    animation: slideIn 0.3s ease;
    backdrop-filter: blur(10px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner.loading {
    background: rgba(115, 0, 255, 0.1);
    color: var(--primary-lighter);
    border: 1px solid rgba(115, 0, 255, 0.2);
}

.banner.success {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.banner.error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.banner .close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.banner .close-btn:hover {
    opacity: 1;
}

/* =====================================================
   Painel de Resultados
   ===================================================== */

.refil-panel {
    width: 100%;
    background: linear-gradient(135deg, rgba(30, 15, 55, 0.95) 0%, rgba(20, 10, 40, 0.98) 100%);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(115, 0, 255, 0.2);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(115, 0, 255, 0.1);
    position: relative;
    display: none;
    animation: fadeIn 0.3s ease;
}

.refil-panel.is-open {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.refil-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.refil-close svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.refil-close:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.refil-close:hover svg {
    color: #f87171;
}

.refil-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    padding-right: 48px;
}

.refil-title.is-loading {
    color: var(--text-muted);
}

.refil-sub {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Meta information */
.refil-meta {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.refil-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.refil-meta-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.refil-meta-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-white);
}

.refil-link {
    color: var(--primary-light);
    text-decoration: none;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.refil-link:hover {
    color: var(--primary-lighter);
}

.refil-drop {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

/* Message */
.refil-message {
    padding: 16px;
    border-radius: 12px;
    font-size: 0.9375rem;
    margin-bottom: 20px;
    display: none;
}

.refil-message.is-visible {
    display: block;
}

.refil-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.refil-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.refil-message.info {
    background: rgba(115, 0, 255, 0.1);
    color: var(--primary-lighter);
    border: 1px solid rgba(115, 0, 255, 0.2);
}

/* Botão de reorder */
.refil-reorder {
    width: 100%;
    position: relative;
    padding: 16px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.refil-reorder .btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #a855f7 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.refil-reorder .btn-content {
    position: relative;
    color: white;
    z-index: 1;
}

.refil-reorder:not(:disabled) {
    box-shadow: 
        0 10px 30px rgba(115, 0, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.refil-reorder:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 40px rgba(115, 0, 255, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.refil-reorder:disabled {
    background: rgba(60, 60, 80, 0.5);
    color: #6b6b7b;
    cursor: not-allowed;
    box-shadow: none;
}

.refil-reorder:disabled .btn-bg {
    display: none;
}

/* =====================================================
   Footer
   ===================================================== */

.footer {
    text-align: center;
    padding-top: 12px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.footer p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* =====================================================
   Responsivo
   ===================================================== */

@media (max-width: 520px) {
    body {
        padding: 16px;
    }
    
    .container {
        gap: 24px;
    }
    
    .logo-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .logo-icon {
        width: 70px;
        height: 70px;
        border-radius: 18px;
    }
    
    .logo-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .quick-stats {
        gap: 12px;
        padding: 12px 16px;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .card-content {
        padding: 24px;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .features {
        gap: 20px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .refil-panel {
        padding: 24px;
    }
    
    .refil-meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .refil-link {
        max-width: 100%;
    }
}

/* =====================================================
   Animações de Loading
   ===================================================== */

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* =====================================================
   Efeitos hover extras
   ===================================================== */

.main-card:hover {
    border-color: rgba(115, 0, 255, 0.35);
    box-shadow: 
        0 30px 60px -12px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 120px rgba(115, 0, 255, 0.15);
}

/* Focus visible para acessibilidade */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: rgba(115, 0, 255, 0.3);
    color: white;
}
