body {
    background: linear-gradient(135deg, #C8F66A 0%, #2EA7AD 100%);
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* HEADER */

.login-header {
    background: linear-gradient(135deg, #132b5b 0%, #2EA7AD 70%, #C8F66A 100%);
    color: white;
    text-align: center;
    padding: 24px 22px;
}

.login-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.login-header p {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.9;
}

/* BODY */

.login-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
}

/* INPUT */

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #9ca3af;
    pointer-events: none;
}

.form-control {
    width: 100%;
    height: 42px;
    padding-left: 38px;
    /* espaço do ícone */
    padding-right: 12px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    font-size: 14px;
    transition: all .2s ease;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #6b7df0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 125, 240, 0.15);
}

/* BOTÃO */

.btn-login {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #5f7ce6, #2EA7AD);
    cursor: pointer;
    transition: all .2s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(46, 167, 173, 0.3);
}

.btn-login:disabled {
    opacity: 0.7;
}

/* ALERT */

.alert {
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 13px;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* FOOTER */

.login-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

/* SPINNER */

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

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