/* ===================================== */
/*           ESTILOS LORDE TEMPUS       */
/*          Site de RPG Premium         */
/* ===================================== */

/* ==================== VARIÁVEIS CSS ==================== */
:root {
    /* Cores primárias */
    --primary: #00bfae;
    --primary-dark: #008c7e;
    --primary-light: #00fcc8;
    --accent: #ff0043;
    --accent-dark: #aa002d;
    --danger: #ff3b3f;
    --success: #10b981;
    --warning: #f59e0b;
    --info: #3b82f6;

    /* Backgrounds */
    --bg-light: #f8fafc;
    --bg-dark: #171717;
    --surface-light: #ffffff;
    --surface-dark: #171717;
    --light-surface: #f1f5f9;
    --dark-surface: #4c4c4c;

    /* Textos */
    --text-main: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #64748b;
    --text-accent: var(--primary);

    /* Borders e shadows */
    --border-light: #e2e8f0;
    --border-dark: #4c4c4c;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 0 1px var(--primary), 0 8px 24px rgba(0, 191, 174, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-indexes */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ==================== FONTES ==================== */
@font-face {
    font-family: 'Trend Slab Four';
    src: url('../fontes/trend-slab-four.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Bold';
    src: url('../fontes/Helvetica-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==================== RESET E BASE ==================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

body {
    font-family: 'Helvetica Bold', 'Helvetica', 'Arial', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
    position: relative;
}

.dark body {
    background: var(--bg-dark);
    color: var(--text-light);
}

/* ==================== TIPOGRAFIA ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Trend Slab Four', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
    color: var(--text-light);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
    opacity: 0.9;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-main);
    margin-bottom: 1rem;
}

.dark .section-title {
    color: var(--text-light);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary {
    color: var(--primary);
}

/* ==================== LAYOUT COMPONENTS ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 3.5rem 0; /* reduzido para aproximar seções */
}

.section-header {
    text-align: center;
    margin-bottom: 2rem; /* reduzido espaço abaixo do cabeçalho de filtros */
}

/* Compactar espaçamento para seções de filtros e grade subsequente */
#filtros.section-padding {
    padding-top: 2rem;
    padding-bottom: 1rem;
}
#filtros .section-header {
    margin-bottom: 1rem;
}
#filtros + section.section-padding {
    padding-top: 1rem;
}

