*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* FUNDO */

body::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.25), transparent 30%),
        radial-gradient(circle at bottom right, rgba(16,185,129,0.18), transparent 30%),
        linear-gradient(135deg, #020617, #0f172a, #111827);
    z-index: -2;
}

.background-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
    z-index: -1;
}

/* CONTAINER */

.login-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* CARD */

.login-card{
    width: 100%;
    max-width: 420px;

    background: rgba(15, 23, 42, 0.78);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 24px;

    padding: 45px;

    backdrop-filter: blur(18px);

    box-shadow:
        0 10px 40px rgba(0,0,0,0.45),
        0 0 20px rgba(59,130,246,0.08);

    animation: fadeUp 0.8s ease;
}

/* LOGO */

.logo-area{
    text-align: center;
    margin-bottom: 40px;
}

.logo-area h1{
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.logo-area span{
    color: #94a3b8;
    font-size: 14px;
    font-weight: 400;
}

/* INPUTS */

.input-group{
    margin-bottom: 24px;
}

.input-group label{
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
}

.input-group input{
    width: 100%;
    padding: 15px 18px;

    border-radius: 14px;

    border: 1px solid rgba(255,255,255,0.08);

    background: rgba(255,255,255,0.04);

    color: #ffffff;

    font-size: 15px;

    outline: none;

    transition: all 0.3s ease;
}

.input-group input:focus{
    border-color: #3b82f6;

    box-shadow:
        0 0 0 4px rgba(59,130,246,0.15);

    background: rgba(255,255,255,0.06);
}

.input-group input::placeholder{
    color: #64748b;
}

/* BOTÃO */

.login-button{
    width: 100%;
    padding: 15px;

    border: none;
    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );

    color: white;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;

    margin-top: 10px;
}

.login-button:hover{
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(37,99,235,0.35);
}

/* ERRO */

#error-message{
    margin-top: 18px;
    text-align: center;
    color: #ef4444;
    font-size: 14px;
    min-height: 20px;
}

/* ANIMAÇÃO */

@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(30px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVO */

@media(max-width: 500px){

    .login-card{
        padding: 35px 25px;
    }

    .logo-area h1{
        font-size: 28px;
    }

}

.copacol-logo {
    position: fixed;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 90px;

    display: flex;
    justify-content: center;
    align-items: center;

    padding-bottom: 70px;
}

.copacol-logo img {
    width: 170px;
    height: auto;

    opacity: 0.9;
    transition: all 0.3s ease;
}

.copacol-logo img:hover {
    opacity: 1;
    transform: scale(1.04);
}

.logo-area {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.logo-sigma {
    width: 420px;
    filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.35));
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}