﻿
body {
    min-height: 100vh;
    background: linear-gradient(180deg,#0b1420 0%,#0f1f34 100%);
    display: flex;
    align-items: center;
}

/* container central */
.login-wrapper {
    width: 100%;
}

/* logo */

.login-logo {
    width: clamp(180px,25vw,320px);
    max-width: 90%;
    opacity: .95;
}

/* card */

.login-card {
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 80px rgba(0,0,0,.6), inset 0 0 30px rgba(255,255,255,.03);
    color: white;
}

/* inputs */

.form-control {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: white;
    border-radius: 10px;
}

    .form-control::placeholder {
        color: rgba(255,255,255,.45);
    }

    .form-control:focus {
        background: rgba(255,255,255,.08);
        border-color: #2d6cdf;
        box-shadow: 0 0 0 2px rgba(45,108,223,.25);
        color: white;
    }

.form-label {
    color: rgba(255,255,255,.75);
    font-weight: 500;
}

.form-check-label {
    color: rgba(255,255,255,.7);
}

/* botão */

.btn-primary {
    background: linear-gradient(135deg,#2d6cdf,#3a7dff);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: .2s ease;
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(45,108,223,.45);
    }

/* mostrar senha */

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #6c757d;
}

/* remove botão nativo */

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-webkit-password-toggle-button {
    display: none !important;
}

/* mobile */

@media (max-width:576px) {
    body {
        padding: 20px;
    }

    .login-card {
        border-radius: 16px;
    }
}

/* tablet */

@media (min-width:577px) and (max-width:991px) {
    .login-card {
        padding: 5px;
    }
}