/* ==================== NAVBAR ==================== */
.logo-lorde {
    font-family: 'Trend Slab Four', serif !important;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.navbar-lorde {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 3px solid var(--primary);
    transition: all var(--transition-normal);
    z-index: var(--z-fixed);
}

.dark .navbar-lorde {
    background: rgb(0, 0, 0);
    border-bottom: 3px solid var(--primary);
}

.navbar-lorde.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.dark .navbar-lorde.scrolled {
    background: rgb(0, 0, 0);
}

/* Navigation Links */
.nav-link {
    color: var(--text-main);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(0, 191, 174, 0.1);
    transform: translateY(-1px);
}

.dark .nav-link {
    color: var(--text-light);
}

.dark .nav-link:hover {
    color: var(--primary);
    background: rgba(0, 191, 174, 0.15);
}

.nav-link.active {
    background: var(--primary);
    color: var(--surface-light) !important;
    box-shadow: 0 4px 12px rgba(0, 191, 174, 0.3);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-left: 0.5rem;
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn:hover {
    background: rgba(0, 191, 174, 0.1);
    color: var(--primary);
    transform: scale(1.05);
}

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

.dark .theme-toggle-btn {
    color: var(--text-light);
}

/* Ícones de tema com animações */
.theme-icon-moon,
.theme-icon-sun {
    transition: all var(--transition-normal);
    display: inline-block;
}

.theme-icon-moon {
    transform: rotate(0deg);
}

.theme-icon-sun {
    transform: rotate(180deg);
}

.theme-icon-moon.hidden {
    transform: rotate(-90deg) scale(0);
    opacity: 0;
}

.theme-icon-sun.hidden {
    transform: rotate(90deg) scale(0);
    opacity: 0;
}

/* Animação de toggle do tema */
@keyframes themeToggle {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.theme-toggle-btn.toggling .theme-icon-moon,
.theme-toggle-btn.toggling .theme-icon-sun {
    animation: themeToggle 0.6s ease-in-out;
}

/* Mobile Menu Button - Correção específica */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: var(--z-modal);
    position: relative;
}

.hamburger-line {
    width: 1.5rem;
    height: 2px;
    background: var(--text-main);
    margin: 2px 0;
    transition: all var(--transition-fast);
    transform-origin: center;
}

.dark .hamburger-line {
    background: var(--text-light);
}

.hamburger-line:nth-child(1) {
    transform-origin: top left;
}

.hamburger-line:nth-child(2) {
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay - Correção específica */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1060; /* Z-index fixo mais alto */
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: min(400px, 90vw);
    height: 100vh;
    background: var(--surface-light);
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.dark .mobile-menu {
    background: var(--surface-dark);
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

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

.dark .mobile-menu-header {
    border-bottom-color: var(--border-dark);
}

.mobile-menu-content {
    padding: 2rem 1.5rem;
}

.mobile-nav-link,
.mobile-theme-toggle {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
    border: none;
    background: transparent;
    width: 100%;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.dark .mobile-nav-link,
.dark .mobile-theme-toggle {
    color: var(--text-light);
    border-bottom-color: var(--border-dark);
}

.mobile-nav-link:hover,
.mobile-theme-toggle:hover {
    color: var(--primary);
    background: rgba(0, 252, 200, 0.05);
    padding-left: 0.5rem;
}

.mobile-nav-link i,
.mobile-theme-toggle i {
    width: 1.5rem;
    margin-right: 1rem;
    text-align: center;
    transition: transform var(--transition-fast);
}

.mobile-theme-toggle {
    margin-top: 1rem;
    border-top: 2px solid var(--border-light);
    border-bottom: none;
    padding-top: 1.5rem;
}

.dark .mobile-theme-toggle {
    border-top-color: var(--border-dark);
}

.mobile-theme-toggle:hover i {
    transform: rotate(180deg);
}

.mobile-theme-toggle .theme-text {
    font-size: 0.95rem;
    font-weight: 600;
}

.mobile-theme-toggle .theme-indicator {
    margin-left: auto;
    padding: 0.25rem 0.5rem;
    background: #6b7280;
    color: white;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
    min-width: 2.5rem;
    text-align: center;
}

.mobile-theme-toggle:hover .theme-indicator {
    transform: scale(1.05);
}

/* Animação especial para o toggle de tema */
.mobile-theme-toggle.toggling {
    background: rgba(0, 252, 200, 0.1);
}

.mobile-theme-toggle.toggling i {
    animation: themeToggle 0.6s ease-in-out;
}

.mobile-theme-toggle.toggling .theme-indicator {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

body.menu-open {
    overflow: hidden;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Evitar corte lateral em celulares estreitos durante animações */
    overflow-x: visible;
    overflow-y: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(135deg, 
        rgba(0, 191, 174, 0.9) 0%, 
        rgba(0, 191, 174, 0.7) 50%, 
        rgba(15, 23, 42, 0.8) 100%
    ), url('../images/Papeis_amassados/FundoVerdeAmassado.png') center center/cover no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: -1;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-stats {
    margin-top: 3rem;
    opacity: 0.9;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Trend Slab Four', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-link {
    color: white;
    font-size: 1.5rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
    transition: opacity var(--transition-fast);
}

.scroll-link:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ==================== BUTTONS ==================== */
.lorde-btn,
.lorde-btn-large {
    background: var(--primary);
    color: var(--surface-light);
    border: none;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    outline: none;
    white-space: nowrap;
    min-width: fit-content;
    gap: 0.5rem;
}

.lorde-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.lorde-btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.lorde-btn:hover,
.lorde-btn-large:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.lorde-btn:active,
.lorde-btn-large:active {
    transform: translateY(0);
}

.lorde-btn:focus,
.lorde-btn-large:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.lorde-btn:disabled,
.lorde-btn-large:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: var(--primary);
    box-shadow: var(--shadow-md);
}

.accent-btn,
.accent-btn-large {
    background: var(--accent);
    color: var(--text-main);
    border: none;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.accent-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.accent-btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.accent-btn:hover,
.accent-btn-large:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px #ff004481;
}

.discord-btn {
    background: #5865f2;
    color: white;
    border: none;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
}

/* ==================== SOBRE SECTION ==================== */
.sobre-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-block {
    margin-bottom: 1.5rem;
}

.content-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.content-text {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.dark .content-text {
    color: #cbd5e1;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Discord Widget */
.discord-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.discord-widget-container {
    width: 100%;
    max-width: 350px;
    height: 500px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.discord-widget-container:hover {
    transform: translateY(-5px);
}

.discord-widget {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==================== PLANOS SECTION ==================== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.plan-card {
    background: var(--surface-light);
    border-radius: 1rem;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
    transition: all var(--transition-normal);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.dark .plan-card {
    background: var(--surface-dark);
    color: var(--text-light);
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.plan-featured {
    border: 3px solid #ff0043;
    background: linear-gradient(135deg, rgba(255, 0, 67, 0.08) 0%, rgba(255, 0, 67, 0.03) 100%);
}

.dark .plan-featured {
    border: 3px solid #ff0043;
    background: linear-gradient(135deg, rgba(255, 0, 67, 0.15) 0%, rgba(255, 0, 67, 0.08) 100%);
}

.plan-badge {
    position: absolute;
    top: -1px;
    right: 1rem;
    background: var(--accent);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.plan-badge-premium {
    position: absolute;
    top: -1px;
    right: 1rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    animation: premiumPulse 2s infinite;
    box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

@keyframes premiumPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(139, 92, 246, 0.5);
    }
}

.plan-premium {
    border: 3px solid #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.dark .plan-premium {
    border: 3px solid #a855f7;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(124, 58, 237, 0.1) 100%);
}

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

.plan-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(0, 191, 174, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.plan-icon.premium {
    background: rgba(255, 0, 0, 0.1);
    color: var(--accent);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.plan-price {
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.dark .price-value {
    color: var(--text-light);
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.plan-description {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.plan-features {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
    flex: 1;
}

.plan-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.plan-features .feature-item i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.plan-features .feature-item span {
    color: var(--text-muted);
    line-height: 1.5;
}

.dark .plan-features .feature-item span {
    color: #cbd5e1;
}

.plan-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--surface-light);
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.plan-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 191, 174, 0.3);
}

.plan-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.plan-btn-featured {
    background: var(--accent);
    color: var(--text-main);
}

.plan-btn-featured:hover {
    background: var(--accent-dark);
    box-shadow: 0 4px 12px #ff004481;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.plans-cta {
    margin-top: 4rem;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.dark .cta-text {
    color: #cbd5e1;
}

/* ==================== FOOTER ==================== */
.footer-lorde {
    background: var(--primary);
    color: var(--surface-light);
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.dark .footer-lorde {
    background: var(--surface-dark);
    color: var(--text-light);
    border-top: 3px solid var(--primary);
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.dark .footer-description {
    color: #cbd5e1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 1.125rem;
}

.social-link:hover {
    background: var(--primary-light);
    color: var(--text-main);
    transform: translateY(-2px);
}

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

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.dark .footer-title {
    color: var(--text-light);
}

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

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: block;
    padding: 0.25rem 0;
}

.dark .footer-link {
    color: #cbd5e1;
}

.footer-link:hover {
    color: var(--primary-light);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.dark .contact-item {
    color: #cbd5e1;
}

.contact-item i {
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--primary-light);
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.dark .copyright {
    color: #cbd5e1;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ==================== NOTIFICATIONS ==================== */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    max-width: 24rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    z-index: var(--z-tooltip);
    transform: translateX(100%);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
}

.notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

.notification-success {
    border-left: 4px solid var(--success);
}

.notification-error {
    border-left: 4px solid var(--danger);
}

.notification-info {
    border-left: 4px solid var(--info);
}

.notification-warning {
    border-left: 4px solid var(--warning);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
}

.notification-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
}

.notification-success .notification-icon {
    color: var(--success);
}

.notification-error .notification-icon {
    color: var(--danger);
}

.notification-info .notification-icon {
    color: var(--info);
}

.notification-warning .notification-icon {
    color: var(--warning);
}

.notification-message {
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.4;
}

.notification-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: all var(--transition-fast);
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-main);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-2rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(2rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out;
    will-change: transform, opacity;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out;
    will-change: transform, opacity;
}

.delay-100 {
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.delay-200 {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.delay-300 {
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.delay-400 {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.delay-500 {
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.delay-600 {
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

/* Intersection Observer Animations */
.animate-fadeInUp,
.animate-slideInLeft,
.animate-slideInRight,
.plan-card {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.8s ease-out;
}

.animate-slideInLeft {
    transform: translateX(-2rem);
}

.animate-slideInRight {
    transform: translateX(2rem);
}

.in-view {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.dark ::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .discord-widget-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plan-card:hover {
        transform: translateY(-4px);
    }
    
    .discord-widget-container {
        max-width: 100%;
        height: 350px;
    }
    
    .notification {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    /* Impedir overflow lateral causado por elementos grandes */
    body,
    html {
        max-width: 100%;
        overflow-x: hidden;
    }
    .hero-title,
    .section-title {
        word-break: break-word;
        hyphens: auto;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .lorde-btn-large,
    .accent-btn-large {
        width: 100%;
        max-width: 280px;
    }

    .plan-card {
        padding: 1.5rem;
    }
    
    .mobile-menu {
        width: 100vw;
    }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .plan-card {
        border-width: 3px;
    }
    
    .nav-link.active {
        outline: 2px solid var(--primary);
    }
}

/* ==================== UTILITIES ==================== */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .navbar-lorde,
    .mobile-menu-overlay,
    .back-to-top,
    .notification {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .plan-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ==================== LIMPEZA E DEBUG ==================== */
/* Ocultar elementos órfãos específicos que aparecem após o footer */
.footer-lorde ~ div:not(#backToTop):not(.modal-overlay):not(.notification) {
    display: none !important;
}

/* Ocultar divs órfãs sem ID ou classe */
body > div:not([id]):not([class]):not(.notification) {
    display: none !important;
}

/* Garantir que elementos modais funcionem corretamente */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: var(--z-modal) !important;
}

.modal-overlay:not(.active) {
    display: none !important;
}

/* Limitar overflow para evitar elementos escapando */
body {
    overflow-x: hidden;
    position: relative;
}

/* Garantir que footer seja sempre o último elemento visível */
.footer-lorde {
    position: relative;
    z-index: 10;
    margin-top: auto;
}

/* ==================== CAMPANHAS PAGE ==================== */

/* Campanhas Hero Section */
.campanhas-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Evitar corte lateral em celulares estreitos */
    overflow-x: visible;
    overflow-y: hidden;
}

.campanhas-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(135deg, 
        rgba(0, 191, 174, 0.9) 0%, 
        rgba(0, 191, 174, 0.7) 50%, 
        rgba(15, 23, 42, 0.8) 100%
    ), url('../images/Papeis_amassados/FundoVerdeAmassado.png') center center/cover no-repeat;
    z-index: -2;
}

/* Light Surface */
.light-surface {
    background: var(--light-surface);
}

.dark .light-surface {
    background: var(--dark-surface);
}

/* Filtros Section */
.filtros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
    justify-items: center;
}

.filtro-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 420px;
}

.filtro-label {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.dark .filtro-label {
    color: var(--text-light);
}

.filtro-select {
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 0.5rem;
    background: var(--surface-light);
    color: var(--text-main);
    font-weight: 500;
    transition: all var(--transition-normal);
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    line-height: 1.25;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Comportamento de cursor específico por tipo para manter UX */
input.filtro-select { cursor: text; }
select.filtro-select { cursor: pointer; }

.filtro-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 191, 174, 0.1);
}

.dark .filtro-select {
    background: var(--surface-dark);
    color: var(--text-light);
    border-color: var(--border-dark);
}

.dark .filtro-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 191, 174, 0.15);
}

.filtro-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Campanhas Grid */
.campanhas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.campanha-card {
    background: var(--surface-light);
    border-radius: 1rem;
    border: 2px solid transparent;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 450px; /* Altura mínima fixa para consistência */
}

.dark .campanha-card {
    background: var(--surface-dark);
}

.campanha-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.campanha-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    position: relative;
    flex-shrink: 0;
}

.campanha-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(0, 191, 174, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.campanha-nome {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    min-height: 3.9rem; /* Altura mínima para 2 linhas */
}

.dark .campanha-nome {
    color: var(--primary);
}

.campanha-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 1rem;
    border-radius: 0 1rem 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.campanha-destaque {
    background: var(--accent);
    color: var(--text-main);
}

.campanha-nova {
    background: var(--success);
    color: white;
}

.campanha-lotada {
    background: var(--danger);
    color: white;
}

/* Indicadores de Vagas */
.vagas-status {
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    display: inline-block;
}

.vagas-lotada {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.vagas-poucas {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.vagas-disponiveis {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.dark .vagas-lotada {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.dark .vagas-poucas {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.dark .vagas-disponiveis {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Estilos para o modal de mesa lotada */
.modal-error {
    text-align: center;
    padding: 2rem 1rem;
}

.modal-info-vagas {
    background: var(--light-surface);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.dark .modal-info-vagas {
    background: var(--dark-surface);
}

.campanha-body {
    padding: 0 1.5rem 1rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.campanha-descricao {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 4.8rem; /* Altura mínima para 3 linhas */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: justify;
    word-wrap: break-word;
    hyphens: auto;
}

.dark .campanha-descricao {
    color: #cbd5e1;
}

.campanha-detalhes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.detalhe-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-size: 0.875rem;
}

.dark .detalhe-item {
    color: var(--text-light);
}

.detalhe-item i {
    color: var(--primary);
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.campanha-actions {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-top: auto;
}

.dark .campanha-actions {
    border-top-color: var(--border-dark);
}

/* Botões das campanhas - com layout específico */
.campanha-btn-admin,
.campanha-btn-plano,
.campanha-btn-ver,
.campanha-btn-requisitar {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
    min-height: 2.75rem;
}

.campanha-btn-admin:hover,
.campanha-btn-plano:hover,
.campanha-btn-ver:hover,
.campanha-btn-requisitar:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.success-btn {
    background: var(--success);
    color: white;
}

.success-btn:hover {
    background: #059669;
}

.disabled-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.disabled-btn:hover {
    transform: none;
    box-shadow: none;
}

/* Loading States */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

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

.loading-state p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

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

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.empty-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.dark .empty-state h3 {
    color: var(--text-light);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 24rem;
}

/* CTA Section */
.campanhas-cta {
    margin-top: 4rem;
}

.cta-container {
    max-width: 42rem;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--light-surface);
    border-radius: 1rem;
    text-align: center;
    border: 2px solid var(--primary);
}

.dark .cta-container {
    background: var(--dark-surface);
}

.cta-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.dark .cta-title {
    color: var(--text-light);
}

.cta-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.dark .cta-text {
    color: #cbd5e1;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--surface-light);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    width: 90vw;
    max-width: 28rem;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-large {
    max-width: 42rem;
}

.dark .modal-content {
    background: var(--surface-dark);
}

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

.dark .modal-header {
    border-bottom-color: var(--border-dark);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    flex: 1;
}

.dark .modal-title {
    color: var(--text-light);
}

.modal-close {
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 0.25rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-main);
}

.dark .modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.modal-body {
    padding: 1.5rem;
}

.modal-content-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-text {
    color: var(--text-main);
    line-height: 1.6;
}

.dark .modal-text {
    color: var(--text-light);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.dark .form-label {
    color: var(--text-light);
}

.form-input {
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 0.5rem;
    background: var(--surface-light);
    color: var(--text-main);
    transition: all var(--transition-normal);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 191, 174, 0.1);
}

.dark .form-input {
    background: var(--bg-dark);
    color: var(--text-light);
    border-color: var(--border-dark);
}

.dark .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 191, 174, 0.15);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.secondary-btn {
    background: var(--text-muted);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    font-size: 0.875rem;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.secondary-btn:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

/* Jogadores Modal */
.jogadores-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 20rem;
    overflow-y: auto;
}

.jogador-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light-surface);
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
}

.dark .jogador-item {
    background: var(--bg-dark);
    border-color: var(--border-dark);
}

.jogador-info {
    flex: 1;
}

.jogador-nome {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.dark .jogador-nome {
    color: var(--text-light);
}

.jogador-email {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.jogador-plano {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.remove-btn {
    background: var(--danger);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.remove-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.empty-jogadores {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.loading-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: var(--text-muted);
}

.loading-small i {
    font-size: 1.25rem;
}

/* ==================== RESPONSIVE CAMPANHAS ==================== */
@media (max-width: 1024px) {
    .campanhas-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .filtros-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .campanhas-hero {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .filtros-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filtro-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .campanhas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .campanha-card {
        min-height: auto;
    }
    
    .campanha-card:hover {
        transform: translateY(-4px);
    }
    
    .campanha-nome {
        min-height: auto;
        font-size: 1.375rem;
    }
    
    .campanha-descricao {
        min-height: auto;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        width: 95vw;
        margin: 1rem;
    }
    
    .modal-actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    
    .secondary-btn,
    .lorde-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .campanhas-hero .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .campanha-card {
        margin: 0 0.5rem;
    }
    
    .campanha-header {
        padding: 1rem 1rem 0.5rem 1rem;
    }
    
    .campanha-body {
        padding: 0 1rem 0.5rem 1rem;
    }
    
    .campanha-actions {
        padding: 1rem;
    }
    
    .cta-container {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .jogador-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .remove-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== PERFIL STYLES ==================== */

/* Tabs do Perfil */
.tab-btn {
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    border-left: none;
    border-right: none;
    border-top: none;
    background: none;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.75rem 0.75rem 0 0;
    position: relative;
    z-index: 1;
    outline: none;
    margin-right: 0.5rem;
    margin-bottom: -2px;
}

.dark .tab-btn {
    color: var(--text-light);
}

.tab-btn:hover {
    color: var(--primary);
    background: rgba(0, 252, 200, 0.1);
}

.tab-btn.active,
.tab-btn.border-\[#00FCC8\] {
    border-bottom-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 252, 200, 0.1);
    z-index: 2;
}

.tab-btn.text-\[#00FCC8\] {
    color: var(--primary);
}

.tab-content {
    padding: 1.5rem 0;
    animation: fadeInContent 0.3s ease-in-out;
}

.tab-content.hidden {
    display: none !important;
}

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

/* Avatar e informações do usuário */
.user-avatar {
    transition: transform 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
}

/* Cards de planos no perfil */
.plan-status-card {
    background: linear-gradient(135deg, rgba(0, 252, 200, 0.1) 0%, rgba(0, 191, 174, 0.05) 100%);
    border: 1px solid rgba(0, 252, 200, 0.3);
    transition: all 0.3s ease;
}

.plan-status-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(0, 252, 200, 0.15);
}

/* Painel admin no perfil */
.admin-panel {
    background: linear-gradient(135deg, #1a1f2e 0%, #16213e 100%);
    border-left: 4px solid var(--primary);
}

.admin-campaign-card {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.admin-campaign-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 252, 200, 0.2);
    transform: translateY(-2px);
}

/* ==================== ABA MESAS - DESIGN PROFISSIONAL ==================== */

/* Container principal das mesas */
#minhasMesasLista {
    min-height: 300px;
}

/* Card individual da mesa */
.mesa-card {
    background: var(--surface-light);
    border: 2px solid rgba(0, 252, 200, 0.3);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.mesa-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 1rem 1rem 0 0;
}

.mesa-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 252, 200, 0.2);
    border-color: var(--primary);
}

/* Imagem da mesa */
.mesa-imagem {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 0.75rem 0.75rem 0 0;
}

.mesa-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mesa-card:hover .mesa-img {
    transform: scale(1.05);
}

.mesa-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem 1.5rem 1rem;
    color: white;
}

.mesa-titulo-overlay {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Cabeçalho sem imagem */
.mesa-header-sem-imagem {
    padding: 1.5rem 1.5rem 0;
}

.mesa-header-sem-imagem h4 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mesa-header-sem-imagem h4 i {
    font-size: 1.25rem;
    color: var(--primary);
}

/* Conteúdo da mesa */
.mesa-conteudo {
    padding: 1.5rem;
}

/* Descrição da mesa */
.mesa-card .mesa-descricao {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Grid de informações */
.mesa-detalhes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 252, 200, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 252, 200, 0.1);
}

.mesa-detalhe-item {
    text-align: center;
}

.mesa-detalhe-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mesa-detalhe-valor {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Área de ações */
.mesa-acoes {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 252, 200, 0.2);
}

/* Botão Discord */
.discord-btn-mesa {
    background: #5865f2;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.discord-btn-mesa:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

.discord-btn-mesa i {
    font-size: 1.125rem;
}

/* Botão de informações */
.info-btn-mesa {
    background: var(--primary);
    color: var(--surface-dark);
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 191, 174, 0.3);
}

.info-btn-mesa:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 191, 174, 0.4);
}

/* Estado vazio das mesas */
.mesas-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.mesas-empty-state i {
    font-size: 4rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.mesas-empty-state h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.mesas-empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 24rem;
    line-height: 1.6;
}

/* Dark mode para aba mesas */
.dark .mesa-card {
    background: var(--surface-dark);
    border-color: rgba(0, 252, 200, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dark .mesa-card:hover {
    box-shadow: 0 12px 32px rgba(0, 252, 200, 0.25);
    border-color: var(--primary);
}

.dark .mesa-header-sem-imagem h4 {
    color: var(--primary);
}

.dark .mesa-header-sem-imagem h4 i {
    color: var(--primary);
}

.dark .mesa-card .mesa-descricao {
    color: var(--text-light);
}

.dark .mesa-detalhes {
    background: rgba(0, 252, 200, 0.1);
    border-color: rgba(0, 252, 200, 0.2);
}

.dark .mesa-detalhe-label {
    color: var(--primary);
}

.dark .mesa-detalhe-valor {
    color: var(--text-light);
}

.dark .mesa-acoes {
    border-top-color: rgba(0, 252, 200, 0.3);
}

.dark .mesas-empty-state h3 {
    color: var(--text-light);
}

.dark .mesas-empty-state i {
    color: #6b7280;
}

/* ==================== MODAL INFORMAÇÕES DA MESA - DESIGN PROFISSIONAL ==================== */

/* Imagem da mesa na modal */
.modal-mesa-imagem {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.modal-mesa-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-mesa-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1rem;
}

.modal-mesa-titulo {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Modal específico de informações da mesa */
#modal-info-mesa .modal-content {
    max-width: 42rem;
    background: var(--surface-light);
    border: 2px solid rgba(0, 252, 200, 0.3);
    box-shadow: 0 20px 40px rgba(0, 252, 200, 0.2);
}

.dark #modal-info-mesa .modal-content {
    background: var(--surface-dark);
    border-color: rgba(0, 252, 200, 0.4);
    box-shadow: 0 20px 40px rgba(0, 252, 200, 0.3);
}

/* Cabeçalho do modal */
#modal-info-mesa .modal-title {
    color: var(--primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
    font-weight: 700;
}

.dark #modal-info-mesa .modal-title {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(0, 252, 200, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Seção "Sobre esta Mesa" */
#modal-info-mesa .bg-gradient-to-r {
    background: linear-gradient(135deg, rgba(0, 252, 200, 0.1) 0%, rgba(0, 191, 174, 0.05) 100%) !important;
    border: 1px solid rgba(0, 252, 200, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

#modal-info-mesa .bg-gradient-to-r::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 0.75rem 0.75rem 0 0;
}

.dark #modal-info-mesa .bg-gradient-to-r {
    background: linear-gradient(135deg, rgba(0, 252, 200, 0.15) 0%, rgba(0, 191, 174, 0.08) 100%) !important;
    border-color: rgba(0, 252, 200, 0.3);
}

/* Títulos das seções */
#modal-info-mesa h4 {
    color: var(--primary) !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.dark #modal-info-mesa h4 {
    color: var(--primary) !important;
    text-shadow: 0 0 6px rgba(0, 252, 200, 0.3);
}

/* Textos descritivos */
#modal-info-mesa p {
    color: var(--text-main) !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    font-weight: 500 !important;
}

.dark #modal-info-mesa p {
    color: var(--text-light) !important;
}

/* Cards informativos */
#modal-info-mesa .bg-white {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 252, 200, 0.1) !important;
    border-radius: 0.5rem !important;
    padding: 1rem !important;
    transition: all 0.3s ease;
}

#modal-info-mesa .bg-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 252, 200, 0.15);
}

.dark #modal-info-mesa .bg-white {
    background: #4c4c4c !important;
    border-color: rgba(0, 252, 200, 0.2) !important;
}

.dark #modal-info-mesa .bg-white:hover {
    box-shadow: 0 4px 12px rgba(0, 252, 200, 0.2);
}

/* Seção Discord */
#modal-info-mesa .bg-blue-50 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%) !important;
    border: 1px solid rgba(88, 101, 242, 0.2) !important;
    border-radius: 0.75rem !important;
    padding: 1.5rem !important;
    position: relative;
    overflow: hidden;
}

#modal-info-mesa .bg-blue-50::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5865f2, #3b82f6);
    border-radius: 0.75rem 0.75rem 0 0;
}

.dark #modal-info-mesa .bg-blue-50 {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%) !important;
    border-color: rgba(88, 101, 242, 0.3) !important;
}

/* Títulos da seção Discord */
#modal-info-mesa .text-blue-700 {
    color: #5865f2 !important;
}

.dark #modal-info-mesa .text-blue-700 {
    color: #93c5fd !important;
    text-shadow: 0 0 6px rgba(147, 197, 253, 0.3);
}

/* Textos da seção Discord */
#modal-info-mesa .text-blue-600 {
    color: #1e40af !important;
    font-weight: 500 !important;
}

.dark #modal-info-mesa .text-blue-600 {
    color: #bfdbfe !important;
}

/* Ícones de check */
#modal-info-mesa .text-green-500 {
    color: #22c55e !important;
    font-size: 1rem !important;
}

/* Seção de Regras */
#modal-info-mesa .bg-yellow-50 {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%) !important;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
    border-radius: 0.75rem !important;
    padding: 1.5rem !important;
    position: relative;
    overflow: hidden;
}

#modal-info-mesa .bg-yellow-50::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 0.75rem 0.75rem 0 0;
}

.dark #modal-info-mesa .bg-yellow-50 {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.08) 100%) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

/* Títulos da seção Regras */
#modal-info-mesa .text-yellow-700 {
    color: #d97706 !important;
}

.dark #modal-info-mesa .text-yellow-700 {
    color: #fde68a !important;
    text-shadow: 0 0 6px rgba(253, 230, 138, 0.3);
}

/* Textos da seção Regras */
#modal-info-mesa .text-yellow-600 {
    color: #d97706 !important;
    font-weight: 500 !important;
}

