* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, green 0%, black 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ===== Tema Admin (preto/verde) ===== */
body.admin-panel {
    --admin-bg: #000;
    --admin-surface: #0b0f0b;
    --admin-surface-2: #101510;
    --admin-border: #1f2a1f;
    --admin-text: #e5e7eb;
    --admin-muted: #9ca3af;
    --admin-accent: #22c55e;
    --admin-accent-2: #16a34a;
    --admin-danger: #ef4444;

    background: var(--admin-bg);
    color: var(--admin-text);
    display: block;
    align-items: initial;
    justify-content: initial;
}

body.admin-panel .container {
    max-width: 1200px;
    margin: 0 auto;
}

body.admin-panel a {
    color: var(--admin-accent);
}

.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-height: 600px;
}

/* LADO ESQUERDO */
.auth-left {
    background: linear-gradient(135deg, green 0%, black 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-info {
    text-align: center;
}

.auth-info h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.auth-info p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 50px;
}

.features {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature .icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    color: black;
}

.feature p {
    margin: 0;
    font-size: 16px;
}

/* LADO DIREITO */
.auth-right {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 15px;
    border: 2px solid #ddd;
    background: white;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, green 0%, black 100%);
    color: white;
    border-color: transparent;
}

.tab-btn:hover {
    border-color: green;
}

/* MENSAGENS */
.mensagem {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mensagem-erro {
    background: #fee;
    color: #c33;
    border-left: 4px solid #c33;
}

.mensagem-sucesso {
    background: #efe;
    color: #000;
    border-left: 4px solid #3c3;
}

/* TAB CONTENT */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tab-content h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
}

/* FORMULÁRIOS */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}
/* INPUTS */
.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}
/* INPUT FOCUS */
.form-group input:focus {
    outline: none;
    border-color: green;
    box-shadow: 0 0 0 3px rgba(0, 128, 0, 0.1);
}

.form-group input::placeholder {
    color: #bbb;
}

/* REMEMBER ME / TERMS */
.remember-me,
.terms {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.remember-me input,
.terms input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.terms label {
    cursor: pointer;
}

.terms a {
    color: green;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* BOTÕES */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, green 0%, black 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* LINKS */
.text-center {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.link-tab {
    color: green;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.link-tab:hover {
    color: black;
}

hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.small {
    font-size: 12px;
    opacity: 0.7;
}

/* FOOTER */
.footer {
    text-align: center;
    color: white;
    margin-top: 30px;
    font-size: 14px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 40px 30px;
    }

    .tabs {
        margin-bottom: 30px;
    }

    .auth-info h1 {
        font-size: 36px;
    }

    .tab-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .auth-right {
        padding: 30px 20px;
    }

    .form-group input {
        padding: 10px 12px;
        font-size: 16px;
    }

    .tab-btn {
        padding: 12px;
        font-size: 14px;
    }

    .btn-submit {
        padding: 12px;
        font-size: 15px;
    }
}
.welcome-logo {
    width: 150px;
    margin: 0 auto 30px;
    display: block;
    padding: 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 14px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.45));
}

