/* ===========================
   LOGIN - TNavigator
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

:root {
    --tn-green: #28a745;
    --tn-dark: #0f0f0f;
    --tn-gray: #1c1c1c;
    --tn-light: #f5f5f5;
    --tn-glow: 0 0 12px rgba(40, 167, 69, 0.7);
}

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

body {
    height: 100vh;
    background: radial-gradient(circle at center, #1b1b1b 0%, #0a0a0a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--tn-light);
    overflow: hidden;
}

/* Container principal */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Box central */
.login-box {
    background: var(--tn-gray);
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    padding: 50px 40px;
    width: 350px;
    text-align: center;
    border: 1px solid #2b2b2b;
    position: relative;
}

.login-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(40,167,69,0.6), rgba(0,0,0,0.8));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Logo */
.logo {
    width: 80px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 8px rgba(40,167,69,0.6));
}

/* Título */
h2 {
    font-weight: 600;
    color: var(--tn-green);
    margin-bottom: 25px;
    text-shadow: var(--tn-glow);
}

/* Inputs */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: none;
    outline: none;
    border-radius: 6px;
    background: #2a2a2a;
    color: var(--tn-light);
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus {
    box-shadow: var(--tn-glow);
    background: #1e1e1e;
}

/* Botão */
button {
    width: 100%;
    padding: 12px;
    background: var(--tn-green);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

button:hover {
    background: #34ce57;
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.8);
    transform: translateY(-1px);
}

/* Links extras */
.extra-links {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.extra-links a {
    color: var(--tn-green);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.extra-links a:hover {
    text-decoration: underline;
    color: #34ce57;
}

/* Responsivo */
@media (max-width: 420px) {
    .login-box {
        width: 90%;
        padding: 40px 25px;
    }
}