.dark #modal-info-mesa .text-yellow-600 {
    color: #fef3c7 !important;
}

/* Lista de regras */
#modal-info-mesa ul {
    list-style: none;
    padding: 0;
}

#modal-info-mesa li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

#modal-info-mesa .fa-dot-circle {
    color: #d97706 !important;
    margin-top: 0.125rem;
}

.dark #modal-info-mesa .fa-dot-circle {
    color: #fde68a !important;
}

/* Botão Discord especial no modal */
#modal-info-mesa .discord-btn {
    background: #5865f2 !important;
    color: white !important;
    padding: 0.875rem 2rem !important;
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3) !important;
}

#modal-info-mesa .discord-btn:hover {
    background: #4752c4 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4) !important;
}

/* Spinner de carregamento */
#modal-info-mesa .fa-spinner {
    color: var(--primary) !important;
    animation: spin 1s linear infinite;
}

/* Textos de carregamento */
#modal-info-mesa .text-gray-500 {
    color: var(--text-muted) !important;
}

.dark #modal-info-mesa .text-gray-500 {
    color: #9ca3af !important;
}

/* Subtítulos h5 */
#modal-info-mesa h5 {
    color: #7c3aed !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.dark #modal-info-mesa h5 {
    color: #a78bfa !important;
}

/* Textos cinza */
#modal-info-mesa .text-gray-600 {
    color: #6b7280 !important;
}

.dark #modal-info-mesa .text-gray-600 {
    color: #d1d5db !important;
}

#modal-info-mesa .text-gray-400 {
    color: #9ca3af !important;
}

.dark #modal-info-mesa .text-gray-400 {
    color: #6b7280 !important;
}

/* Grid responsivo */
#modal-info-mesa .grid {
    display: grid;
    gap: 1rem;
}

#modal-info-mesa .grid-cols-1 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    #modal-info-mesa .md\\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Espaçamento das seções */
#modal-info-mesa .space-y-6 > * + * {
    margin-top: 1.5rem;
}

#modal-info-mesa .space-y-3 > * + * {
    margin-top: 0.75rem;
}

#modal-info-mesa .space-y-2 > * + * {
    margin-top: 0.5rem;
}

/* Responsive para mesas */
@media (max-width: 768px) {
    .mesa-card {
        margin-bottom: 1rem;
    }
    
    .mesa-conteudo {
        padding: 1rem;
    }
    
    .mesa-imagem {
        height: 150px;
    }
    
    .mesa-titulo-overlay {
        font-size: 1.25rem;
    }
    
    .mesa-detalhes {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .mesa-acoes {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .discord-btn-mesa,
    .info-btn-mesa {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    /* Modal responsive */
    .modal-mesa-imagem {
        height: 200px;
    }
    
    .modal-mesa-titulo {
        font-size: 1.5rem;
    }
    
    #modal-info-mesa .modal-content {
        width: 95vw;
        margin: 1rem;
    }
    
    #modal-info-mesa .grid-cols-1 {
        grid-template-columns: 1fr;
    }
    
    #modal-info-mesa .md\\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mesa-conteudo {
        padding: 0.75rem;
    }
    
    .mesa-imagem {
        height: 120px;
    }
    
    .mesa-titulo-overlay {
        font-size: 1rem;
        padding: 1rem 1rem 0.5rem;
    }
    
    .mesa-header-sem-imagem h4 {
        font-size: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .mesa-detalhes {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    /* Modal mobile */
    .modal-mesa-imagem {
        height: 150px;
    }
    
    .modal-mesa-titulo {
        font-size: 1.25rem;
    }
    
    #modal-info-mesa .modal-content {
        width: 98vw;
        margin: 0.5rem;
    }
    
    #modal-info-mesa .bg-gradient-to-r,
    #modal-info-mesa .bg-blue-50,
    #modal-info-mesa .bg-yellow-50 {
        padding: 1rem !important;
    }
    
    #modal-info-mesa h4 {
        font-size: 1rem !important;
    }
    
    #modal-info-mesa .discord-btn {
        width: 100% !important;
        text-align: center !important;
    }
}

/* Empty states */
.empty-state-perfil {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state-perfil i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ==================== ABA TROFÉUS E CONQUISTAS - DESIGN GAMIFICADO ==================== */

/* Container principal dos troféus */
#trophies {
    min-height: 400px;
}

/* Seção de explicação */
.trofeus-info {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.trofeus-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffa500);
    border-radius: 1rem 1rem 0 0;
}

.dark .trofeus-info {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.08) 100%);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Título da seção de explicação */
.trofeus-info h4 {
    color: #d97706;
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dark .trofeus-info h4 {
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.3), 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Grid de estatísticas */
.trofeus-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.dark .trofeus-stats {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
}

.stat-trofeu {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.stat-trofeu:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.dark .stat-trofeu {
    background: rgba(30, 41, 59, 0.8);
}

.stat-trofeu-icone {
        font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-trofeu-numero {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 0.25rem;
}

.dark .stat-trofeu-numero {
    color: #fbbf24;
}

.stat-trofeu-label {
    font-size: 0.875rem;
    color: #92400e;
    font-weight: 600;
}

.dark .stat-trofeu-label {
    color: #fde68a;
}

/* Grid de conquistas */
.conquistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Card de conquista individual */
.conquista-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    border: 2px solid transparent;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.conquista-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.dark .conquista-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.9) 100%);
    border-color: rgba(255, 215, 0, 0.2);
}

.dark .conquista-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.15);
}

/* Estados da conquista */
.conquista-card.desbloqueada {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
}

.conquista-card.rara {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
}

.conquista-card.epica {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.conquista-card.lendaria {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
}

.conquista-card.bloqueada {
    opacity: 0.6;
    filter: grayscale(0.7);
}

/* Cabeçalho da conquista */
.conquista-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.conquista-icone {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #d97706;
    position: relative;
}

.dark .conquista-icone {
    background: rgba(255, 215, 0, 0.3);
    color: #fbbf24;
}

/* Brilho para conquistas desbloqueadas */
.conquista-card.desbloqueada .conquista-icone {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.conquista-card.rara .conquista-icone {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.conquista-card.epica .conquista-icone {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.conquista-card.lendaria .conquista-icone {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Título e raridade */
.conquista-info {
    flex: 1;
}

.conquista-nome {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.dark .conquista-nome {
    color: var(--text-light);
}

.conquista-raridade {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.raridade-comum {
    background: #6b7280;
    color: white;
}

.raridade-rara {
    background: #3b82f6;
    color: white;
}

.raridade-epica {
    background: #8b5cf6;
    color: white;
}

.raridade-lendaria {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: white;
}

/* Descrição da conquista */
.conquista-descricao {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.dark .conquista-descricao {
    color: #cbd5e1;
}

/* Progresso */
.conquista-progresso {
    margin-bottom: 1rem;
}

.progresso-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.progresso-bar {
    width: 100%;
    height: 0.5rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    overflow: hidden;
}

.dark .progresso-bar {
    background: rgba(255, 255, 255, 0.1);
}

.progresso-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 0.25rem;
    transition: width 0.3s ease;
}

/* Recompensas */
.conquista-recompensas {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .conquista-recompensas {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.recompensa-xp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #3b82f6;
}

.conquista-data {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Categorias de conquistas */
.categorias-conquistas {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.categoria-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s ease;
}

.categoria-btn:hover,
.categoria-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-1px);
}

.dark .categoria-btn {
    background: rgba(30, 41, 59, 0.8);
    color: var(--text-light);
}

/* Estado vazio */
.trofeus-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.trofeus-empty-state i {
    font-size: 4rem;
    color: #d97706;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.dark .trofeus-empty-state i {
    color: #fbbf24;
}

.trofeus-empty-state h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.dark .trofeus-empty-state h3 {
    color: var(--text-light);
}

.trofeus-empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 24rem;
    line-height: 1.6;
}

/* Animações */
@keyframes trofeuDesbloqueado {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(5deg); }
    50% { transform: scale(1.15) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(3deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes brilhoTrofeu {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4); }
}

.conquista-desbloqueada {
    animation: trofeuDesbloqueado 0.8s ease-in-out;
}

.conquista-card.desbloqueada .conquista-icone {
    animation: brilhoTrofeu 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .trofeus-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .conquistas-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .conquista-card {
        padding: 1rem;
    }
    
    .categorias-conquistas {
        justify-content: center;
    }
    
    .categoria-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .trofeus-stats {
        grid-template-columns: 1fr;
    }
    
    .conquista-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .conquista-info {
        text-align: center;
    }
    
    .trofeus-info {
        padding: 1.5rem;
    }
    
    .trofeus-info h4 {
        font-size: 1.125rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Forms no perfil */
.perfil-form {
    background: linear-gradient(135deg, #10151a 0%, #0f1419 100%);
    border: 1px solid rgba(0, 252, 200, 0.3);
}

.perfil-form input,
.perfil-form select,
.perfil-form textarea {
    background: #181c23;
    border: 2px solid var(--primary);
    color: white;
    transition: all 0.3s ease;
}

.perfil-form input:focus,
.perfil-form select:focus,
.perfil-form textarea:focus {
    box-shadow: 0 0 0 2px var(--primary);
    outline: none;
}

/* Responsive para tabs */
@media (max-width: 768px) {
    .tab-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        margin-right: 0.25rem;
    }
    
    .tab-content {
        padding: 1rem 0;
    }
    
    .perfil-form {
        padding: 1rem;
    }
    
    .admin-campaign-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    #profileTabs {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
}

/* ==================== ABA PLANOS ATIVOS - DESIGN PROFISSIONAL ==================== */

/* Container principal dos planos ativos */
#activePlans {
    min-height: 200px;
}

/* Card de plano ativo */
#activePlans .bg-gradient-to-r {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%) !important;
    border: 2px solid rgba(34, 197, 94, 0.3) !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#activePlans .bg-gradient-to-r::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #3b82f6);
    border-radius: 1rem 1rem 0 0;
}

#activePlans .bg-gradient-to-r:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
}

/* Títulos e textos do plano ativo */
#activePlans h4 {
    color: #16a34a !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#activePlans h4 i {
    font-size: 1.25rem;
    color: #16a34a;
}

#activePlans p {
    color: #16a34a !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

/* Status do plano */
#activePlans .text-right {
    text-align: right !important;
}

#activePlans .text-right .text-green-600 {
    color: #16a34a !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

#activePlans .text-right .text-green-700 {
    color: #15803d !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

/* Dark mode para planos ativos */
.dark #activePlans .bg-gradient-to-r {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%) !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
}

.dark #activePlans .bg-gradient-to-r:hover {
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.6);
}

.dark #activePlans h4,
.dark #activePlans h4 *,
.dark #activePlans .bg-gradient-to-r h4,
.dark #activePlans .bg-gradient-to-r h4 * {
    color: #ffffff !important;
    text-shadow: 
        0 0 0 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(134, 239, 172, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3) !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
}

.dark #activePlans h4 i {
    color: #ffffff;
    filter: drop-shadow(0 0 0 2px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 6px rgba(134, 239, 172, 0.6));
}

.dark #activePlans p {
    color: #22c55e !important;
}

.dark #activePlans .text-right .text-green-600 {
    color: #22c55e !important;
}

.dark #activePlans .text-right .text-green-700 {
    color: #4ade80 !important;
}

/* Estado sem plano */
#activePlans .text-center {
    padding: 3rem 2rem !important;
}

