/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', 'Roboto', Arial, sans-serif;
    background-color: #0f1012;
    color: #e8eaed;
    line-height: 1.6;
}

/* Paleta – afinada para bater com a referência visual */
:root {
    /* CTA "Começar agora" */
    --cta-start: #4ade80; /* verde claro */
    --cta-mid:   #fbbf24; /* amarelo */
    --cta-end:   #f97316; /* laranja */

    /* Ícone circular do CTA */
    --cta-icon-bg: #151819;
    --cta-icon-fg: #B9FF7A;

    /* Gradiente do título (tons neutros) */
    --title-start: #ffffff;
    --title-mid:   #e5e7eb;
    --title-end:   #9ca3af;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 500;
    color: #e8eaed;
}

.logo span {
    color: #ffffff;
}

.nav {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #4ade80, #fbbf24);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-disabled {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
}

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

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 20px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 12px;
}

.btn-full {
    width: 100%;
    margin-top: 20px;
}

.token-cost {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #ff6b6b;
    font-weight: 500;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    padding: 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
}

/* camada de textura pontilhada dinâmica */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--dot-x,50%) var(--dot-y,50%), rgba(255,255,255,0.04), transparent 25%) ,
        radial-gradient(circle at 20% 80%, rgba(59,130,246,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(132,204,22,0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* matriz de pontos sutil, semelhante ao exemplo */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: .2;
    pointer-events: none;
}

/* cursor segue a textura: apenas quando landing ativa */
body.landing-active .hero {
    --dot-x: 50%;
    --dot-y: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
}

.hero-blocks {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    overflow: visible !important;
}

.hero-block {
    text-align: center;
}

/* Título principal dentro do card */
.hero-main-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 32px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--title-start) 0%, var(--title-mid) 50%, var(--title-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto 32px auto;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}



/* Bloco da descrição (igual ao exemplo dos Links Únicos) */
.hero-description-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 0;
    padding: 40px 20px 0px 20px;
    margin: 0;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: none;
    border-right: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100vw !important;
    box-sizing: border-box !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    left: 0 !important;
    right: 0 !important;
}

.hero-description-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-description-card:hover::before {
    opacity: 1;
}

.hero-description-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
}

.hero-description-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Ícone da descrição */
.description-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4ade80, #fbbf24);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: #ffffff;
    font-size: 32px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

/* Título do card */
.hero-description-card h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #e8eaed;
    position: relative;
    z-index: 1;
}

/* Texto da descrição */
.hero-description-card p {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin: 0 0 32px 0;
    color: #9ca3af;
    font-weight: 400;
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 32px auto;
    padding: 0 20px;
}

.hero-description-card p br {
    display: block;
    margin: 15px 0;
}

/* Botões do card */
.hero-description-card .hero-buttons {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: 40px;
    margin-bottom: 40px;
}

.hero-description-card .btn {
    font-size: 16px;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.05));
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.hero-description-card .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.6s ease;
}

.hero-description-card .btn:hover::before {
    left: 100%;
}

.hero-description-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.5);
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(135deg, #4ade80, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
    position: relative;
    z-index: 20;
}

/* botão CTA estilo "Começar agora" */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px 14px 22px;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--cta-start) 0%, var(--cta-mid) 52%, var(--cta-end) 100%);
    color: #0f1012;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    position: relative;
    box-shadow: 0 6px 24px rgba(0,0,0,.35);
}

.btn-cta .cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cta-icon-bg);
    color: var(--cta-icon-fg);
    box-shadow: inset 0 0 0 2px rgba(0,0,0,.5);
}

.btn-cta:hover { transform: translateY(-2px); }
.btn-cta:active { transform: translateY(0); }

.hero-credits {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
}

.hero-credits p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
    padding: 20px 0 40px 0;
    background-color: #0f0f23;
}

.features h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #e8eaed;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: 24px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4ade80, #fbbf24);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: #ffffff;
    font-size: 32px;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #e8eaed;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #9ca3af;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95), rgba(26, 26, 46, 0.95));
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 28px;
    font-weight: 600;
    color: #e8eaed;
}

