/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================================================
   BODY
===================================================== */

body {

    font-family: Arial, Helvetica, sans-serif;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(circle at top left, #ccb895 0%, transparent 30%),
        radial-gradient(circle at center, #7d4b72 0%, transparent 45%),
        radial-gradient(circle at bottom right, #4f7099 0%, transparent 35%),
        #5c5373;

}

/* =====================================================
   CENTRALIZAÇÃO
===================================================== */

.page {

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 30px;

}

/* =====================================================
   CARD
===================================================== */

.card {

    width: 275px;

    max-width: 95vw;

    padding: 18px 20px;

    border-radius: 22px;

    background: rgba(255,255,255,.12);

    border: 1px solid rgba(255,255,255,.12);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 18px 40px rgba(0,0,0,.28);

    display: flex;

    flex-direction: column;

    align-items: center;

}

/* =====================================================
   LOGO
===================================================== */

.logo {

    width: 210px;

    height: auto;

    margin-bottom: 8px;

    user-select: none;

    pointer-events: none;

}

/* =====================================================
   FORM
===================================================== */

#consultaForm {

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

}

/* =====================================================
   INPUT
===================================================== */

#documento {

    width: 100%;

    height: 42px;

    border: none;

    border-radius: 12px;

    padding: 0 18px;

    outline: none;

    font-size: 15px;

    background: white;

    color: #333;

}

#documento::placeholder {

    color: #777;

}

#documento:focus {

    box-shadow: 0 0 0 4px rgba(61,120,255,.20);

}

/* =====================================================
   BOTÃO
===================================================== */

#btnConsultar {

    margin-top: 14px;

    width: 130px;

    height: 40px;

    border: none;

    border-radius: 12px;

    background: linear-gradient(90deg,#4386ff,#2d6fff);

    color: white;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: .25s;

}

#btnConsultar:hover {

    transform: translateY(-2px);

    box-shadow: 0 8px 18px rgba(45,111,255,.35);

}

#btnConsultar:active {

    transform: scale(.98);

}

#btnConsultar:disabled {

    opacity: .7;

    cursor: not-allowed;

}

/* =====================================================
   RESPONSIVO
===================================================== */

@media (max-width: 500px) {

    .card {

        width: 100%;

        max-width: 290px;

        padding: 18px;

    }

    .logo {

        width: 180px;

        margin-bottom: 8px;

    }

    #documento {

        height: 42px;

    }

    #btnConsultar {

        width: 100%;

        height: 40px;

        margin-top: 14px;

    }

}