#activePlans .text-center i {
    font-size: 4rem !important;
    color: #9ca3af !important;
    margin-bottom: 1.5rem !important;
    opacity: 0.7;
}

#activePlans .text-center p {
    color: #6b7280 !important;
    font-size: 1.125rem !important;
    margin-bottom: 2rem !important;
}

.dark #activePlans .text-center i {
    color: #6b7280 !important;
}

.dark #activePlans .text-center p {
    color: #9ca3af !important;
}

/* Botão de escolher plano */
#activePlans .lorde-btn {
    background: var(--primary) !important;
    color: var(--surface-dark) !important;
    padding: 1rem 2rem !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 191, 174, 0.3) !important;
}

#activePlans .lorde-btn:hover {
    background: var(--primary-light) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 191, 174, 0.4) !important;
}

/* ==================== PAINEL GERENCIAR PLANOS - DESIGN PROFISSIONAL ==================== */

/* Container do painel de gerenciar planos */
#activePlans .bg-blue-50 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.05) 100%) !important;
    border: 2px solid rgba(59, 130, 246, 0.3) !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    margin-top: 2rem !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#activePlans .bg-blue-50::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 1rem 1rem 0 0;
}

#activePlans .bg-blue-50:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Título do painel */
#activePlans .bg-blue-50 h4 {
    color: #1e40af !important;
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#activePlans .bg-blue-50 h4 i {
    font-size: 1.25rem;
    color: #1e40af;
}

/* Labels dos campos */
#activePlans .bg-blue-50 label {
    color: #1e40af !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* Inputs e selects */
#activePlans .bg-blue-50 input,
#activePlans .bg-blue-50 select {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(59, 130, 246, 0.2) !important;
    border-radius: 0.75rem !important;
    padding: 0.875rem 1rem !important;
    color: #1f2937 !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

#activePlans .bg-blue-50 input:focus,
#activePlans .bg-blue-50 select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
}

#activePlans .bg-blue-50 input::placeholder {
    color: #9ca3af !important;
}

/* Botão de atualizar */
#activePlans .bg-blue-50 .bg-teal-500 {
    background: var(--primary) !important;
    color: var(--surface-dark) !important;
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 191, 174, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
}

#activePlans .bg-blue-50 .bg-teal-500:hover {
    background: var(--primary-light) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 191, 174, 0.4) !important;
}

/* Dark mode para painel de gerenciar planos */
.dark #activePlans .bg-blue-50 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(147, 197, 253, 0.08) 100%) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
}

.dark #activePlans .bg-blue-50:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.6);
}

.dark #activePlans .bg-blue-50 h4,
.dark #activePlans .bg-blue-50 h4 *,
.dark #activePlans .bg-blue-50 .text-blue-700,
.dark #activePlans .bg-blue-50 .text-blue-300 {
    color: #ffffff !important;
    text-shadow: 
        0 0 0 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(59, 130, 246, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3) !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
}

.dark #activePlans .bg-blue-50 h4 i {
    color: #ffffff;
    filter: drop-shadow(0 0 0 2px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 6px rgba(59, 130, 246, 0.6));
}

.dark #activePlans .bg-blue-50 label {
    color: #bfdbfe !important;
    text-shadow: 0 0 4px rgba(191, 219, 254, 0.3), 0 1px 2px rgba(0, 0, 0, 0.4) !important;
    font-weight: 700 !important;
}

.dark #activePlans .bg-blue-50 input,
.dark #activePlans .bg-blue-50 select {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    color: #f8fafc !important;
}

.dark #activePlans .bg-blue-50 input:focus,
.dark #activePlans .bg-blue-50 select:focus {
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.dark #activePlans .bg-blue-50 input::placeholder {
    color: #94a3b8 !important;
}

/* Opções do select no dark mode */
.dark #activePlans .bg-blue-50 select option {
    background: #0f172a !important;
    color: #f8fafc !important;
}

/* Forçar cor branca nos títulos específicos do dark mode */
.dark #activePlans .text-green-700,
.dark #activePlans .text-green-300,
.dark #activePlans .text-blue-700,
.dark #activePlans .text-blue-300,
.dark #activePlans .bg-gradient-to-r .text-green-700,
.dark #activePlans .bg-gradient-to-r .text-green-300,
.dark #activePlans .bg-blue-50 .text-blue-700,
.dark #activePlans .bg-blue-50 .text-blue-300,
html.dark #activePlans .text-green-700,
html.dark #activePlans .text-green-300,
html.dark #activePlans .text-blue-700,
html.dark #activePlans .text-blue-300 {
    color: #ffffff !important;
    text-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(59, 130, 246, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3) !important;
    font-weight: 800 !important;
}

/* Regra super específica para sobrescrever Tailwind */
html.dark #activePlans h4.text-green-700.dark\:text-green-300,
html.dark #activePlans h4.text-blue-700.dark\:text-blue-300,
.dark #activePlans .text-xl.font-bold.text-green-700.dark\:text-green-300,
.dark #activePlans .text-lg.font-bold.text-blue-700.dark\:text-blue-300 {
    color: #ffffff !important;
    text-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.4) !important;
    font-weight: 800 !important;
}

/* Correção específica para inputs e selects no painel admin dark mode */
.dark #criarCampanhaContainer input,
.dark #criarCampanhaContainer select,
.dark #criarCampanhaContainer textarea,
.dark #activePlans input,
.dark #activePlans select {
    background-color: #374151 !important;
    border-color: #4b5563 !important;
    color: #f9fafb !important;
}

.dark #criarCampanhaContainer input::placeholder,
.dark #criarCampanhaContainer textarea::placeholder {
    color: #9ca3af !important;
}

.dark #criarCampanhaContainer input:focus,
.dark #criarCampanhaContainer select:focus,
.dark #criarCampanhaContainer textarea:focus,
.dark #activePlans input:focus,
.dark #activePlans select:focus {
    border-color: #00bfae !important;
    box-shadow: 0 0 0 1px #00bfae !important;
}

/* Garantir que as opções dos selects também tenham contraste adequado */
.dark #criarCampanhaContainer select option,
.dark #activePlans select option {
    background-color: #374151 !important;
    color: #f9fafb !important;
}

/* Correção específica para títulos no painel admin dark mode */
.dark #criarCampanhaContainer h5,
.dark #activePlans h4 {
    color: #1f2937 !important;
}

/* Correção específica para títulos das campanhas no painel admin dark mode */
.dark #listaCampanhasAdmin h6 {
    color: #1f2937 !important;
}

/* Painel Admin - Design profissional e consistente no dark mode */
.dark #adminConsole {
    color: var(--text-light) !important;
}

/* Título principal "Painel do Administrador" */
.dark #adminConsole h4.text-blue-700,
.dark #adminConsole h4 {
    color: var(--primary-light) !important;
    text-shadow: 0 0 10px rgba(0, 252, 200, 0.3);
}

/* Parágrafo de descrição */
.dark #adminConsole p.text-blue-600,
.dark #adminConsole p {
    color: #cbd5e1 !important;
}

/* Títulos de seções (h5, h6) */
.dark #adminConsole h5,
.dark #adminConsole h6 {
    color: var(--text-light) !important;
}

/* Labels dos formulários */
.dark #adminConsole label {
    color: #e5e7eb !important;
}

/* Background do painel principal */
.dark #adminConsole .bg-gradient-to-r {
    background: linear-gradient(135deg, rgba(0, 252, 200, 0.1) 0%, rgba(0, 191, 174, 0.05) 100%) !important;
    border-left-color: var(--primary) !important;
}

/* Cards de campanhas na lista */
.dark #listaCampanhasAdmin .bg-gray-50 {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(0, 252, 200, 0.2) !important;
}

/* Formulário de criação */
.dark #criarCampanhaContainer .bg-gray-50 {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(0, 252, 200, 0.2) !important;
    border-radius: 0.75rem !important;
}

/* Hover effects para cards de campanhas */
.dark #listaCampanhasAdmin .bg-gray-50:hover {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(0, 252, 200, 0.4) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 252, 200, 0.15);
}

/* Botões no painel admin */
.dark #adminConsole .lorde-btn {
    background: var(--primary) !important;
    color: var(--surface-dark) !important;
    box-shadow: 0 4px 12px rgba(0, 252, 200, 0.3);
}

.dark #adminConsole .lorde-btn:hover {
    background: var(--primary-light) !important;
    box-shadow: 0 6px 16px rgba(0, 252, 200, 0.4);
    transform: translateY(-1px);
}

/* Botão de editar campanha */
.dark #listaCampanhasAdmin .bg-blue-500 {
    background: #3b82f6 !important;
    transition: all 0.3s ease;
}

.dark #listaCampanhasAdmin .bg-blue-500:hover {
    background: #2563eb !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

/* Botão de ver jogadores */
.dark #listaCampanhasAdmin .bg-green-500 {
    background: #22c55e !important;
    transition: all 0.3s ease;
}

.dark #listaCampanhasAdmin .bg-green-500:hover {
    background: #16a34a !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    transform: translateY(-1px);
}

/* Botão de excluir campanha */
.dark #listaCampanhasAdmin .bg-red-500 {
    background: #ef4444 !important;
    transition: all 0.3s ease;
}

.dark #listaCampanhasAdmin .bg-red-500:hover {
    background: #dc2626 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

/* Texto dos detalhes das campanhas */
.dark #listaCampanhasAdmin .text-gray-500 {
    color: #9ca3af !important;
}

/* Nome das campanhas com destaque sutil */
.dark #listaCampanhasAdmin h6 {
    color: var(--text-light) !important;
    font-weight: 600 !important;
}

/* Descrição das campanhas */
.dark #listaCampanhasAdmin .text-gray-600 {
    color: #d1d5db !important;
}

/* Efeito de brilho sutil no título principal */
.dark #adminConsole h3 {
    color: var(--text-light) !important;
    text-shadow: 0 0 8px rgba(0, 252, 200, 0.2);
}

/* Melhorar aparência dos selects e inputs no dark mode */
.dark #criarCampanhaContainer select,
.dark #criarCampanhaContainer input,
.dark #criarCampanhaContainer textarea {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(0, 252, 200, 0.3) !important;
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

.dark #criarCampanhaContainer select:focus,
.dark #criarCampanhaContainer input:focus,
.dark #criarCampanhaContainer textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(0, 252, 200, 0.2) !important;
    background: rgba(15, 23, 42, 0.9) !important;
}

/* Placeholder text */
.dark #criarCampanhaContainer input::placeholder,
.dark #criarCampanhaContainer textarea::placeholder {
    color: #94a3b8 !important;
}

/* Mensagens de feedback */
.dark #campanhaMsg .text-green-500 {
    color: #22c55e !important;
    background: rgba(34, 197, 94, 0.1);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border-left: 3px solid #22c55e;
}

.dark #campanhaMsg .text-red-500 {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border-left: 3px solid #ef4444;
}

/* ==================== MODAL JOGADORES DARK MODE ==================== */

/* Modal de jogadores - background e estrutura */
.dark #modal-jogadores-campanha .modal-content {
    background: var(--surface-dark) !important;
    border: 1px solid rgba(0, 252, 200, 0.2) !important;
}

/* Título do modal */
.dark #modal-jogadores-campanha .modal-title {
    color: var(--text-light) !important;
}

/* Título principal dos jogadores */
.dark #modal-jogadores-campanha h3 {
    color: var(--text-light) !important;
}

/* Cards dos jogadores */
.dark #modal-jogadores-campanha .bg-gray-50 {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(0, 252, 200, 0.2) !important;
}

/* Nome dos jogadores */
.dark #modal-jogadores-campanha h4 {
    color: var(--text-light) !important;
}

/* Email dos jogadores */
.dark #modal-jogadores-campanha .text-gray-600 {
    color: #9ca3af !important;
}

/* Texto de data de inscrição */
.dark #modal-jogadores-campanha .text-gray-500 {
    color: #9ca3af !important;
}

/* Label das anotações */
.dark #modal-jogadores-campanha label {
    color: var(--text-light) !important;
}

/* Textarea das anotações */
.dark #modal-jogadores-campanha textarea {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(0, 252, 200, 0.3) !important;
    color: var(--text-light) !important;
}

.dark #modal-jogadores-campanha textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(0, 252, 200, 0.2) !important;
}

.dark #modal-jogadores-campanha textarea::placeholder {
    color: #94a3b8 !important;
}

/* Botões do modal de jogadores */
.dark #modal-jogadores-campanha .bg-blue-500 {
    background: #3b82f6 !important;
    transition: all 0.3s ease;
}

.dark #modal-jogadores-campanha .bg-blue-500:hover {
    background: #2563eb !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.dark #modal-jogadores-campanha .bg-red-500 {
    background: #ef4444 !important;
    transition: all 0.3s ease;
}

.dark #modal-jogadores-campanha .bg-red-500:hover {
    background: #dc2626 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

/* Badge do plano */
.dark #modal-jogadores-campanha .bg-primary {
    background: var(--primary) !important;
    color: var(--surface-dark) !important;
}

/* Estado vazio */
.dark #modal-jogadores-campanha .text-gray-400 {
    color: #9ca3af !important;
}

.dark #modal-jogadores-campanha .text-gray-600 {
    color: #d1d5db !important;
}

/* Hover effect nos cards */
.dark #modal-jogadores-campanha .bg-gray-50:hover {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(0, 252, 200, 0.4) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 252, 200, 0.15);
}

/* Correções adicionais para elementos específicos */
.dark #modal-jogadores-campanha .text-gray-700 {
    color: var(--text-light) !important;
}

.dark #modal-jogadores-campanha .text-gray-800 {
    color: var(--text-light) !important;
}

.dark #modal-jogadores-campanha .text-gray-900 {
    color: var(--text-light) !important;
}

/* Bordas dos cards */
.dark #modal-jogadores-campanha .border-gray-200 {
    border-color: rgba(0, 252, 200, 0.2) !important;
}

.dark #modal-jogadores-campanha .border-gray-700 {
    border-color: rgba(0, 252, 200, 0.3) !important;
}

/* Background dos inputs e textareas */
.dark #modal-jogadores-campanha .bg-white {
    background: rgba(15, 23, 42, 0.8) !important;
}

