body {
    background: linear-gradient(135deg, #14532d, #38b000);
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.body-logo-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 0;
    opacity: 0.18;
    pointer-events: none;
    object-fit: contain;
    filter: drop-shadow(0 0 32px #14532d55) blur(1px);
}

/* Rodapé fixo com copyright, texto e logo */
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: #fff;
    color: #14532d;
    text-align: center;
    padding: 12px 0 8px 0;
    font-size: 1rem;
    box-shadow: 0 -2px 12px rgba(46,67,118,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}
.footer .dev-logo img {
    height: 32px;
    margin-left: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}
.footer .dev-logo img:hover {
    transform: scale(1.1) rotate(-5deg);
}

.login-container {
    background: rgba(255,255,255,0.97);
    padding: 32px 18px 24px 18px;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(20,83,45,0.18);
    width: 100%;
    max-width: 370px;
    position: relative;
    animation: fadeIn 0.8s;
    z-index: 1;
    backdrop-filter: blur(1px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.language-select {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 18px;
}
.language-select label {
    margin-right: 8px;
    color: #14532d;
    font-weight: 500;
}
.language-select select {
    padding: 7px 16px;
    border-radius: 8px;
    border: 1px solid #bdbdbd;
    font-size: 15px;
    background: #f7f7f7;
    color: #14532d;
    outline: none;
    transition: border-color 0.2s;
    box-shadow: 0 2px 8px rgba(46,67,118,0.06);
}
.language-select select:focus {
    border-color: #14532d;
}

.login-form {
    padding-bottom: 32px;
}

.login-form h2 {
    margin-bottom: 28px;
    color: #14532d;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.login-form h3 {
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.input-group label {
    margin-bottom: 7px;
    color: #14532d;
    font-weight: 500;
    font-size: 1rem;
}
.input-group input {
    padding: 14px 38px 14px 16px;
    border: 1.5px solid #bdbdbd;
    border-radius: 10px;
    font-size: 17px;
    background: #f7f7f7cc;
    box-shadow: 0 2px 12px rgba(20,83,45,0.07);
}
.input-group input:focus {
    border-color: #38b000;
    box-shadow: 0 0 0 2px #38b00033;
}
.input-group input[type="text"] {
    background-image: url('https://cdn-icons-png.flaticon.com/512/1077/1077114.png');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.input-group input[type="password"] {
    background-image: url('https://cdn-icons-png.flaticon.com/512/3064/3064155.png');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: right 10px center;
}

input[type="submit"] {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #38b000, #14532d);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(20,83,45,0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-top: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
input[type="submit"]:hover {
    background: linear-gradient(135deg, #14532d, #38b000);
    box-shadow: 0 4px 18px rgba(20,83,45,0.18);
    transform: scale(1.04);
}

/* Responsividade para telas menores */
@media (max-width: 600px) {
    .body-logo-bg {
        width: 100vw;
        height: 100vh;
        opacity: 0.35;
        filter: drop-shadow(0 0 12px #14532d33) blur(1.5px);
        object-fit: cover;
    }
    .login-container {
        max-width: 340px;
        width: 90vw;
        margin: 0 auto;
        padding: 18px 4vw 12px 4vw;
        border-radius: 14px;
        box-shadow: 0 4px 16px rgba(20,83,45,0.13);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .input-group input {
        font-size: 16px;
        padding: 12px 32px 12px 12px;
    }
    input[type="submit"] {
        font-size: 16px;
        padding: 13px;
        margin-top: 10px;
    }
    .footer {
        font-size: 0.95rem;
        padding: 10px 0 6px 0;
    }
    .login-form {
        padding-bottom: 28px;
    }
}

@media (max-width: 400px) {
    .login-container {
        max-width: 98vw;
        width: 98vw;
        padding: 8px 1vw 6px 1vw;
        border-radius: 10px;
    }
    .footer {
        font-size: 0.85rem;
    }
}