.modal-close {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    border: 2px solid rgba(239, 68, 68, 0.3);
    font-size: 20px;
    cursor: pointer;
    color: #ef4444;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.modal-close::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    color: #ffffff;
    transform: scale(1.1);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.modal-close:hover::before {
    opacity: 1;
}

.modal-close:active {
    transform: scale(0.95);
}

/* Botão de fechar alternativo para outros modais */
.close-btn {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    border: 2px solid rgba(239, 68, 68, 0.3);
    font-size: 20px;
    cursor: pointer;
    color: #ef4444;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.close-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.close-btn:hover::before {
    opacity: 1;
}

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

/* Forms */
.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #e8eaed;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #e8eaed;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
}

/* Terms checkbox */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 6px;
}

.terms-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
}

.terms-checkbox label {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #e8eaed;
}

.terms-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Dashboard */
.dashboard {
    min-height: 100vh;
    background-color: #0f0f23;
}

/* Barra de Avisos */
.alert-banner {
    background-color: #ffffff;
    color: #000000;
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 101;
}

.alert-text {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
}

.dashboard-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: relative;
}

.dashboard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.dashboard-menu {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.menu-item {
    background: none;
    border: none;
    padding: 12px 20px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e8eaed;
}

.menu-item.active {
    background: linear-gradient(135deg, #4ade80, #fbbf24);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.token-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    margin-right: 24px;
}

.token-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

.token-display i {
    color: #ffffff;
    font-size: 16px;
}

.token-display #tokenCount {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
}

.token-label {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-token {
    background: linear-gradient(135deg, #4ade80, #fbbf24);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn-token:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-menu span {
    font-weight: 500;
    color: #e8eaed;
}

/* Dashboard Content */
.dashboard-content {
    padding: 20px 0;
}

/* Integration Tab */
#integrationTab {
    padding: 0;
}





/* ===== ABA DE INTEGRAÇÃO ===== */

/* Conteúdo da integração */
.integration-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}



/* Estatísticas da integração */
.integration-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.integration-stats .stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.integration-stats .stat-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.integration-stats .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4ade80, #fbbf24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.integration-stats .stat-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #e8eaed;
    margin: 0 0 5px 0;
}

.integration-stats .stat-info p {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

/* Ações da integração */
.integration-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.integration-actions .btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    transition: all 0.3s ease;
}

.integration-actions .btn-outline:hover {
    background: #ffffff;
    color: white;
    transform: translateY(-2px);
}



/* Lista de tokens */
.tokens-list {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Token Cards para a aba de integração */
.tokens-list .token-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tokens-list .token-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tokens-list .token-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.tokens-list .token-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #e8eaed;
    margin-bottom: 8px;
}