/* Texto do estado vazio */
.dark #modal-jogadores-campanha .text-center h3 {
    color: #9ca3af !important;
}

.dark #modal-jogadores-campanha .text-center p {
    color: #6b7280 !important;
}

/* Garantir que todos os textos sejam visíveis */
.dark #modal-jogadores-campanha * {
    border-color: rgba(0, 252, 200, 0.2);
}

.dark #modal-jogadores-campanha .space-y-4 > div {
    color: var(--text-light);
}

/* Estados de tema com feedback visual */
.dark-mode-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    z-index: var(--z-tooltip);
    transition: transform var(--transition-normal);
    pointer-events: none;
}

.dark-mode-indicator.show {
    transform: translate(-50%, -50%) scale(1);
}

.light-mode-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    z-index: var(--z-tooltip);
    transition: transform var(--transition-normal);
    pointer-events: none;
    box-shadow: var(--shadow-lg);
}

.light-mode-indicator.show {
    transform: translate(-50%, -50%) scale(1);
}

/* Transições suaves para mudança de tema */
html {
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

body, 
.navbar-lorde,
.hero-section,
.plan-card,
.campanha-card,
.modal-content,
.footer-lorde {
    transition: background-color var(--transition-normal), 
                color var(--transition-normal), 
                border-color var(--transition-normal);
} 

/* ==================== PERFIL - ABA PLANOS PROFISSIONAL ==================== */

/* Container principal da aba planos */
#planosContainer {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

/* Cartão de status do plano atual - Design profissional */
.plano-status-principal {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.9) 0%, 
        rgba(147, 51, 234, 0.9) 50%, 
        rgba(236, 72, 153, 0.9) 100%
    );
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px -12px rgba(59, 130, 246, 0.3),
        0 8px 16px -4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.plano-status-principal::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.8), 
        rgba(147, 51, 234, 0.8), 
        rgba(236, 72, 153, 0.8),
        rgba(59, 130, 246, 0.8)
    );
    border-radius: 22px;
    z-index: -1;
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
}

.plano-status-principal:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 25px 50px -12px rgba(59, 130, 246, 0.4),
        0 12px 24px -4px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Design especial para admin */
.plano-status-principal.admin {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.9) 0%, 
        rgba(245, 158, 11, 0.9) 50%, 
        rgba(16, 185, 129, 0.9) 100%
    );
}

.plano-status-principal.admin::before {
    background: linear-gradient(45deg, 
        rgba(239, 68, 68, 0.8), 
        rgba(245, 158, 11, 0.8), 
        rgba(16, 185, 129, 0.8),
        rgba(239, 68, 68, 0.8)
    );
}

/* Cabeçalho do plano */
.plano-header-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.plano-info-left h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plano-nome-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.plano-indicador {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    animation: pulse 2s infinite;
}

.plano-nome-principal {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.plano-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.badge-admin {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.badge-popular {
    background: rgba(245, 158, 11, 0.9);
    color: rgba(120, 53, 15, 1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    animation: popularPulse 2s infinite;
}

@keyframes popularPulse {
    0%, 100% { 
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    }
    50% { 
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
    }
}

.plano-descricao {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.plano-descricao-extra {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plano-emoji {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

/* Cartão de benefícios do plano */
.plano-beneficios-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 191, 174, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.05),
        0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.dark .plano-beneficios-card {
    background: rgb(0 0 0 / 95%);
    border-color: rgba(0, 191, 174, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

.plano-beneficios-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9);
}

.dark .plano-beneficios-card:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.15);
}

.beneficios-titulo {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark .beneficios-titulo {
    color: var(--text-light);
}

.beneficios-subtitulo {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark .beneficios-subtitulo {
    color: var(--text-light);
}

.beneficios-lista {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.beneficio-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

.beneficio-item:hover {
    padding-left: 0.5rem;
}

.beneficio-icone {
    color: #10b981;
    font-size: 1.1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.beneficio-texto {
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
}

.dark .beneficio-texto {
    color: var(--text-light);
}

.beneficio-extra {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.dark .beneficio-extra {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

/* Seção de permissões */
.permissoes-container {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.05) 0%, 
        rgba(52, 211, 153, 0.05) 100%
    );
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 1rem;
}

.dark .permissoes-container {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1) 0%, 
        rgba(52, 211, 153, 0.1) 100%
    );
    border-color: rgba(16, 185, 129, 0.3);
}

.permissoes-conteudo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.permissoes-icone {
    color: #10b981;
    font-size: 1.2rem;
}

.permissoes-texto {
    font-weight: 600;
    color: #065f46;
    font-size: 1rem;
}

.dark .permissoes-texto {
    color: #6ee7b7;
}

.permissoes-detalhe {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
    margin-left: 2rem;
}

.dark .permissoes-detalhe {
    color: #9ca3af;
}

/* Grid de ações dos planos */
.planos-acoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.acao-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 174, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dark .acao-card {
    background: linear-gradient(113deg, rgb(0 0 0 / 10%) 0%, rgb(0 252 200 / 10%) 100%);
    border-color: rgba(0, 191, 174, 0.2);
}

.acao-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 174, 0.1), transparent);
    transition: left 0.5s ease;
}

.acao-card:hover::before {
    left: 100%;
}

.acao-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 191, 174, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 191, 174, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.acao-card.destacado {
    background: linear-gradient(135deg, 
        rgba(0, 252, 200, 0.05) 0%, 
        rgba(147, 51, 234, 0.05) 100%
    );
    border: 1px solid rgba(0, 252, 200, 0.3);
}

.dark .acao-card.destacado {
    background: linear-gradient(113deg, rgb(0 0 0 / 10%) 0%, rgb(0 252 200 / 10%) 100%);
    border-color: rgba(0, 252, 200, 0.4);
}

.acao-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    animation: bounce 2s infinite;
}

.acao-titulo {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.dark .acao-titulo {
    color: var(--text-light);
}

.acao-descricao {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.acao-botao {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.acao-botao::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;
}

.acao-botao:hover::before {
    left: 100%;
}

.acao-botao:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 191, 174, 0.3);
}

.acao-botao.secundario {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.acao-botao.secundario:hover {
    background: var(--primary);
    color: white;
}

/* Seção de código de ativação */
.codigo-ativacao-container {
    background: rgba(249, 250, 251, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.dark .codigo-ativacao-container {
    background: linear-gradient(113deg, rgb(0 0 0 / 10%) 0%, rgb(0 252 200 / 10%) 100%);
    border-color: rgba(75, 85, 99, 0.5);
}

.codigo-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.codigo-icone {
    color: var(--primary);
    font-size: 1.25rem;
}

.codigo-titulo {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.dark .codigo-titulo {
    color: var(--text-light);
}

.codigo-descricao {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.codigo-form {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.codigo-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(209, 213, 219, 0.5);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.codigo-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 191, 174, 0.1);
    transform: translateY(-1px);
}

.dark .codigo-input {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(75, 85, 99, 0.5);
    color: var(--text-light);
}

.dark .codigo-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 191, 174, 0.2);
}

.codigo-botao {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.codigo-botao:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* Animações */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsividade */
@media (max-width: 768px) {
    .plano-status-principal {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .plano-header-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .plano-info-left h3 {
        font-size: 1.5rem;
    }
    
    .plano-nome-principal {
        font-size: 1.25rem;
    }
    
    .plano-emoji {
        font-size: 3rem;
    }
    
    .planos-acoes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .codigo-form {
        flex-direction: column;
    }
    
    .codigo-botao {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .plano-status-principal {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .plano-beneficios-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .beneficios-titulo {
        font-size: 1.125rem;
    }
    
    .acao-card {
        padding: 1rem;
    }
    
    .acao-emoji {
        font-size: 2.5rem;
    }
    
    .codigo-ativacao-container {
        padding: 1rem;
        border-radius: 12px;
    }
}

/* Estados de loading e mensagens */
.codigo-msg {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

.codigo-msg .text-green-500 {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.codigo-msg .text-red-500 {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.dark .codigo-msg .text-green-500 {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.dark .codigo-msg .text-red-500 {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
} 

/* ==================== CARTÕES DE CLIENTES - PAINEL ADMIN ==================== */

/* Container de busca de clientes */
#buscarClienteContainer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 191, 174, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.dark #buscarClienteContainer {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(0, 191, 174, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Título da busca */
#buscarClienteContainer h3 {
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark #buscarClienteContainer h3 {
    color: var(--text-light);
    text-shadow: 0 0 8px rgba(0, 252, 200, 0.3);
}

/* Input de busca */
#buscarCliente {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 191, 174, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
}

#buscarCliente:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 191, 174, 0.1);
}

.dark #buscarCliente {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(0, 191, 174, 0.3);
    color: var(--text-light);
}

.dark #buscarCliente:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 191, 174, 0.2);
    background: rgba(15, 23, 42, 0.9);
}

.dark #buscarCliente::placeholder {
    color: #94a3b8;
}

/* Botão de buscar */
#buscarCliente + button {
    background: var(--primary);
    color: var(--surface-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    margin-left: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 191, 174, 0.3);
}

#buscarCliente + button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 191, 174, 0.4);
}

/* Resultado da busca */
#resultadoBusca {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(0, 191, 174, 0.05);
    border: 1px solid rgba(0, 191, 174, 0.1);
}

.dark #resultadoBusca {
    background: rgba(0, 191, 174, 0.1);
    border-color: rgba(0, 191, 174, 0.2);
}

/* Cartões de usuários/clientes - Melhorados para dark mode */
.user-card {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 2px solid rgba(0, 191, 174, 0.15) !important;
    border-radius: 1.25rem !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.dark .user-card {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.98) 0%, 
        rgba(51, 65, 85, 0.95) 100%) !important;
    border-color: rgba(0, 191, 174, 0.4) !important;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(0, 191, 174, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), rgba(0, 191, 174, 0.6));
    border-radius: 1.25rem 1.25rem 0 0;
}

.user-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(0, 191, 174, 0.4) !important;
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 191, 174, 0.1) !important;
}

.dark .user-card:hover {
    border-color: rgba(0, 191, 174, 0.6) !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 191, 174, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* Avatar do usuário */
.user-card img {
    width: 4.5rem !important;
    height: 4.5rem !important;
    border: 3px solid var(--primary) !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    box-shadow: 0 4px 12px rgba(0, 191, 174, 0.3) !important;
    transition: all 0.3s ease !important;
}

.user-card img:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(0, 191, 174, 0.4) !important;
}

