/* ===== DASHBOARD CSS - GLASSMORPHISM DARK MODE ===== */

/* Importar variáveis do style.css principal */
@import url('./style.css');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@600;700&display=swap');

/* ===== VARIÁVEIS ESPECÍFICAS DA DASHBOARD ===== */
:root {
    --font-title: "Syne", sans-serif;
    --font-body: "Space Grotesk", sans-serif;
    --bg-color: #0b1519;
    --text-color: #f5f2e8;
    --card-bg: rgba(16, 27, 33, 0.82);
    --border-color: rgba(255, 255, 255, 0.08);
    --header-bg: rgba(11, 18, 21, 0.92);
    --form-input-bg: rgba(255, 255, 255, 0.04);
    --primary-color: #f6c453;
    --secondary-color: #3ed6c6;
    --accent-2: #ff6b4a;
    --glass-bg: rgba(16, 27, 33, 0.82);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    --sidebar-width: 280px;
    --sidebar-collapsed: 80px;
    --header-height-dash: 80px;
    --vip-glow: rgba(246, 196, 83, 0.45);
    --ultra-glow: rgba(255, 107, 74, 0.4);
    --success-color: #4ade80;
    --danger-color: #f87171;
    --warning-color: #fbbf24;
    --muted-color: #97a6ad;
}

/* ===== BODY E CONTAINER PRINCIPAL ===== */
body {
    position: relative;
    background:
        radial-gradient(900px 600px at 85% -10%, rgba(246, 196, 83, 0.25), transparent 70%),
        radial-gradient(800px 500px at 10% 15%, rgba(62, 214, 198, 0.18), transparent 70%),
        radial-gradient(700px 480px at 50% 100%, rgba(255, 107, 74, 0.16), transparent 70%),
        linear-gradient(160deg, #0b1519 0%, #0f2027 50%, #0a1115 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-color);
    font-family: var(--font-body);
}

body.dark-theme {
    --bg-color: #0b1519;
    --text-color: #f5f2e8;
    --card-bg: rgba(16, 27, 33, 0.82);
    --border-color: rgba(255, 255, 255, 0.08);
    --header-bg: rgba(11, 18, 21, 0.92);
    --form-input-bg: rgba(255, 255, 255, 0.04);
}

body.light-theme {
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(0, 0, 0, 0.08);
    --header-bg: rgba(255, 255, 255, 0.95);
    --form-input-bg: rgba(0, 0, 0, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    --muted-color: #64748b;
    
    background:
        radial-gradient(900px 600px at 85% -10%, rgba(246, 196, 83, 0.25), transparent 70%),
        radial-gradient(800px 500px at 10% 15%, rgba(62, 214, 198, 0.18), transparent 70%),
        radial-gradient(700px 480px at 50% 100%, rgba(255, 107, 74, 0.16), transparent 70%),
        linear-gradient(160deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.35;
    z-index: 0;
    animation: drift 16s ease-in-out infinite;
}

body::before {
    width: 260px;
    height: 260px;
    background: rgba(246, 196, 83, 0.25);
    top: -80px;
    right: 10%;
}

body::after {
    width: 320px;
    height: 320px;
    background: rgba(62, 214, 198, 0.2);
    top: 32%;
    left: -120px;
    animation-delay: -4s;
}

h1,
h2,
h3 {
    font-family: var(--font-title);
    color: var(--primary-color);
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    padding-top: var(--header-height-dash);
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

.dashboard-wrapper::before {
    content: '';
    position: fixed;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 107, 74, 0.2);
    bottom: -60px;
    right: 22%;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    animation: drift 18s ease-in-out infinite;
    animation-delay: -8s;
}

/* ===== GLASSMORPHISM BASE ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

/* Garantir que elementos dentro dos glass-cards não ultrapassem */
.glass-card > div,
.glass-card > div > div {
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== HEADER DA DASHBOARD ===== */
.dashboard-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height-dash);
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.dash-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dash-logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.dash-logo h1 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
}

/* Profile Header */
.profile-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.player-skin {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(246, 196, 83, 0.25);
}

.player-info {
    display: flex;
    flex-direction: column;
}

.player-nick {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

.player-plan {
    font-size: 0.85rem;
    color: var(--muted-color);
    margin: 0;
}

.btn-logout {
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.5);
    color: #fca5a5;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: #f87171;
    color: #2b0d0d;
    box-shadow: 0 0 20px rgba(248, 113, 113, 0.45);
}

/* ===== SIDEBAR ===== */
.dashboard-sidebar {
    position: fixed;
    left: 0;
    top: var(--header-height-dash);
    width: var(--sidebar-width);
    height: calc(100vh - var(--header-height-dash));
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    padding: 2rem 0;
    overflow-y: auto;
    transition: width 0.3s ease;
    z-index: 100;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.35);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: var(--muted-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-2));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--text-color);
    background: rgba(246, 196, 83, 0.12);
}

