:root {
    --amarelo: #fce803;
    --preto: #0d0d0d;
    --cinza-escuro: #1a1a1a;
    --cinza-claro: #cccccc;
    --branco: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1470&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--branco);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    position: relative;
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.login-wrapper {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid var(--amarelo);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 10;
}

/* ==================
   CABEÇALHO & LOGO
   ================== */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    color: var(--amarelo);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

/* Adicionado para garantir que a imagem da logo não fique gigante */
.logo img {
    max-width: 40px; 
    height: auto;
    object-fit: contain;
}

.header h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.subtitle {
    color: var(--cinza-claro);
    font-size: 14px;
}

/* ==================
   FORMULÁRIO
   ================== */
.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--cinza-claro);
}

.input-group label i {
    color: var(--amarelo);
    margin-right: 5px;
}

.input-group input {
    width: 100%;
    background-color: var(--preto);
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    color: var(--branco);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--amarelo);
    box-shadow: 0 0 10px rgba(252, 232, 3, 0.2);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--cinza-claro);
}

.password-toggle:hover {
    color: var(--amarelo);
}

/* ==================
   OPÇÕES & BOTÕES
   ================== */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--cinza-claro);
}

.remember input {
    accent-color: var(--amarelo);
}

.forgot-password {
    color: var(--amarelo);
    text-decoration: none;
    transition: 0.3s;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--amarelo);
    color: var(--preto);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, background-color 0.3s;
    text-decoration: none;
}

.login-btn:hover {
    background-color: #fff;
    transform: translateY(-3px);
}

.btn-back-outline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background-color: transparent;
    color: var(--cinza-claro);
    border: 1px solid var(--cinza-claro);
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back-outline:hover {
    border-color: var(--amarelo);
    color: var(--amarelo);
    background-color: rgba(252, 232, 3, 0.05);
    transform: translateY(-2px);
}

/* ==================
   EXTRAS (Divisor, Footer, Decoração)
   ================== */
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #333;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.divider span {
    color: var(--cinza-claro);
    font-size: 14px;
    background-color: rgba(26, 26, 26, 0.95);
    padding: 0 10px;
}

.register-link {
    text-align: center;
    color: var(--cinza-claro);
    font-size: 14px;
    margin-bottom: 20px;
}

.register-link a {
    color: var(--amarelo);
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer p {
    font-size: 12px;
    color: #666;
}

.decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
}

.circle-1 {
    width: 150px;
    height: 150px;
    background-color: var(--amarelo);
    top: -50px;
    left: -50px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background-color: #444;
    bottom: -80px;
    right: -50px;
}
/* ==================
   SOCIAL LINKS (RODAPÉ)
   ================== */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px; /* Espaço entre o texto do copyright e os ícones */
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--preto); /* Fundo do botão igual ao dos inputs */
    color: var(--cinza-claro);
    border: 1px solid #333;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--amarelo);
    border-color: var(--amarelo);
    box-shadow: 0 0 10px rgba(252, 232, 3, 0.2);
    transform: translateY(-3px);
}