/* Nome do usuário */
.user-card h4 {
    color: var(--text-main) !important;
    font-size: 1.375rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.dark .user-card h4 {
    color: var(--text-light) !important;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Email do usuário */
.user-card p {
    color: #6b7280 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    margin-bottom: 1rem !important;
}

.dark .user-card p {
    color: #d1d5db !important;
}

/* Informações adicionais (Discord, Idade) */
.user-card .text-gray-500 {
    color: #9ca3af !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

.dark .user-card .text-gray-500 {
    color: #cbd5e1 !important;
}

/* Badge de Admin */
.user-card .bg-purple-600 {
    background: linear-gradient(135deg, #8b5cf6, #a855f7) !important;
    color: white !important;
    padding: 0.375rem 0.875rem !important;
    border-radius: 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Badge do plano */
.user-card .plano-badge {
    background: linear-gradient(135deg, var(--primary), rgba(0, 191, 174, 0.8)) !important;
    color: var(--surface-dark) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 1.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    box-shadow: 0 2px 8px rgba(0, 191, 174, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin-top: 0.75rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
}

/* Badge do plano "Relógio" específico */
.user-card .plano-badge.plano-relogio {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Botões de ação do usuário */
.user-card .admin-action-btn {
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-right: 0.75rem !important;
    margin-bottom: 0.5rem !important;
}

/* Botão Editar */
.user-card .bg-blue-500 {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

.user-card .bg-blue-500:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4) !important;
}

/* Botão Conquistas */
.user-card .bg-green-500 {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3) !important;
}

.user-card .bg-green-500:hover {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4) !important;
}

/* Separação visual entre seções */
.user-card .flex.items-center.gap-4 {
    margin-bottom: 1.5rem !important;
}

.user-card .flex.gap-2 {
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(0, 191, 174, 0.1) !important;
}

.dark .user-card .flex.gap-2 {
    border-top-color: rgba(0, 191, 174, 0.2) !important;
}

/* Responsive para cartões de usuário */
@media (max-width: 768px) {
    .user-card {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .user-card img {
        width: 3.5rem !important;
        height: 3.5rem !important;
    }
    
    .user-card h4 {
        font-size: 1.125rem !important;
    }
    
    .user-card .admin-action-btn {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.8rem !important;
        margin-right: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .user-card .flex.items-center.gap-4 {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }
    
    .user-card .flex.gap-2 {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .user-card .admin-action-btn {
        width: 100% !important;
        justify-content: center !important;
        margin-right: 0 !important;
    }
}

/* Efeitos de loading para cartões */
.user-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.user-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 174, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Estado vazio da lista de clientes */
.empty-users-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
}

.dark .empty-users-state {
    color: #9ca3af;
}

.empty-users-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-users-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-users-state p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Container principal da seção de busca de clientes */
.dark #clientesContainer {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.95) 0%, 
        rgba(51, 65, 85, 0.9) 100%);
    border: 1px solid rgba(0, 191, 174, 0.3);
    border-radius: 1.5rem;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Títulos principais da seção de clientes */
.dark #clientesContainer h3 {
    color: var(--text-light) !important;
    text-shadow: 0 0 10px rgba(0, 252, 200, 0.3);
}

/* Container da lista de clientes */
#listaClientes {
    min-height: 200px;
}

/* Estilo para quando a lista está carregando */
.loading-clients {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: #6b7280;
}

.dark .loading-clients {
    color: #9ca3af;
}

.loading-clients i {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Botão de carregar todos os usuários */
.load-all-users-btn {
    background: linear-gradient(135deg, var(--primary), rgba(0, 191, 174, 0.8));
    color: var(--surface-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 191, 174, 0.3);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.load-all-users-btn:hover {
    background: linear-gradient(135deg, rgba(0, 252, 200, 0.9), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 191, 174, 0.4);
}

/* Melhorar aparência dos buttons de ação nos user cards */
.user-card .admin-action-btn {
    position: relative;
    overflow: hidden;
}

.user-card .admin-action-btn::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;
}

.user-card .admin-action-btn:hover::before {
    left: 100%;
}

/* Animações suaves para os cartões */
.user-card {
    animation: slideInUp 0.5s ease-out;
}

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

/* Indicador de novo plano aplicado */
.plano-updated {
    animation: pulse-green 1s ease-in-out;
}

@keyframes pulse-green {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    50% { 
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}

/* Melhorar a aparência dos inputs no dark mode */
.dark input[type="text"], 
.dark input[type="email"],
.dark input[type="tel"],
.dark input[type="number"],
.dark select,
.dark textarea {
    background: #4c4c4c !important;
    border: 1px solid rgba(0, 191, 174, 0.3) !important;
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

.dark input[type="text"]:focus,
.dark input[type="email"]:focus, 
.dark input[type="tel"]:focus,
.dark input[type="number"]:focus,
.dark select:focus,
.dark textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(0, 191, 174, 0.2) !important;
    background: #4c4c4c !important;
}

/* Placeholder text melhorado para dark mode */
.dark input::placeholder,
.dark textarea::placeholder {
    color: #4c4c4c !important;
}

/* Estilo para badges de plano com hover effect */
.plano-badge {
    transition: all 0.3s ease;
    cursor: default;
}

.plano-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
} 

/* ==================== BADGES DE PLANOS - DESIGN PROFISSIONAL ==================== */

/* Badge base para planos */
.plano-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.025em;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.plano-badge::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.6s ease;
}

.plano-badge:hover::before {
    left: 100%;
}

.plano-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Plano Grátis */
.plano-badge.plano-gratis {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #374151;
    border-color: #d1d5db;
}

.dark .plano-badge.plano-gratis {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    color: #f9fafb;
    border-color: #6b7280;
}

/* Plano Segundos */
.plano-badge.plano-segundos {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.plano-badge.plano-segundos:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

/* Plano Minutos */
.plano-badge.plano-minutos {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border-color: #6d28d9;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.plano-badge.plano-minutos:hover {
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

/* Plano Relógio */
.plano-badge.plano-relogio {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #047857;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    position: relative;
}

.plano-badge.plano-relogio::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(135deg, #10b981, #00fcc8);
    border-radius: 1.5rem;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.plano-badge.plano-relogio:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

/* Plano Lorde */
.plano-badge.plano-lorde {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-color: #b45309;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.plano-badge.plano-lorde:hover {
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

/* Plano Premium (Praça do Tempo) */
.plano-badge.plano-premium {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
    border-color: #be185d;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
    position: relative;
}

.plano-badge.plano-premium::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(135deg, #ec4899, #f472b6, #ec4899);
    border-radius: 1.5rem;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.plano-badge.plano-premium:hover {
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
}

/* Plano Atemporal */
.plano-badge.plano-atemporal {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border-color: #4338ca;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.plano-badge.plano-atemporal:hover {
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

/* Plano Administrador */
.plano-badge.plano-administrador {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 40%, #f59e0b 70%, #10b981 100%);
    color: white;
    border: 2px solid #ffffff;
    box-shadow: 
        0 4px 12px rgba(239, 68, 68, 0.3),
        0 0 20px rgba(239, 68, 68, 0.2);
    position: relative;
    animation: adminGlow 3s ease-in-out infinite;
}

.plano-badge.plano-administrador::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    bottom: -3px;
    left: -3px;
    background: linear-gradient(135deg, #ef4444, #f59e0b, #10b981, #ef4444);
    border-radius: 1.5rem;
    z-index: -1;
    opacity: 0.4;
    animation: adminPulse 2s infinite;
}

.plano-badge.plano-administrador:hover {
    box-shadow: 
        0 8px 24px rgba(239, 68, 68, 0.4),
        0 0 30px rgba(239, 68, 68, 0.3);
}

/* Animações especiais */
@keyframes adminGlow {
    0%, 100% { 
        filter: brightness(1) saturate(1);
    }
    50% { 
        filter: brightness(1.1) saturate(1.2);
    }
}

@keyframes adminPulse {
    0%, 100% { 
        opacity: 0.4;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.02);
    }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.3;
    }
    50% { 
        opacity: 0.6;
    }
}

/* Emoji dentro do badge */
.plano-badge .plano-emoji {
    font-size: 1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Badge com indicador de popularidade */
.plano-badge.popular {
    position: relative;
}

.plano-badge.popular::before {
    content: '🔥';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f59e0b;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 2px solid white;
    animation: bounce 2s infinite;
}

/* Badge de Admin extra */
.admin-badge {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.5rem;
    box-shadow: 0 2px 4px rgba(124, 58, 237, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive para badges */
@media (max-width: 768px) {
    .plano-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        gap: 0.375rem;
    }
    
    .plano-badge .plano-emoji {
        font-size: 0.875rem;
    }
    
    .admin-badge {
        font-size: 0.625rem;
        padding: 0.125rem 0.375rem;
    }
}

/* Estados especiais para badges */
.plano-badge.loading {
    opacity: 0.7;
    pointer-events: none;
}

.plano-badge.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin: -0.5rem 0 0 -0.5rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.plano-badge.updated {
    animation: updateFlash 1s ease-out;
}

@keyframes updateFlash {
    0%, 100% { 
        background-size: 100%;
    }
    50% { 
        background-size: 110%;
        filter: brightness(1.2);
    }
}

/* Container do badge na seção de planos */
.plano-badge-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.plano-badge-container .plano-badge {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    margin: 0;
}

/* Melhorar espaçamento do nome principal */
.plano-nome-principal {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Ajustar badges de status */
.plano-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.badge-popular {
    background: rgba(245, 158, 11, 0.9);
    color: rgba(120, 53, 15, 1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    animation: popularPulse 2s infinite;
}

@keyframes popularPulse {
    0%, 100% { 
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    }
    50% { 
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
    }
}

/* Melhorar responsividade */
@media (max-width: 768px) {
    .plano-badge-container .plano-badge {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .plano-nome-principal {
        font-size: 1.25rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .plano-badges {
        justify-content: center;
    }
} 

/* ==================== MODAL CRIAR TROFÉU ==================== */
.modal-criar-trofeu {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-criar-trofeu .modal-body {
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    padding: 1.5rem;
}

.modal-criar-trofeu .form-group {
    margin-bottom: 1.5rem;
}

.modal-criar-trofeu .form-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.dark .modal-criar-trofeu .form-label {
    color: #d1d5db;
}

.modal-criar-trofeu .form-input,
.modal-criar-trofeu .form-textarea,
.modal-criar-trofeu .form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.modal-criar-trofeu .form-input:focus,
.modal-criar-trofeu .form-textarea:focus,
.modal-criar-trofeu .form-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.dark .modal-criar-trofeu .form-input,
.dark .modal-criar-trofeu .form-textarea,
.dark .modal-criar-trofeu .form-select {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.dark .modal-criar-trofeu .form-input:focus,
.dark .modal-criar-trofeu .form-textarea:focus,
.dark .modal-criar-trofeu .form-select:focus {
    border-color: #10b981;
    background: #4b5563;
}

.modal-criar-trofeu .form-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.dark .modal-criar-trofeu .form-hint {
    color: #9ca3af;
}

.modal-criar-trofeu .form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Grupo de ícone com preview */
.icone-input-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icone-input-group .form-input {
    flex: 1;
}

.icone-preview {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border: 2px solid rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.icone-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.dark .icone-preview {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: rgba(245, 158, 11, 0.2);
}

/* Campos dinâmicos */
#campos-condicao-dinamicos {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.dark #campos-condicao-dinamicos {
    border-color: #4b5563;
}

/* Alertas dentro do modal */
.modal-criar-trofeu .alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.modal-criar-trofeu .alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.modal-criar-trofeu .alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.dark .modal-criar-trofeu .alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.3);
}

.dark .modal-criar-trofeu .alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

/* Melhorias nos botões do modal */
.modal-criar-trofeu .modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.dark .modal-criar-trofeu .modal-footer {
    border-color: #4b5563;
}

.modal-criar-trofeu .secondary-btn {
    padding: 0.75rem 1.5rem;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.modal-criar-trofeu .secondary-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.dark .modal-criar-trofeu .secondary-btn {
    background: #4b5563;
    color: #d1d5db;
    border-color: #6b7280;
}

.dark .modal-criar-trofeu .secondary-btn:hover {
    background: #6b7280;
    border-color: #9ca3af;
}

.modal-criar-trofeu .lorde-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.modal-criar-trofeu .lorde-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
}

.modal-criar-trofeu .lorde-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Cards informativos dentro do modal */
.modal-criar-trofeu .bg-blue-50 {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 0.5rem;
    padding: 1rem;
}

.modal-criar-trofeu .bg-green-50 {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 0.5rem;
    padding: 1rem;
}

.dark .modal-criar-trofeu .bg-blue-50 {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.dark .modal-criar-trofeu .bg-green-50 {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.modal-criar-trofeu .text-blue-500 {
    color: #3b82f6;
}

.modal-criar-trofeu .text-blue-600 {
    color: #2563eb;
}

.modal-criar-trofeu .text-blue-700 {
    color: #1d4ed8;
}

.modal-criar-trofeu .text-blue-300 {
    color: #93c5fd;
}

.modal-criar-trofeu .text-blue-400 {
    color: #60a5fa;
}

.modal-criar-trofeu .text-green-500 {
    color: #10b981;
}

.modal-criar-trofeu .text-green-600 {
    color: #059669;
}

.modal-criar-trofeu .text-green-700 {
    color: #047857;
}

.modal-criar-trofeu .text-green-300 {
    color: #6ee7b7;
}

.modal-criar-trofeu .text-green-400 {
    color: #34d399;
}

/* Responsividade do modal */
@media (max-width: 768px) {
    .modal-criar-trofeu {
        max-width: 95vw;
        margin: 1rem auto;
    }
    
    .modal-criar-trofeu .modal-body {
        padding: 1rem;
    }
    
    .modal-criar-trofeu .modal-footer {
        padding: 1rem;
        flex-direction: column-reverse;
    }
    
    .modal-criar-trofeu .modal-footer button {
        width: 100%;
    }
    
    .icone-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .icone-preview {
        align-self: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .modal-criar-trofeu .form-group {
        margin-bottom: 1rem;
    }
    
    .modal-criar-trofeu .form-label {
        font-size: 0.8rem;
    }
    
    .modal-criar-trofeu .form-input,
    .modal-criar-trofeu .form-textarea,
    .modal-criar-trofeu .form-select {
        font-size: 0.8rem;
        padding: 0.625rem;
    }
}

/* Animações específicas para o modal */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-criar-trofeu.show {
    animation: slideInFromTop 0.3s ease-out;
}

.modal-criar-trofeu .form-group {
    animation: slideInFromTop 0.4s ease-out;
}

.modal-criar-trofeu .form-group:nth-child(even) {
    animation-delay: 0.05s;
}

.modal-criar-trofeu .form-group:nth-child(odd) {
    animation-delay: 0.1s;
}

/* ==================== CARD CRIAR TROFÉU ==================== */
.criar-trofeu-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(217, 119, 6, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.criar-trofeu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 50%, #f59e0b 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.dark .criar-trofeu-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

.criar-trofeu-card {
    background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.criar-trofeu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.criar-trofeu-card:hover::before {
    left: 100%;
}

.criar-trofeu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.dark .criar-trofeu-card {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-color: rgba(245, 158, 11, 0.4);
}

.dark .criar-trofeu-card:hover {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    border-color: rgba(245, 158, 11, 0.6);
}

.criar-trofeu-icone {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.criar-trofeu-icone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.criar-trofeu-card:hover .criar-trofeu-icone {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

.criar-trofeu-card:hover .criar-trofeu-icone::before {
    opacity: 1;
}

.criar-trofeu-content {
    flex: 1;
}

.criar-trofeu-titulo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dark .criar-trofeu-titulo {
    color: #f9fafb;
}

.criar-trofeu-descricao {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.dark .criar-trofeu-descricao {
    color: #d1d5db;
}

.criar-trofeu-arrow {
    color: #f59e0b;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.criar-trofeu-card:hover .criar-trofeu-arrow {
    transform: translateX(4px);
    color: #d97706;
}

/* Animação de slide-in para o card */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.criar-trofeu-card {
    animation: slideInFromLeft 0.6s ease-out;
}

/* Responsividade do card */
@media (max-width: 768px) {
    .criar-trofeu-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .criar-trofeu-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .criar-trofeu-icone {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .criar-trofeu-titulo {
        font-size: 1.125rem;
        text-align: center;
        justify-content: center;
    }
    
    .criar-trofeu-arrow {
        transform: rotate(90deg);
    }
    
    .criar-trofeu-card:hover .criar-trofeu-arrow {
        transform: rotate(90deg) translateY(4px);
    }
}

@media (max-width: 480px) {
    .criar-trofeu-section {
        padding: 0.75rem;
    }
    
    .criar-trofeu-card {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .criar-trofeu-icone {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .criar-trofeu-titulo {
        font-size: 1rem;
    }
    
    .criar-trofeu-descricao {
        font-size: 0.8rem;
    }
}

/* Botões de ação admin nos troféus personalizados */
.conquista-admin-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.conquista-card:hover .conquista-admin-actions {
    opacity: 1;
}

.btn-editar-trofeu,
.btn-excluir-trofeu {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    z-index: 10;
}

.btn-editar-trofeu {
    background: #3b82f6;
    color: white;
}

.btn-editar-trofeu:hover {
    background: #2563eb;
    transform: scale(1.05);
}

.btn-excluir-trofeu {
    background: #ef4444;
    color: white;
}

.btn-excluir-trofeu:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Dark mode para botões admin */
.dark .btn-editar-trofeu {
    background: #1d4ed8;
}

.dark .btn-editar-trofeu:hover {
    background: #1e40af;
}

.dark .btn-excluir-trofeu {
    background: #dc2626;
}

.dark .btn-excluir-trofeu:hover {
    background: #b91c1c;
}

/* Modal de confirmação de exclusão */
.modal-confirmacao-exclusao {
    z-index: 1000;
}

.modal-confirmacao-exclusao .modal-content {
    max-width: 400px;
    text-align: center;
}

.modal-confirmacao-exclusao .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-confirmacao-exclusao .modal-body {
    padding: 20px;
}

.modal-confirmacao-exclusao .danger-icon {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 16px;
}

.modal-confirmacao-exclusao .danger-title {
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-confirmacao-exclusao .danger-text {
    color: #6b7280;
    margin-bottom: 20px;
}

.dark .modal-confirmacao-exclusao .danger-title {
    color: #fca5a5;
}

.dark .modal-confirmacao-exclusao .danger-text {
    color: #d1d5db;
}

.modal-confirmacao-exclusao .modal-footer {
    justify-content: center;
    gap: 12px;
}

.btn-confirmar-exclusao {
    background: #ef4444;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-confirmar-exclusao:hover {
    background: #dc2626;
}

.btn-cancelar-exclusao {
    background: #6b7280;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancelar-exclusao:hover {
    background: #4b5563;
}

/* Responsividade para botões admin */
@media (max-width: 768px) {
    .conquista-admin-actions {
        opacity: 1; /* Sempre visível no mobile */
        position: relative;
        top: auto;
        right: auto;
        margin-top: 8px;
        justify-content: center;
    }
    
    .btn-editar-trofeu,
    .btn-excluir-trofeu {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* ==================== ESTILOS PARA IMAGENS DE CAMPANHA ==================== */

.campanha-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}

.campanha-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.campanha-card:hover .campanha-img {
    transform: scale(1.05);
}

.campanha-image .campanha-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dark .campanha-image .campanha-badge {
    background: rgba(0, 0, 0, 0.85);
    color: white;
}

.campanha-header.with-image {
    padding: 1rem 1.5rem 0.5rem 1.5rem;
}

.campanha-header.with-image .campanha-nome {
    margin-bottom: 0;
    min-height: auto;
}

/* Overlay gradiente para melhor legibilidade do texto sobre imagens */
.campanha-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

/* Ajustes responsivos para imagens */
@media (max-width: 768px) {
    .campanha-image {
        height: 180px;
    }
    
    .campanha-image .campanha-badge {
        top: 8px;
        right: 8px;
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .campanha-image {
        height: 160px;
    }
    
    .campanha-header.with-image {
        padding: 0.75rem 1rem 0.25rem 1rem;
    }
}

/* ==================== COMPATIBILIDADE DARK MODE - CSV ==================== */

/* Seção principal de gerenciamento de contatos CSV */
.dark .bg-gradient-to-r.from-green-50.to-blue-50 {
    background: linear-gradient(to right, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.1)) !important;
}

/* Cards de exportar e importar contatos */
.dark .bg-white {
    background: var(--surface-dark) !important;
}

.dark .border-green-200 {
    border-color: rgba(34, 197, 94, 0.3) !important;
}

.dark .border-blue-200 {
    border-color: rgba(59, 130, 246, 0.3) !important;
}

/* Títulos e textos dos cards CSV */
.dark .text-gray-800 {
    color: var(--text-dark) !important;
}

.dark .text-gray-200 {
    color: var(--text-dark) !important;
}

.dark .text-gray-600 {
    color: #9ca3af !important;
}

.dark .text-gray-400 {
    color: #6b7280 !important;
}

/* Preview do CSV */
.dark .bg-gray-50 {
    background: var(--surface-dark) !important;
}

.dark #csvPreviewContent {
    background: var(--dark-surface) !important;
    border: 1px solid var(--border-dark);
    color: var(--text-light);
}

/* Resultados da importação/exportação CSV */
.dark .text-green-600 {
    color: #34d399 !important;
}

.dark .bg-green-50 {
    background: rgba(34, 197, 94, 0.1) !important;
}

.dark .text-blue-700 {
    color: #60a5fa !important;
}

.dark .text-yellow-600 {
    color: #fbbf24 !important;
}

.dark .text-orange-600 {
    color: #fb923c !important;
}

.dark .text-red-600 {
    color: #f87171 !important;
}

.dark .bg-red-50 {
    background: rgba(239, 68, 68, 0.1) !important;
}

.dark .bg-red-900\/20 {
    background: rgba(153, 27, 27, 0.2) !important;
}

.dark .bg-green-900\/20 {
    background: rgba(20, 83, 45, 0.2) !important;
}

.dark .text-red-500 {
    color: #ef4444 !important;
}

.dark .text-green-500 {
    color: #10b981 !important;
}

/* Área de busca de clientes */
.dark .bg-gray-800 {
    background: var(--surface-dark) !important;
}

.dark .border-gray-300 {
    border-color: var(--border-dark) !important;
}

.dark .border-gray-600 {
    border-color: var(--border-dark) !important;
}

.dark .bg-gray-700 {
    background: var(--dark-surface) !important;
}

.dark .text-gray-900 {
    color: var(--text-light) !important;
}

.dark .text-white {
    color: var(--text-light) !important;
}

/* Elementos específicos do CSV */
.dark .text-gray-500 {
    color: #6b7280 !important;
}

/* Cards de resultado da importação */
.dark .bg-green-100 {
    background: rgba(34, 197, 94, 0.15) !important;
}

.dark .text-sm.text-red-500 {
    color: #f87171 !important;
}

/* Detalhes específicos da importação CSV */
.dark .bg-blue-50 {
    background: rgba(59, 130, 246, 0.1) !important;
}

.dark .text-blue-600 {
    color: #60a5fa !important;
}

/* Hover effects para elementos CSV */
.dark .bg-green-500:hover {
    background: #059669 !important;
}

.dark .bg-blue-500:hover {
    background: #2563eb !important;
}

/* Input de arquivo CSV */
.dark input[type="file"] {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    color: var(--text-light);
}

.dark input[type="file"]::-webkit-file-upload-button {
    background: var(--primary);
    color: var(--surface-dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark input[type="file"]::-webkit-file-upload-button:hover {
    background: var(--primary-dark);
}

/* Container principal do CSV */
.dark .border-l-4.border-green-500 {
    border-left-color: #10b981 !important;
}

/* Estados de carregamento CSV */
.dark .fa-spinner {
    color: var(--primary) !important;
}

/* Texto de informações do CSV */
.dark .text-green-300 {
    color: #86efac !important;
}

.dark .text-green-400 {
    color: #4ade80 !important;
}

.dark .text-blue-300 {
    color: #93c5fd !important;
}

.dark .text-blue-400 {
    color: #60a5fa !important;
}

/* Responsive adjustments para dark mode CSV */
@media (max-width: 768px) {
    .dark .bg-gradient-to-r.from-green-50.to-blue-50 {
        padding: 1rem !important;
    }
    
    .dark .grid.grid-cols-1.md\\:grid-cols-2.gap-4 {
        gap: 1rem !important;
    }
}

/* Melhorias visuais específicas para dark mode */
.dark .csv-container {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark .csv-card {
    background: var(--dark-surface);
    border: 1px solid rgba(0, 252, 200, 0.2);
    transition: all 0.3s ease;
}

.dark .csv-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 252, 200, 0.1);
}

/* Ícones específicos do CSV em dark mode */
.dark .fas.fa-file-csv {
    color: var(--primary) !important;
}

.dark .fas.fa-download {
    color: #10b981 !important;
}

.dark .fas.fa-upload {
    color: #3b82f6 !important;
}

.dark .fas.fa-check-circle {
    color: #10b981 !important;
}

.dark .fas.fa-times-circle {
    color: #ef4444 !important;
}

.dark .fas.fa-info-circle {
    color: #3b82f6 !important;
}

/* Transições suaves para mudanças de tema */
.csv-container,
.csv-card,
#csvPreviewContent,
.admin-section {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Garantir que elementos ocultos permaneçam ocultos */
.dark .hidden {
    display: none !important;
}

/* Melhorar contraste de texto em dark mode */
.dark .text-gray-700 {
    color: #d1d5db !important;
}

.dark .text-gray-600 {
    color: #9ca3af !important;
}

/* Estilo específico para seção CSV */
.dark #admin-section-clientes {
    background: var(--bg-dark);
    color: var(--text-light);
}

.dark #admin-section-clientes h5,
.dark #admin-section-clientes h6 {
    color: var(--text-light) !important;
}

.dark #admin-section-clientes p {
    color: #9ca3af !important;
}

/* Botões específicos do CSV */
.dark #btnExportarContatos,
.dark #btnImportarContatos {
    transition: all 0.3s ease;
}

.dark #btnExportarContatos:hover {
    background: #059669 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.dark #btnImportarContatos:hover {
    background: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Area de resultados CSV */
.dark #csvResults {
    transition: all 0.3s ease;
}

.dark #csvResults .text-green-600 {
    color: #34d399 !important;
}

.dark #csvResults .bg-green-50 {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.dark #csvResults .text-red-600 {
    color: #f87171 !important;
}

.dark #csvResults .bg-red-50 {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Garantir boa legibilidade em todos os textos */
.dark .csv-success-text {
    color: #34d399 !important;
}

.dark .csv-error-text {
    color: #f87171 !important;
}

.dark .csv-warning-text {
    color: #fbbf24 !important;
}

.dark .csv-info-text {
    color: #60a5fa !important;
}

/* ==================== FIM - COMPATIBILIDADE DARK MODE CSV ==================== */

/* ==================== COMPATIBILIDADE DARK MODE - CONVERSAS SUPORTE ==================== */

/* Container principal das conversas */
.dark .conversas-container {
    background: var(--surface-dark) !important;
    border-color: var(--border-dark) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Header das conversas */
.dark .conversas-header {
    background: var(--dark-surface) !important;
    border-bottom-color: var(--border-dark) !important;
}

.dark .conversas-titulo {
    color: var(--text-light) !important;
}

/* Items individuais de conversa */
.dark .conversa-item {
    background: var(--surface-dark) !important;
    border-bottom-color: var(--border-dark) !important;
    transition: all 0.3s ease;
}

/* Hover effect corrigido para dark mode */
.dark .conversa-item:hover {
    background: var(--dark-surface) !important;
    border-left: 4px solid var(--primary);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 252, 200, 0.1);
}

/* Textos das conversas */
.dark .conversa-nome {
    color: var(--text-light) !important;
}

.dark .conversa-email {
    color: #9ca3af !important;
}

.dark .conversa-preview {
    color: #d1d5db !important;
}

.dark .conversa-timestamp {
    color: #6b7280 !important;
}

/* Avatar das conversas */
.dark .conversa-avatar {
    border-color: var(--border-dark) !important;
}

/* Badge de mensagens não lidas */
.dark .badge-nao-lidas {
    background: var(--danger) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(255, 59, 63, 0.3);
}

/* Status badges corrigidos */
.dark .status-nova {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.dark .status-lida {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.dark .status-respondida {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.dark .status-resolvida {
    background: rgba(124, 58, 237, 0.2) !important;
    color: #a78bfa !important;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

/* Categoria badges corrigidos */
.dark .categoria-badge.problema {
    background: rgba(185, 28, 28, 0.2) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(185, 28, 28, 0.3);
}

.dark .categoria-badge.duvida {
    background: rgba(29, 78, 216, 0.2) !important;
    color: #93c5fd !important;
    border: 1px solid rgba(29, 78, 216, 0.3);
}

.dark .categoria-badge.sugestao {
    background: rgba(54, 83, 20, 0.2) !important;
    color: #bef264 !important;
    border: 1px solid rgba(54, 83, 20, 0.3);
}

.dark .categoria-badge.planos {
    background: rgba(146, 64, 14, 0.2) !important;
    color: #fcd34d !important;
    border: 1px solid rgba(146, 64, 14, 0.3);
}

.dark .categoria-badge.conta {
    background: rgba(124, 45, 18, 0.2) !important;
    color: #ddd6fe !important;
    border: 1px solid rgba(124, 45, 18, 0.3);
}

.dark .categoria-badge.geral {
    background: rgba(55, 65, 81, 0.2) !important;
    color: #d1d5db !important;
    border: 1px solid rgba(55, 65, 81, 0.3);
}

/* Botões de ação rápida */
.dark .acao-rapida {
    transition: all 0.3s ease;
}

.dark .acao-rapida.responder {
    background: #8b5cf6 !important;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.dark .acao-rapida.responder:hover {
    background: #7c3aed !important;
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.dark .acao-rapida.marcar-lida {
    background: #10b981 !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.dark .acao-rapida.marcar-lida:hover {
    background: #059669 !important;
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

/* Estados vazios das mensagens */
.dark .mensagens-empty-state {
    color: #9ca3af !important;
}

.dark .mensagens-empty-state i {
    color: #4b5563 !important;
}

/* Dashboard de mensagens */
.dark .mensagens-dashboard {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
    border-radius: 0.75rem;
}

.dark .stat-card {
    background: var(--dark-surface);
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}

.dark .stat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 252, 200, 0.1);
}

.dark .stat-number {
    color: var(--primary);
}

.dark .stat-label {
    color: #9ca3af;
}

/* Filtros de mensagens */
.dark .filtros-container {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
}

.dark .filtros-container select {
    background: var(--dark-surface);
    border: 1px solid var(--border-dark);
    color: var(--text-light);
}

.dark .filtros-container select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 252, 200, 0.2);
}

/* Melhorias visuais específicas */
.dark .conversa-item {
    position: relative;
    overflow: hidden;
}

.dark .conversa-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.dark .conversa-item:hover::before {
    width: 4px;
}

/* Responsividade corrigida para dark mode */
@media (max-width: 768px) {
    .dark .conversas-container {
        margin: 0.5rem;
        border-radius: 0.5rem;
    }
    
    .dark .conversa-item {
        padding: 1rem 0.75rem;
    }
    
    .dark .conversa-item:hover {
        transform: none;
        border-left: none;
    }
    
    .dark .conversa-item:hover::before {
        width: 0;
    }
}

/* Transições suaves para todos os elementos */
.conversas-container,
.conversa-item,
.status-badge,
.categoria-badge,
.acao-rapida {
    transition: all 0.3s ease;
}

/* Garantir que elementos com background branco sejam corrigidos */
.dark .bg-white {
    background: var(--surface-dark) !important;
}

.dark .text-gray-900 {
    color: var(--text-light) !important;
}

.dark .border-gray-200 {
    border-color: var(--border-dark) !important;
}

/* ==================== FIM - COMPATIBILIDADE DARK MODE CONVERSAS ==================== */

.plan-icon.purple {
    background: rgba(139, 92, 246, 0.15); /* fundo roxo claro */
    color: #8b5cf6; /* roxo principal */
}

/* Estilos específicos para a Bíblia do Kombo */
.content-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
}

.plan-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-top: 0.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.plan-features li i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.plan-button {
    display: inline-block;
    background: var(--primary);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.plan-button:hover {
    opacity: 0.9;
}

/* Animações */
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out forwards;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Delays para animações */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }

/* ==================== ESTILOS DO MODAL DE DUPLICAÇÃO ==================== */

/* Botões do modal de duplicação */
.btn-cancelar {
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cancelar:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.btn-confirmar {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Modal footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0 0 1rem 1rem;
}

.dark .modal-footer {
    background: #1f2937;
    border-top-color: #374151;
}

/* Responsividade dos botões */
@media (max-width: 768px) {
    .modal-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-cancelar,
    .btn-confirmar {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== ESTILOS PARA PRODUTOS ==================== */

/* Container de upload de imagem para produtos */
.image-upload-container {
    position: relative;
    width: 100%;
}

.image-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.dark .image-upload-area {
    border-color: #4b5563;
    background: #374151;
}

.image-upload-area:hover {
    border-color: var(--primary);
    background: #f0fdf4;
}

.dark .image-upload-area:hover {
    background: #064e3b;
}

.upload-placeholder {
    color: #6b7280;
}

.dark .upload-placeholder {
    color: #9ca3af;
}

.image-preview {
    position: relative;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}

.preview-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.remove-image-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-image-btn:hover {
    background: rgba(239, 68, 68, 1);
    transform: scale(1.1);
}

/* Estilos para lista de produtos */
.produto-admin-imagem {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Modal específico para produtos */
.modal-large {
    max-width: 800px;
    width: 90%;
}

/* Form inputs para produtos */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    color: #1f2937;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.dark .form-input {
    border-color: #4b5563;
    background: #374151;
    color: #f9fafb;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.dark .form-input:focus {
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.3);
}

/* Badges para tipo de produto */
.produto-tipo-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.produto-tipo-digital {
    background: #dbeafe;
    color: #1e40af;
}

.dark .produto-tipo-digital {
    background: #1e3a8a;
    color: #93c5fd;
}

.produto-tipo-fisico {
    background: #dcfce7;
    color: #166534;
}

.dark .produto-tipo-fisico {
    background: #14532d;
    color: #86efac;
}

/* Estilos específicos para seção de produtos */
#admin-section-produtos {
    animation: fadeInContent 0.5s ease-in-out;
}

#admin-section-produtos .bg-gray-50 {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.dark #admin-section-produtos .bg-gray-50 {
    background: #374151;
    border-color: #4b5563;
}

#admin-section-produtos .bg-white {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.dark #admin-section-produtos .bg-white {
    background: #1f2937;
    border-color: #4b5563;
}

/* Responsividade para produtos */
@media (max-width: 768px) {
    .image-upload-area {
        padding: 1.5rem;
    }
    
    .preview-image {
        height: 150px;
    }
    
    .produto-admin-imagem img {
        height: 24px;
    }
}

@media (max-width: 480px) {
    .image-upload-area {
        padding: 1rem;
    }
    
    .preview-image {
        height: 120px;
    }
    
    .remove-image-btn {
        width: 1.75rem;
        height: 1.75rem;
    }
}

/* ==================== SEÇÃO JOGADORES CAMPANHAS - DARK MODE ==================== */

/* Container da seção de jogadores */
.dark .bg-gray-100.dark\:bg-gray-700 {
    background-color: #374151 !important;
    border: 1px solid #4b5563;
}

/* Título da seção de jogadores */
.dark .text-gray-600.dark\:text-gray-400.font-medium {
    color: #d1d5db !important;
}

/* Container dos jogadores */
.dark .text-gray-700.dark\:text-gray-300 {
    color: #d1d5db !important;
}

/* Tags dos jogadores */
.dark .inline-block.bg-gray-200.dark\:bg-gray-600 {
    background-color: #3b4252 !important;
    color: #eceff4 !important;
    border: 1px solid #4c566a;
}

/* Tags dos jogadores com hover */
.dark .inline-block.bg-gray-200.dark\:bg-gray-600:hover {
    background-color: #4c566a !important;
    color: #f9fafb !important;
}

/* Botões "Adicionar Jogador" */
.dark .inline-block.bg-green-100.dark\:bg-green-900 {
    background-color: #065f46 !important;
    color: #6ee7b7 !important;
    border: 1px solid #047857;
}

/* Botões "Adicionar Jogador" com hover */
.dark .inline-block.bg-green-100.dark\:bg-green-900:hover {
    background-color: #047857 !important;
    color: #34d399 !important;
    border-color: #059669;
}

/* Ícone da seção de jogadores */
.dark .fas.fa-user-friends.mr-1.text-gray-500 {
    color: #9ca3af !important;
}

/* Texto "Jogadores:" */
.dark .text-gray-600.dark\:text-gray-400.font-medium {
    color: #d1d5db !important;
}

/* Override para garantir que as cores sejam aplicadas */
.dark #listaCampanhasAdmin .bg-gray-100.dark\:bg-gray-700 {
    background-color: #374151 !important;
}

.dark #listaCampanhasAdmin .text-gray-700.dark\:text-gray-300 {
    color: #d1d5db !important;
}

.dark #listaCampanhasAdmin .bg-gray-200.dark\:bg-gray-600 {
    background-color: #3b4252 !important;
    color: #eceff4 !important;
}

/* Chips de jogadores com contraste em ambos os temas */
.chip-jogador {
    background-color: #e5e7eb; /* claro no light */
    color: #1f2937;
    border: 1px solid #cbd5e1;
}
.chip-jogador:hover { background-color: #dbe1e8; }
.dark .chip-jogador {
    background-color: #3b4252;
    color: #eceff4;
    border-color: #4c566a;
}
.dark .chip-jogador:hover { background-color: #4c566a; }

.chip-novo-jogador {
    position: relative;
    box-shadow: 0 0 0 2px rgba(0, 252, 200, 0.6), 0 0 14px rgba(0, 252, 200, 0.55);
    animation: glowPulse 1.6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(0, 252, 200, 0.6), 0 0 10px rgba(0, 252, 200, 0.45);
        transform: translateZ(0);
    }
    50% {
        box-shadow: 0 0 0 3px rgba(0, 252, 200, 0.8), 0 0 18px rgba(0, 252, 200, 0.75);
    }
}

.badge-novos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.3rem;
    border-radius: 9999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.dark #listaCampanhasAdmin .bg-green-100.dark\:bg-green-900 {
    background-color: #065f46 !important;
    color: #6ee7b7 !important;
}

.dark #listaCampanhasAdmin .bg-green-100.dark\:bg-green-900:hover {
    background-color: #047857 !important;
    color: #34d399 !important;
}

/* Estilos específicos para o modal de busca de jogadores */
.dark #modal-busca-jogadores .modal-content {
    background-color: #1f2937 !important;
    border: 1px solid #4b5563;
}

.dark #modal-busca-jogadores .modal-header {
    background-color: #111827 !important;
    border-bottom: 1px solid #4b5563;
}

.dark #modal-busca-jogadores .modal-title {
    color: #f9fafb !important;
}

.dark #modal-busca-jogadores .modal-close {
    color: #9ca3af !important;
}

.dark #modal-busca-jogadores .modal-close:hover {
    color: #f9fafb !important;
}

/* Campo de busca no modal */
.dark #modal-busca-jogadores #buscaJogadorInput {
    background-color: #374151 !important;
    color: #f9fafb !important;
    border: 1px solid #6b7280;
}

.dark #modal-busca-jogadores #buscaJogadorInput:focus {
    border-color: #00bfae;
    box-shadow: 0 0 0 2px rgba(0, 191, 174, 0.2);
}

.dark #modal-busca-jogadores #buscaJogadorInput::placeholder {
    color: #9ca3af !important;
}

/* Lista de jogadores no modal */
.dark #modal-busca-jogadores .border.border-gray-200.dark\:border-gray-600 {
    border-color: #4b5563 !important;
    background-color: #374151 !important;
}

.dark #modal-busca-jogadores .border.border-gray-200.dark\:border-gray-600:hover {
    background-color: #4b5563 !important;
}

/* Informações dos jogadores no modal */
.dark #modal-busca-jogadores .font-medium.text-gray-900.dark\:text-white {
    color: #f9fafb !important;
}

.dark #modal-busca-jogadores .text-sm.text-gray-500.dark\:text-gray-400 {
    color: #9ca3af !important;
}

.dark #modal-busca-jogadores .text-xs.text-gray-400.dark\:text-gray-500 {
    color: #6b7280 !important;
}

/* Botão "Adicionar" no modal */
.dark #modal-busca-jogadores .bg-green-500 {
    background-color: #10b981 !important;
    color: #ffffff !important;
}

.dark #modal-busca-jogadores .bg-green-500:hover {
    background-color: #059669 !important;
}

/* Avatar dos jogadores no modal */
.dark #modal-busca-jogadores .bg-primary {
    background-color: #00bfae !important;
}

