@media (max-width: 400px) {
    .card {
        width: 80% !important;
        height: 70% !important;
        min-width: 80% !important;
    }
}

.version-info {
    position: fixed;
    left: 12px;
    bottom: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    gap: 6px;
    align-items: center;
    letter-spacing: 0.02em;
    z-index: 20;
}

.version-sep {
    opacity: 0.5;
}

.version-mismatch {
    color: #f5a623;
}

body {
    background: linear-gradient(135deg, #0d2b3e 0%, #1a4a6b 50%, #0d2b3e 100%);
    min-height: 100vh;
}

.card {
    background-color: rgb(255 255 255);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    width: 380px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    padding: 36px 36px 32px 36px;
    gap: 14px;
}

.card img {
    width: 220px;
    height: auto;
    background: transparent;
    filter: drop-shadow(0 4px 14px rgba(0, 80, 180, 0.2));
    transition: filter 0.3s;
    margin-bottom: 8px;
}

.card img:hover {
    filter: drop-shadow(0 6px 20px rgba(0, 80, 180, 0.4));
}

.container {
    position: absolute;
    top: 0;
    left: 0;
    overflow-y: auto;
    width: 100%;
    height: 100%;
}

select {
    border: none;
    border-bottom: 1px solid #bab8b8;
    border-color: #bab8b8 !important;
    background: transparent;
    outline: none;
}

input[type="text"] {
    border: none;
    border-bottom: 1px solid #bab8b8;
    border-color: #bab8b8 !important;
    margin-bottom: 10px;
    height: 30px;
    background: transparent;
    outline: none;
}

input[type="number"] {
    border: none;
    border-bottom: 1px solid #bab8b8;
    border-color: #bab8b8 !important;
    margin-bottom: 10px;
    height: 30px;
    background: transparent;
    outline: none;
}

input[type="password"] {
    border: none;
    border-bottom: 1px solid #bab8b8;
    border-color: #bab8b8 !important;
    margin-bottom: 10px;
    height: 30px;
    background: transparent;
    outline: none;
}

input[type="date"] {
    border: none;
    border-bottom: 1px solid #bab8b8;
    border-color: #bab8b8 !important;
    margin-bottom: 10px;
    height: 30px;
    background: transparent;
    outline: none;
}

textarea {
    border-color: #bab8b8 !important;
    border-radius: 10px;
}

#containerLogin button {
    border: none;
    background-color: #118316;
    color: #fff;
    height: 30px;
    border-radius: 10px;
    margin-bottom: 10px;
    outline: none;
    cursor: pointer;
}

#containerLogin .btn {
    height: 40px;
    width: 40px;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: .2rem;
    background: transparent;
    border: 1px solid #118316;
    color: #118316;
    border-radius: 10px;

}

#containerLogin .btn:hover {

    color: #fff;
    background-color: #118316;

}

#btnLogar {
    position: relative;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
    width: 100%;
    letter-spacing: 0.5px;
}

/* Loader escondido por padrão */
#btnLogar .loader {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
    pointer-events: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Quando ativar */
#btnLogar.loading .text {
    display: none;
}
#btnLogar.loading .loader {
    display: inline-block;
}