.tokens-list .token-info p {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

.tokens-list .token-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tokens-list .token-status.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

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

.tokens-list .token-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.tokens-list .token-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tokens-list .token-detail .label {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tokens-list .token-detail .value {
    color: #e8eaed;
    font-size: 14px;
    font-weight: 600;
}

.tokens-list .token-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===== MODAL DE CONFIRMAÇÃO PARA SUBSTITUIR ENTRADA ===== */

.warning-message {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.warning-message i {
    color: #f59e0b;
    font-size: 20px;
}

.warning-message p {
    color: #e8eaed;
    margin: 0;
    font-weight: 500;
}

.entry-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.entry-old, .entry-new {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-old {
    border-color: rgba(239, 68, 68, 0.3);
}

.entry-new {
    border-color: rgba(34, 197, 94, 0.3);
}

.entry-old h3, .entry-new h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-old h3 {
    color: #ef4444;
}

.entry-new h3 {
    color: #22c55e;
}

.entry-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.entry-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-detail:last-child {
    border-bottom: none;
}

.entry-detail-label {
    color: #9ca3af;
    font-size: 14px;
}

.entry-detail-value {
    color: #e8eaed;
    font-weight: 600;
    font-size: 14px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-actions .btn {
    min-width: 120px;
}

/* Responsividade */
@media (max-width: 768px) {
    .entry-comparison {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}





.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* Removido - regras antigas da integração */

.tab-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #e8eaed;
}

/* Cards */
.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #e8eaed;
}

.card-actions {
    display: flex;
    gap: 8px;
}

/* Video Cards */
.video-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    background-color: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

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

.video-thumbnail:hover video {
    transform: scale(1.05);
}

/* Remover overlay de play */
.play-overlay {
    display: none;
}

.video-info {
    padding: 24px;
}

.video-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #e8eaed;
}

.video-description {
    color: #9ca3af;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.video-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #6b7280;
}

.video-actions {
    display: flex;
    gap: 12px;
}

/* Video Preview Styles */
.video-preview-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    margin-bottom: 12px;
}

.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.video-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-preview-overlay.show {
    opacity: 1;
}

.video-preview-overlay i {
    color: white;
    font-size: 48px;
    animation: pulse 2s infinite;
}

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

.video-preview-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-preview-loading.show {
    opacity: 1;
}

.video-preview-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ef4444;
    font-size: 12px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-preview-error.show {
    opacity: 1;
}

/* Meetings Header */
.meetings-header {
    display: grid;
    grid-template-columns: 1fr 100px 100px 100px 2fr 120px;
    gap: 20px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px 16px 0 0;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    margin-bottom: 0;
}

.meeting-column {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Meeting Cards */
.meeting-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 0;
    padding: 16px 24px;
    margin-bottom: 0;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 100px 100px 100px 2fr 120px;
    gap: 20px;
    align-items: center;
}

.meeting-card:last-child {
    border-radius: 0 0 16px 16px;
}

.meeting-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.meeting-title {
    font-size: 14px;
    font-weight: 600;
    color: #e8eaed;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.meeting-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}

.meeting-status.active {
    background: linear-gradient(135deg, #059669, #047857);
}

.meeting-status.ended {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.meeting-status.expired {
    background: linear-gradient(135deg, #dc3545, #c82333);
    opacity: 0.8;
}

.meeting-status i {
    font-size: 8px;
}

.meeting-date {
    color: #e8eaed;
    font-size: 12px;
    text-align: center;
}

.meeting-time {
    color: #e8eaed;
    font-size: 12px;
    text-align: center;
}

.meeting-link {
    color: #e8eaed;
    font-size: 12px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    text-align: center;
}

.meeting-link:hover {
    color: #ffffff;
}

.meeting-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.meeting-action-btn {
    background: none;
    border: none;
    color: #ffffff;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 12px;
}

.meeting-action-btn:hover {
    background-color: rgba(59, 130, 246, 0.1);
    transform: scale(1.1);
}

.meeting-action-btn.delete {
    color: #ef4444;
}

.meeting-action-btn.delete:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

.meeting-action-btn.hidden {
    display: none;
}

/* Profile */
.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: 24px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.stat-card h3 {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.stat-card p {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

.profile-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: 32px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Grids */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.meetings-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 20px 28px;
    border-radius: 20px;
    color: #ffffff;
    font-weight: 600;
    z-index: 10001;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 450px;
    min-width: 300px;
    backdrop-filter: blur(25px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    word-wrap: break-word;
    line-height: 1.5;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 24, 39, 0.95);
}

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

.notification.success {
    background: linear-gradient(135deg, #059669, #047857);
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.notification.error {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.notification.info {
    background: linear-gradient(135deg, #4ade80, #fbbf24);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Loading */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #9ca3af;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 12px;
}

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

/* Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

/* Empty state para integração */
.integration-container .empty-state {
    padding: 40px 20px;
    text-align: center;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 24px;
    color: #6b7280;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #e8eaed;
}

.empty-state p {
    margin-bottom: 32px;
    font-size: 16px;
}

/* ===== SISTEMA DE METAS - DESIGN SURREAL ===== */

.goals-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 24px 0;
}

/* Resumo Geral - Cards Flutuantes */
.goals-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.overview-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.05));
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.overview-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.overview-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ffffff, #6366f1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: white;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.overview-info h3 {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overview-info p {
    color: #e8eaed;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #e8eaed, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projection-note {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 400;
    margin-top: 8px;
    display: block;
    font-style: italic;
}

/* Configuração de Metas - Glassmorphism */
.goals-config {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-radius: 32px;
    padding: 40px;
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.goals-config::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.goals-config h3 {
    color: #e8eaed;
    font-size: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.goals-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #e8eaed;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* Dashboard Financeiro - Cards Interativos */
.financial-dashboard {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 32px;
    padding: 40px;
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.financial-dashboard h3 {
    color: #e8eaed;
    font-size: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.financial-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.summary-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.summary-card:hover::before {
    transform: scaleX(1);
}

.summary-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.15);
}

.summary-card h4 {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-card p {
    color: #e8eaed;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.summary-card small {
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
}

/* Gráfico de Progresso */
.progress-chart {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-chart h4 {
    color: #e8eaed;
    font-size: 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-container {
    height: 250px;
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.05));
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

#goalProgressChart {
    max-width: 200px;
    max-height: 200px;
    margin-bottom: 16px;
}

/* Foto de Perfil do Usuário no Anel de Progresso */
.progress-ring {
    position: relative;
}

.progress-ring .profile-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    background: var(--card-bg);
    z-index: 10;
}

/* Análise de Tendências */
.trends-analysis {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trends-analysis h4 {
    color: #e8eaed;
    font-size: 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.trend-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.trend-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
}

.trend-card h5 {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trend-card p {
    color: #e8eaed;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

/* Entrada de Dados */
.data-entry {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 32px;
    padding: 40px;
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.data-entry h3 {
    color: #e8eaed;
    font-size: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-entry,
.manual-entry {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.quick-entry:hover,
.manual-entry:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.quick-entry h4,
.manual-entry h4 {
    color: #e8eaed;
    font-size: 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.entry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.entry-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.entry-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #e8eaed;
    font-size: 16px;
    min-height: 80px;
    resize: vertical;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.entry-form textarea:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Histórico e Relatórios */
.history-reports {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 32px;
    padding: 40px;
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.history-reports h3 {
    color: #e8eaed;
    font-size: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.filters {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e8eaed;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-group select:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.history-table {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.history-table table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.05));
    color: #e8eaed;
    font-size: 14px;
    font-weight: 600;
    padding: 20px 16px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.history-table td {
    color: #9ca3af;
    font-size: 14px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.history-table tr:hover td {
    background: rgba(59, 130, 246, 0.05);
    color: #e8eaed;
}

/* Animações Globais */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.goals-content > * {
    animation: fadeInUp 0.6s ease forwards;
}

.goals-content > *:nth-child(1) { animation-delay: 0.1s; }
.goals-content > *:nth-child(2) { animation-delay: 0.2s; }
.goals-content > *:nth-child(3) { animation-delay: 0.3s; }
.goals-content > *:nth-child(4) { animation-delay: 0.4s; }
.goals-content > *:nth-child(5) { animation-delay: 0.5s; }

/* Melhorias no Perfil */
.profile-form-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-form-section h3 {
    color: #e8eaed;
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.avatar-preview {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-preview:hover {
    border-color: rgba(59, 130, 246, 0.6);
    transform: scale(1.05);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-preview:hover .avatar-overlay {
    opacity: 1;
}

.profile-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-form .form-group small {
    color: #9ca3af;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.profile-form input[readonly] {
    background: rgba(255, 255, 255, 0.05);
    color: #9ca3af;
    cursor: not-allowed;
}

/* ===== RESPONSIVIDADE COMPLETA ===== */

/* Desktop Large (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .meetings-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
}

/* Desktop Medium (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .dashboard-nav {
        flex-direction: column;
        gap: 16px;
    }
    
    .dashboard-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .meetings-grid {
        grid-template-columns: 1fr;
    }
    
    .financial-dashboard {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .goals-tabs {
        flex-direction: column;
    }
    
    .goals-tab-content {
        padding: 20px;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 12px;
    }
    
    .header-content {
        padding: 16px 0;
        flex-direction: column;
        gap: 16px;
        justify-content: center;
    }
    
    .header-logo {
        order: 2;
    }
    
    .nav {
        order: 1;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .dashboard-nav {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .dashboard-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .dashboard-menu button {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .video-card {
        padding: 16px;
    }
    
    .meetings-header {
        display: none;
    }
    
    .meeting-card {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        border-radius: 16px !important;
        margin-bottom: 12px;
    }
    
    .meeting-card:last-child {
        border-radius: 16px !important;
    }
    
    .meeting-title {
        font-size: 16px;
        font-weight: 600;
    }
    
    .meeting-date,
    .meeting-time {
        font-size: 14px;
        text-align: left;
    }
    
    .meeting-link {
        word-break: break-all;
        white-space: normal;
        font-size: 14px;
    }
    
    .meeting-actions {
        justify-content: flex-start;
        width: 100%;
    }
    
    .financial-dashboard {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .goals-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .goals-tab-content {
        padding: 16px;
    }
    
    .modal-content {
        width: 90%;
        max-width: 500px;
        margin: 20px auto;
        padding: 24px;
    }
}

/* Estilos para Histórico de Modificações */
.modifications-history {
    padding: 20px;
}

.modifications-history h3 {
    color: #1f2937;
    margin-bottom: 8px;
    font-size: 24px;
}

.modifications-history .subtitle {
    color: #6b7280;
    margin-bottom: 24px;
    font-size: 14px;
}

.modifications-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: end;
}

.modifications-filters .filter-group {
    flex: 1;
    min-width: 200px;
}

.modifications-filters label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.modifications-filters select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #374151;
}

.modifications-list {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modification-item {
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
}

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

.modification-item:hover {
    background-color: #f9fafb;
}

.modification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.modification-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 16px;
    margin-bottom: 4px;
}

.modification-time {
    color: #6b7280;
    font-size: 12px;
}

.modification-type {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modification-type.entry {
    background-color: #dbeafe;
    color: #1e40af;
}

.modification-type.goal_created {
    background-color: #dcfce7;
    color: #166534;
}

.modification-type.goal_update {
    background-color: #fef3c7;
    color: #92400e;
}

.modification-type.goal_deleted {
    background-color: #fee2e2;
    color: #991b1b;
}

.modification-description {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.modification-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.modification-detail {
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #ffffff;
}

.modification-detail h5 {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modification-detail p {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
}

.modification-values {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.modification-values .value-group {
    flex: 1;
}

.modification-values .value-label {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.modification-values .value-amount {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.modification-values .value-change {
    font-size: 12px;
    color: #059669;
}

.modification-values .value-change.negative {
    color: #dc2626;
}

.modifications-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 16px;
}

.pagination-btn {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.pagination-btn.active {
    background: #ffffff;
    color: white;
    border-color: #ffffff;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: #6b7280;
    font-size: 14px;
    margin: 0 16px;
}

/* Layout em grid para Adicionar Dados */
.data-entry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 20px;
}

/* Desktop e Mac - Layout lado a lado */
@media (min-width: 1024px) {
    .data-entry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Responsividade para modificações */
@media (max-width: 768px) {
    .modifications-filters {
        flex-direction: column;
        gap: 12px;
    }
    
    .modifications-filters .filter-group {
        min-width: auto;
    }
    
    .modification-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .modification-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .modification-values {
        flex-direction: column;
        gap: 12px;
    }
}

/* Mobile Small (320px - 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 8px;
    }
    
    .header-content {
        padding: 12px 0;
        flex-direction: column;
        gap: 12px;
        justify-content: center;
    }
    
    .header-logo {
        order: 2;
    }
    
    .nav {
        order: 1;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 20px 16px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .dashboard-nav {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .dashboard-menu {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .dashboard-menu button {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .profile-form {
        padding: 16px;
    }
    
    .profile-form input,
    .profile-form textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .video-card {
        padding: 12px;
    }
    
    .video-card h3 {
        font-size: 16px;
    }
    
    .meeting-card {
        padding: 12px;
        gap: 8px;
    }
    
    .meeting-title {
        font-size: 15px;
    }
    
    .meeting-date,
    .meeting-time {
        font-size: 13px;
    }
    
    .meeting-link {
        font-size: 13px;
    }
    
    .meeting-actions {
        gap: 8px;
    }
    
    .meeting-action-btn {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .financial-dashboard {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .financial-summary {
        padding: 16px;
    }
    
    .financial-summary h3 {
        font-size: 18px;
    }
    
    .goals-tabs {
        flex-direction: column;
        gap: 6px;
    }
    
    .goals-tab-button {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .goals-tab-content {
        padding: 12px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px auto;
        padding: 16px;
    }
    
    .modal-content h2 {
        font-size: 20px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .notification {
        min-width: 280px !important;
        max-width: 320px !important;
        font-size: 14px;
        padding: 10px 16px;
        right: 20px !important;
    }
}

/* Mobile Extra Small (320px e abaixo) */
@media (max-width: 320px) {
    .container {
        padding: 0 4px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .modal-content {
        width: 98%;
        padding: 12px;
    }
    
    .notification {
        min-width: 260px !important;
        max-width: 280px !important;
        font-size: 13px;
        padding: 8px 12px;
        right: 15px !important;
    }
    
    /* Dashboard extra responsivo */
    .dashboard-content {
        padding: 8px 0;
    }
    
    .tab-header {
        padding: 8px;
    }
    
    .tab-header h2 {
        font-size: 16px;
    }
    
    /* Cards extra compactos */
    .video-card,
    .meeting-card,
    .overview-card {
        padding: 8px;
        margin-bottom: 8px;
    }
    
    .video-title,
    .meeting-title {
        font-size: 12px;
    }
    
    .video-actions,
    .meeting-actions {
        gap: 4px;
    }
    
    .video-actions .btn,
    .meeting-action-btn {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    /* Formulários extra compactos */
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* Indicador de progresso extra compacto */
    .upload-progress {
        padding: 12px;
    }
    
    .progress-ring {
        width: 50px;
        height: 50px;
    }
    
    .progress-text span {
        font-size: 12px;
    }
    
    .progress-text small {
        font-size: 8px;
    }
}

/* Orientação Landscape em Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 20px 0;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: auto;
    }
}

/* Ajustes para telas de alta resolução */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .btn,
    .modal-content,
    .notification {
        border-radius: 8px;
    }
}

/* Ajustes para dispositivos com tela de toque */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .meeting-action-btn:hover {
        transform: none;
    }
    
    .meeting-action-btn:active {
        transform: scale(0.95);
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* Admin Panel Styles */
.admin-auth {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.auth-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
    width: 100%;
}

.auth-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ade80, #fbbf24);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.auth-card h4 {
    color: #e8eaed;
    font-size: 24px;
    margin: 0 0 10px 0;
}

.auth-card p {
    color: #9ca3af;
    margin: 0 0 30px 0;
}

.admin-auth-form .form-group {
    margin-bottom: 20px;
}

.admin-auth-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #e8eaed;
    font-size: 16px;
}

.admin-auth-form input:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.admin-panel {
    padding: 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-header h4 {
    color: #e8eaed;
    font-size: 20px;
    margin: 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stats .stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-stats .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4ade80, #fbbf24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.admin-stats .stat-info h3 {
    color: #e8eaed;
    font-size: 24px;
    margin: 0 0 5px 0;
}

.admin-stats .stat-info p {
    color: #9ca3af;
    margin: 0;
    font-size: 14px;
}

.admin-users {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h4 {
    color: #e8eaed;
    font-size: 18px;
    margin: 0;
}

.search-box {
    position: relative;
    max-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #e8eaed;
    font-size: 14px;
}

.search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.users-table-container {
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.users-table th,
.users-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.users-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #e8eaed;
    font-weight: 600;
    font-size: 14px;
}

.users-table td {
    color: #9ca3af;
    font-size: 14px;
}

.user-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.user-status.active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.user-status.banned {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.user-admin {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.user-admin.yes {
    background: rgba(59, 130, 246, 0.1);
    color: #ffffff;
}

.user-admin.no {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.user-actions {
    display: flex;
    gap: 8px;
}

.user-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-actions .btn-edit {
    background: rgba(59, 130, 246, 0.1);
    color: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.user-actions .btn-ban {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.user-actions .btn-delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}







.token-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.token-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.token-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.token-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e8eaed;
    margin-bottom: 4px;
}

.token-info p {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 8px;
}

.token-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.token-status.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

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

.token-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.token-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.token-detail label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.token-detail span {
    font-size: 14px;
    color: #e8eaed;
    font-weight: 500;
}

.token-token {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #ffffff;
    word-break: break-all;
    margin-bottom: 16px;
    position: relative;
}

.token-token::before {
    content: 'Token:';
    display: block;
    font-size: 10px;
    color: #9ca3af;
    margin-bottom: 4px;
    font-family: inherit;
}

.token-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.token-actions .btn {
    font-size: 12px;
    padding: 8px 16px;
}

.videos-checkbox-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.video-checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.video-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ffffff;
}

.video-checkbox-item label {
    flex: 1;
    font-size: 14px;
    color: #e8eaed;
    cursor: pointer;
}

.video-checkbox-item .video-type {
    font-size: 12px;
    color: #9ca3af;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features {
        padding: 40px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .dashboard-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .dashboard-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .goals-overview {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .financial-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trends-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .entry-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
} 

/* Sistema de Abas para Metas */
.goals-tabs {
    width: 100%;
}

/* Indicador de Progresso de Upload */
.upload-progress {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: none;
}

.upload-progress.show {
    display: block;
}

.progress-circle {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.progress-ring {
    position: relative;
    width: 80px;
    height: 80px;
}

.progress-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: rgba(59, 130, 246, 0.2);
    stroke-width: 8;
}

.progress-fill {
    fill: none;
    stroke: #ffffff;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #e8eaed;
}

.progress-text span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.progress-text small {
    display: block;
    font-size: 10px;
    color: #9ca3af;
    margin-top: 2px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #9ca3af;
}

.file-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-info span:first-child {
    font-weight: 500;
    color: #e8eaed;
}

.upload-speed {
    text-align: right;
    font-weight: 500;
    color: #059669;
}

/* Animação de rotação para o progresso */
@keyframes progress-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estado de upload ativo */
.progress-fill.uploading {
    animation: progress-spin 2s linear infinite;
}

.progress-fill.uploading {
    animation: progress-spin 2s linear infinite;
}

.tab-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 20px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #e8eaed;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(29, 78, 216, 0.1));
    border-color: rgba(59, 130, 246, 0.5);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #1d4ed8);
    border-radius: 2px;
}

.tab-content-wrapper {
    position: relative;
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-panel.active {
    display: block;
}

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

/* Responsividade para as abas */
@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .tab-btn.active::after {
        display: none;
    }
} 

/* Estilos para formulários de recuperação de senha */
.form-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.form-info p {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-info i {
    font-size: 16px;
}

/* Melhorar aparência dos placeholders */
.auth-form input::placeholder {
    color: #9ca3af;
    opacity: 0.7;
}

.auth-form input:focus::placeholder {
    opacity: 0.5;
}

/* Estilos para mensagens de sucesso/erro específicas */
.auth-form .success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
    color: #22c55e;
}

.auth-form .error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
    color: #ef4444;
}

/* Animação para transição entre formulários */
.auth-form {
    transition: all 0.3s ease;
}

.auth-form.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.auth-form.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para o rodapé dos formulários */
.form-footer {
    margin-top: 32px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
}

.form-footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-footer a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.form-footer br {
    margin-bottom: 8px;
} 

/* ===== ESTILOS PARA AÇÕES EM LOTE ===== */

.batch-actions {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.batch-info {
    font-weight: 500;
    color: #ffffff;
    font-size: 14px;
}

.batch-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.batch-buttons .btn {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
}

.btn-info {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

.btn-info:hover {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
}

/* Checkbox personalizado */
.users-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ffffff;
}

.users-table th:first-child {
    width: 50px;
    text-align: center;
}

.users-table td:first-child {
    text-align: center;
}

/* Responsividade para ações em lote */
@media (max-width: 768px) {
    /* Barra de avisos responsiva */
    .alert-banner {
        padding: 6px 0;
    }
    
    .alert-text {
        font-size: 12px;
        padding: 0 10px;
    }
    
    .batch-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .batch-buttons {
        justify-content: center;
    }
    
    .batch-buttons .btn {
        flex: 1;
        min-width: 120px;
    }
    
    /* Grid de vídeos responsivo */
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .video-card {
        padding: 16px;
    }
    
    .video-info {
        padding: 12px;
    }
    
    .video-title {
        font-size: 16px;
    }
    
    .video-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .video-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Grid de reuniões responsivo */
    .meetings-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .meeting-card {
        padding: 12px;
        font-size: 12px;
    }
    
    .meeting-title {
        font-size: 14px;
    }
    
    .meeting-actions {
        flex-direction: column;
        gap: 6px;
    }
    
    .meeting-action-btn {
        width: 100%;
        height: 32px;
    }
    
    /* Tabelas responsivas */
    .users-table {
        font-size: 12px;
    }
    
    .users-table th,
    .users-table td {
        padding: 8px 4px;
    }
    
    .users-table th:nth-child(3),
    .users-table td:nth-child(3),
    .users-table th:nth-child(4),
    .users-table td:nth-child(4) {
        display: none;
    }
    
    /* Modais responsivos */
    .modal-content {
        width: 95%;
        max-width: none;
        margin: 20px auto;
        padding: 20px;
    }
    
    .modal-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    /* Formulários responsivos */
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    /* Dashboard responsivo */
    .dashboard-content {
        padding: 16px 0;
    }
    
    .tab-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .tab-header h2 {
        font-size: 18px;
    }
    
    /* Abas de metas responsivas */
    .goals-tabs .tab-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .goals-tabs .tab-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
    
    /* Cards de resumo responsivos */
    .overview-card {
        padding: 16px;
    }
    
    .overview-info h3 {
        font-size: 16px;
    }
    
    .overview-info p {
        font-size: 14px;
    }
    
    /* Indicador de progresso responsivo */
    .upload-progress {
        padding: 16px;
    }
    
    .progress-ring {
        width: 60px;
        height: 60px;
    }
    
    .progress-text span {
        font-size: 14px;
    }
    
    .progress-text small {
        font-size: 9px;
    }
    
    .progress-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}