html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Fundo escuro por cima da Home */
.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.login-box {
    background: #fff;
    padding: 40px;
    width: 100%;
    max-width: 380px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: zoomIn 0.4s ease;
}

    .login-box h3 {
        margin-bottom: 6px;
        font-weight: 600;
    }

    .login-box .subtitle {
        font-size: 14px;
        color: #666;
        margin-bottom: 25px;
    }

    .login-box input {
        width: 100%;
        padding: 14px;
        margin-bottom: 14px;
        border-radius: 12px;
        border: 1px solid #ddd;
        font-size: 14px;
    }

    .login-box button {
        width: 100%;
        padding: 14px;
        border: none;
        border-radius: 12px;
        background: linear-gradient(135deg, #0d6efd, #084298);
        color: #fff;
        font-weight: 600;
        cursor: pointer;
    }

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

#loginOverlay {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    #loginOverlay.hide {
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
    }
