/* =========================================
   NICOTEC - LOGIN PAGE STYLES
   ========================================= */

.login-page {
    /* O Header pode ter posição diferente ou se mesclar */
    background: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-page .header {
    background: transparent;
    border-bottom: none;
    position: absolute;
}

.login-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 20px;
    position: relative;
    z-index: 10;
}

/* Box Principal do Login */
.login-box {
    background: rgba(20, 30, 48, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.login-header h2 span {
    color: var(--color-secondary);
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Formulário */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-icon input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.input-icon input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

/* Opções adicionais */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.forgot-password {
    color: var(--color-secondary);
    transition: color var(--transition-fast);
}

.forgot-password:hover {
    color: #fff;
    text-decoration: underline;
}

.w-100 {
    width: 100%;
}

.login-footer {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.login-footer a {
    color: var(--color-secondary);
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Elementos decorativos no background */
.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: -1;
    animation: drift 10s infinite alternate ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 210, 255, 0.3);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Dispositivos móveis */
@media (max-width: 576px) {
    .login-box {
        padding: 2rem;
    }
}