.sidebar-nav a:hover::before,
.sidebar-nav a.active::before {
    transform: scaleY(1);
}

.sidebar-nav i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.sidebar-nav span {
    font-weight: 500;
}

/* ===== CONTEÚDO PRINCIPAL ===== */
.dashboard-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 2rem;
    padding-bottom: 4rem;
    min-height: calc(100vh - var(--header-height-dash));
    box-sizing: border-box;
    overflow-x: hidden;
    max-width: calc(100vw - var(--sidebar-width));
    position: relative;
    z-index: 2;
}

/* Container para centralizar conteúdo das páginas */
.purchase-history,
#settings {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Footer dentro do dashboard */
.dashboard-content footer {
    margin-top: 4rem;
    padding: 2rem 0 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    clear: both;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== GRID DE STATUS ===== */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Card de Plano Atual */
.plan-card {
    position: relative;
    overflow: hidden;
}

.plan-card.vip {
    border: 2px solid rgba(246, 196, 83, 0.5);
    box-shadow: 0 0 30px var(--vip-glow);
    animation: vipPulse 3s infinite;
}

.plan-card.ultra {
    border: 2px solid rgba(255, 107, 74, 0.5);
    box-shadow: 0 0 30px var(--ultra-glow);
    animation: ultraPulse 3s infinite;
}

@keyframes vipPulse {
    0%, 100% { box-shadow: 0 0 20px var(--vip-glow); }
    50% { box-shadow: 0 0 40px var(--vip-glow); }
}

@keyframes ultraPulse {
    0%, 100% { box-shadow: 0 0 20px var(--ultra-glow); }
    50% { box-shadow: 0 0 40px var(--ultra-glow); }
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-2));
    color: #1b1406;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(246, 196, 83, 0.4);
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.plan-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.plan-features {
    list-style: none;
    margin-top: 1rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--muted-color);
}

.plan-features i {
    color: var(--success-color);
}

/* Card de Saldo */
.balance-card {
    text-align: center;
}

.balance-amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.balance-label {
    font-size: 0.9rem;
    color: var(--muted-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-recharge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-2));
    color: #1b1406;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
}

.btn-recharge:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(246, 196, 83, 0.25);
}

/* Card de Progresso */
.progress-card h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.progress-bar-container {
    background: rgba(255, 255, 255, 0.08);
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-2));
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    color: var(--muted-color);
    font-size: 0.9rem;
}

/* ===== TABELA DE HISTÓRICO ===== */
.purchase-history {
    margin-top: 3rem;
    max-width: 100%;
    overflow: hidden;
}

.purchase-history h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: left;
}

.history-table-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table thead {
    background: rgba(246, 196, 83, 0.08);
}

.history-table th {
    padding: 1.2rem;
    text-align: left;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.history-table td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--muted-color);
}

.history-table tbody tr {
    transition: background 0.3s ease;
}

.history-table tbody tr:hover {
    background: rgba(246, 196, 83, 0.08);
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-completed {
    background: rgba(74, 222, 128, 0.2);
    color: var(--success-color);
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: var(--warning-color);
}

/* ===== WIDGETS LATERAIS ===== */
.widgets-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Status do Mundo Privado */
.world-status-card {
    position: relative;
}

.beta-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.world-status-content {
    text-align: center;
}

.world-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.world-status-content h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Toggle Switch */
.switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(135deg, var(--success-color), #22c55e);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.switch-label {
    font-weight: 600;
    color: var(--muted-color);
}

.world-warning {
    font-size: 0.85rem;
    color: var(--muted-color);
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

/* Skins Mensais */
.skins-counter {
    text-align: center;
}

.skins-count {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.skins-label {
    color: var(--muted-color);
    font-size: 0.95rem;
}

.skins-progress {
    margin: 1.5rem 0;
}

/* ===== TABELA DE COMPARAÇÃO DE PLANOS ===== */
.plans-comparison {
    margin-top: 4rem;
    padding: 3rem 0;
}

.plans-comparison h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Cards de Plano Individual */
.plan-comparison-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s ease;
}

.plan-comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

/* Plano VIP Destacado */
.plan-comparison-card.featured {
    border: 2px solid rgba(246, 196, 83, 0.55);
    box-shadow: 0 0 40px rgba(246, 196, 83, 0.25);
    transform: scale(1.05);
}

.plan-comparison-card.featured::before {
    content: 'MAIS POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-2));
    color: #1b1406;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 4px 20px rgba(246, 196, 83, 0.4);
}

/* Header do Card */
.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.plan-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
}

.plan-price span {
    font-size: 1rem;
    color: var(--muted-color);
}

/* Lista de Benefícios */
.plan-benefits {
    list-style: none;
    margin: 2rem 0;
}

.plan-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--muted-color);
    line-height: 1.6;
}