/* Informações de vagas */
.dark #modal-busca-jogadores .text-sm.text-gray-600.dark\:text-gray-400 {
    color: #9ca3af !important;
}

/* Estados vazios no modal */
.dark #modal-busca-jogadores .text-center.text-gray-500.dark\:text-gray-400 {
    color: #9ca3af !important;
}

/* Botão limpar busca */
.dark #modal-busca-jogadores #limparBuscaJogador {
    background-color: #6b7280 !important;
    color: #ffffff !important;
}

.dark #modal-busca-jogadores #limparBuscaJogador:hover {
    background-color: #4b5563 !important;
}

/* ==================== ESTILOS DO BOTÃO ADICIONAR VAGA ==================== */
.add-slot-item {
    margin-top: 1rem;
    padding: 1rem;
    border: 2px dashed #d1d5db;
    border-radius: 0.75rem;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.dark .add-slot-item {
    border-color: #4b5563;
    background: #1f2937;
}

.add-slot-item:hover {
    border-color: var(--primary);
    background: rgba(0, 252, 200, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 252, 200, 0.1);
}

.dark .add-slot-item:hover {
    border-color: var(--primary);
    background: rgba(0, 252, 200, 0.1);
    box-shadow: 0 4px 12px rgba(0, 252, 200, 0.2);
}

.add-slot-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-slot-btn:hover {
    background: rgba(0, 252, 200, 0.1);
    color: var(--primary-dark);
    transform: scale(1.02);
}

.dark .add-slot-btn {
    color: var(--primary-light);
}

.dark .add-slot-btn:hover {
    background: rgba(0, 252, 200, 0.15);
    color: var(--primary);
}

.add-slot-btn i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.add-slot-btn:hover i {
    transform: scale(1.2);
}

.add-slot-btn span {
    font-weight: 600;
}

/* Responsividade para o botão adicionar vaga */
@media (max-width: 768px) {
    .add-slot-item {
        margin-top: 0.75rem;
        padding: 0.75rem;
    }
    
    .add-slot-btn {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .add-slot-btn i {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .add-slot-item {
        margin-top: 0.5rem;
        padding: 0.5rem;
    }
    
    .add-slot-btn {
        padding: 0.5rem;
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .add-slot-btn i {
        font-size: 1rem;
    }
}

/* ==================== ESTILOS DO BOTÃO + VAGA ==================== */
.btn-aumentar-vaga {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.btn-aumentar-vaga:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.btn-aumentar-vaga:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.btn-aumentar-vaga i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.btn-aumentar-vaga:hover i {
    transform: scale(1.1);
}

/* Modo escuro para o botão + Vaga */
.dark .btn-aumentar-vaga {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.3);
}

.dark .btn-aumentar-vaga:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 4px 8px rgba(30, 64, 175, 0.4);
}

/* Responsividade para o botão + Vaga */
@media (max-width: 768px) {
    .btn-aumentar-vaga {
        padding: 0.375rem 0.75rem;
        font-size: 0.6875rem;
    }
    
    .btn-aumentar-vaga i {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .btn-aumentar-vaga {
        padding: 0.25rem 0.5rem;
        font-size: 0.625rem;
    }
    
    .btn-aumentar-vaga i {
        font-size: 0.6875rem;
    }
}

/* ==================== ESTILOS DO MODAL DE AUMENTAR VAGAS ==================== */
.btn-quantidade-vaga {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: none;
    border-radius: 0.375rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-quantidade-vaga:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-quantidade-vaga:active {
    transform: translateY(0);
}

.dark .btn-quantidade-vaga {
    background: linear-gradient(135deg, #4b5563, #374151);
}

.dark .btn-quantidade-vaga:hover {
    background: linear-gradient(135deg, #374151, #1f2937);
}

.jogador-item-vaga {
    border: 1px solid transparent;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.6);
    display: block;
}

.jogador-item-vaga:hover {
    border-color: var(--primary);
    background: rgba(0, 252, 200, 0.06);
    transform: translateY(-1px);
}

.dark .jogador-item-vaga:hover {
    background: rgba(0, 252, 200, 0.1);
}

.jogador-item-vaga.selected {
    border-color: var(--primary);
    background: rgba(0, 252, 200, 0.1);
}

.dark .jogador-item-vaga.selected {
    background: rgba(0, 252, 200, 0.15);
}

/* Aparência mais limpa para a lista */
#listaJogadoresVaga {
    background: rgba(0,0,0,0.03);
}

.dark #listaJogadoresVaga {
    background: rgba(255,255,255,0.04);
}

/* Responsividade para o modal de aumentar vagas */
@media (max-width: 768px) {
    .btn-quantidade-vaga {
        width: 2.25rem;
        height: 2.25rem;
    }
    
    #quantidadeVagas {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .btn-quantidade-vaga {
        width: 2rem;
        height: 2rem;
    }
    
    #quantidadeVagas {
        width: 2.5rem;
    }
}
