/* ===== RESET E ESTILOS GLOBAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: Freehand;
    src: url('/fonts/Freehand521 BT.ttf');
}


body {
    background-color: #252733;
    background-image: url(/imagens/bkg1.png);
    font-family: 'Inter', sans-serif;
    color: #e0e0e0;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ===== HEADER ===== */
.login-header {
    width: 100%;
    padding: 1.5rem 5%;
    border-bottom: 1px solid #3f4150;
    background-color: rgba(18, 20, 29, 0.6);
    backdrop-filter: blur(8px);
}

.logo-area {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.logo-slic {
    font-family: Freehand;
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: -0.5px;
    /* background: linear-gradient(130deg, #c0d0f0, #a0b5e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
}

.logo-tag {
    font-size: 0.9rem;
    font-weight: 400;
    color: #8d92a8;
    margin-left: 6px;
}

/* ===== MAIN / CARD DE LOGIN ===== */
.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 5%;
}

.login-card {
    background: #1f212f;
    border-radius: 32px;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    border: 1px solid #34384b;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.7);
    transition: transform 0.2s ease;
}

.login-card:hover {
    transform: translateY(-4px);
    border-color: #4c5782;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    background: linear-gradient(to right, #fff, #c7d2f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    color: #b4bed4;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* ===== FORMULÁRIO ===== */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #c6d0f0;
    margin-bottom: 0.5rem;
}

.input-group label i {
    color: #5f7bbf;
    width: 1.2rem;
}

.input-group input {
    width: 100%;
    background: #2a2e40;
    border: 1px solid #3e4258;
    border-radius: 40px;
    padding: 0.9rem 1.4rem;
    color: #f0f0f0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
}

.input-group input:focus {
    border-color: #5f7bbf;
    box-shadow: 0 0 0 3px rgba(95, 123, 191, 0.2);
}

/* Campo de senha com botão de mostrar */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #8d9edb;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #ffffff;
}

/* Esqueci minha senha */
.forgot-password {
    text-align: right;
    margin: 0.5rem 0 2rem;
}

.forgot-password a {
    color: #8d9edb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.forgot-password a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Botões */
.actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.9rem 1.5rem;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #5f7bbf;
    color: white;
    border: 1px solid #7f92cf;
}

.btn-primary:hover {
    background: #4d68b0;
    box-shadow: 0 5px 15px rgba(95, 123, 191, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #c6d0f0;
    border: 1.5px solid #475785;
}

.btn-secondary:hover {
    background: #2f334a;
    border-color: #5f7bbf;
    color: white;
}

.btn-tertiary {
    background: transparent;
    color: #8d92a8;
    border: 1px dashed #475785;
}

.btn-tertiary:hover {
    color: #c6d0f0;
    border-color: #5f7bbf;
    background: rgba(95, 123, 191, 0.05);
}

/* ===== RODAPÉ ===== */
.login-footer {
    width: 100%;
    padding: 1.5rem 5%;
    border-top: 1px solid #333748;
    background-color: rgba(18, 20, 29, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: #7c83a3;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.phones {
    color: #929dca;
    letter-spacing: 0.3px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #7c83a3;
    font-size: 1.2rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(42, 46, 65, 0.5);
}

.social-icons a:hover {
    color: white;
    background: #5f7bbf;
    transform: translateY(-3px);
}

#wait, #aguarde-carregando{
    display: none;
    position: fixed;
    top:0;
    left:0;
    height: 100%;
    width: 100%;
    margin-left: -20px;
    background-color: rgba(0, 0, 0, 0.5);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 600px) {
    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-title {
        font-size: 1.8rem;
    }

    .footer-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .login-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-icons {
        align-self: center;
    }
}

@media (max-width: 400px) {
    .actions .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
}