.plan-benefits i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.plan-benefits .fa-check {
    color: var(--success-color);
}

.plan-benefits .fa-times {
    color: #555;
}

/* Botão de Compra */
.btn-purchase {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-2));
    border: none;
    border-radius: 12px;
    color: #1b1406;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(246, 196, 83, 0.25);
}

.plan-comparison-card.featured .btn-purchase {
    background: linear-gradient(135deg, var(--accent-2), var(--primary-color));
    box-shadow: 0 4px 20px rgba(246, 196, 83, 0.35);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        width: var(--sidebar-collapsed);
    }
    
    .sidebar-nav span {
        display: none;
    }
    
    .dashboard-content {
        margin-left: var(--sidebar-collapsed);
        max-width: calc(100vw - var(--sidebar-collapsed));
    }
    
    .plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* ===== NOTIFICAÇÃO DE CONFIGURAÇÕES SALVAS ===== */
.settings-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(12, 20, 24, 0.98) 0%, rgba(16, 27, 33, 0.98) 100%);
    border: 2px solid rgba(246, 196, 83, 0.45);
    border-radius: 16px;
    padding: 3rem 4rem;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 500px;
    width: 90%;
    backdrop-filter: blur(20px);
}

.settings-notification i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
    animation: bounce 0.6s ease-in-out;
}

.settings-notification h2 {
    color: var(--success-color);
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.settings-notification p {
    color: var(--muted-color);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
}

.settings-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(62, 214, 198, 0.12) 0%, transparent 100%);
    border-radius: 16px;
    pointer-events: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.settings-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .dashboard-header {
        padding: 0 1rem;
    }
    
    .dash-logo h1 {
        font-size: 1.2rem;
    }
    
    .player-info {
        display: none;
    }
    
    .dashboard-sidebar {
        transform: translateX(-100%);
        z-index: 100;
    }
    
    .dashboard-sidebar.mobile-open {
        transform: translateX(0);
        z-index: 999;
    }
    
    .dashboard-content {
        flex: 1;
        margin-left: 0;
        padding: 1rem;
        padding-bottom: 3rem;
        max-width: 100vw;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-comparison-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .dashboard-header {
        height: 60px;
    }
    
    :root {
        --header-height-dash: 60px;
    }
    
    .dash-logo img {
        width: 35px;
        height: 35px;
    }
    
    .player-skin {
        width: 36px;
        height: 36px;
    }
    
    .history-table {
        font-size: 0.85rem;
    }
    
    .history-table th,
    .history-table td {
        padding: 0.8rem 0.5rem;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drift {
    0%,
    100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(20px) scale(1.04);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== GARANTIR RESPONSIVIDADE DOS ELEMENTOS INLINE ===== */
.dashboard-content input,
.dashboard-content select,
.dashboard-content textarea {
    max-width: 100%;
    box-sizing: border-box;
}

.dashboard-content button {
    max-width: 100%;
    box-sizing: border-box;
}

.dashboard-content * {
    box-sizing: border-box;
}

.glass-card > div {
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Elementos com display flex devem respeitar o container */
.glass-card [style*="display: flex"],
.glass-card [style*="display:flex"] {
    max-width: 100%;
    flex-wrap: wrap;
}

/* Loading State */
.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: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== SELETORES DE IDIOMA E TEMA ===== */
.lang-theme-selector {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: 1rem;
}

.selector-dropdown {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.selector-dropdown:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.selector-dropdown:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(246, 196, 83, 0.3);
}

.selector-dropdown option {
  background: var(--bg-color);
  color: var(--text-color);
}

.theme-toggle-btn {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-color);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

.theme-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

body.light-theme .selector-dropdown {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
}

body.light-theme .selector-dropdown:hover {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.1);
}

body.light-theme .selector-dropdown:focus {
  border-color: #f2c94c;
  box-shadow: 0 0 8px rgba(242, 201, 76, 0.3);
}

body.light-theme .selector-dropdown option {
  background: #ffffff;
  color: #1a1a1a;
}

body.light-theme .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
}

body.light-theme .theme-toggle-btn:hover {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.1);
}

