﻿html,
body {
    height: 100%;
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg,#f8fafc 0%,#eef4fb 100%);
    overflow: hidden;
}

    /* Fundo com detalhes sutis */

    body::before {
        content: "";
        position: fixed;
        width: 700px;
        height: 700px;
        border-radius: 50%;
        background: rgba(13,110,253,.05);
        top: -280px;
        right: -180px;
        filter: blur(10px);
    }

    body::after {
        content: "";
        position: fixed;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: rgba(13,110,253,.04);
        bottom: -220px;
        left: -120px;
    }

.login-wrapper {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 20px 45px rgba(15,23,42,.08), 0 4px 10px rgba(15,23,42,.04);
    animation: fadeIn .7s ease;
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 38px;
}

    .login-header h2 {
        font-size: 2rem;
        font-weight: 700;
        color: #0f172a;
        letter-spacing: -1px;
    }

    .login-header span {
        color: #0d6efd;
    }

    .login-header p {
        margin-top: 10px;
        color: #64748b;
        font-size: .95rem;
    }

.form-group {
    margin-bottom: 22px;
}

.form-label {
    color: #475569;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    height: 50px;
    border-radius: 12px;
    border: 1px solid #dbe4ee;
    background: #fbfdff;
    transition: .25s;
    font-size: .95rem;
    padding-left: 15px;
}

    .form-control:hover {
        border-color: #cbd5e1;
    }

    .form-control:focus {
        background: #fff;
        border-color: #0d6efd;
        box-shadow: 0 0 0 5px rgba(13,110,253,.10);
    }

.btn-login {
    height: 50px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg,#0d6efd,#3b82f6);
    font-weight: 600;
    letter-spacing: .3px;
    transition: .25s;
    box-shadow: 0 8px 18px rgba(13,110,253,.22);
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(13,110,253,.28);
    }

    .btn-login:active {
        transform: scale(.985);
    }

.text-danger {
    font-size: .82rem;
}

::placeholder {
    color: #94a3b8;
}

@media(max-width:576px) {

    .login-box {
        padding: 35px 25px;
        border-radius: 18px;
    }
}
