* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
}

body {
    background-color: #f5f7fc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #121c2d;
}

.login-page {
    width: 100%;
    max-width: 410px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Marca e Ícone Superior */
.brand {
    text-align: center;
    margin-bottom: 24px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background-color: #1565c0;
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 10px 20px rgba(21, 101, 192, 0.2);
}

.logo-icon i {
    font-size: 38px;
    color: #ffffff;
}

.brand h1 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.brand span {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 6px;
    display: block;
    font-weight: 500;
}

/* Cartão do Formulário */
.login-card {
    background: #ffffff;
    width: 100%;
    padding: 32px 24px;
    border-radius: 24px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
}

.welcome h2 {
    font-size: 1.35rem;
    color: #0f172a;
    font-weight: 700;
}

.welcome p {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 4px;
    margin-bottom: 24px;
}

/* Inputs com Ícones */
.form-group {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #475467;
    font-size: 1.1rem;
    pointer-events: none;
}

.form-group input {
    width: 100%;
    padding: 14px 44px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    background-color: #f8fafc;
    outline: none;
    transition: all 0.2s ease;
}

.form-group input:focus {
    border-color: #1565c0;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #475467;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Botões */
.login-button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    background-color: #1565c0;
    color: #ffffff;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s ease;
}

.login-button:hover {
    background-color: #0d47a1;
}

.register-button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    background-color: #ffffff;
    color: #1565c0;
    border: 1.5px solid #1565c0;
    text-align: center;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.register-button:hover {
    background-color: #f0f7ff;
}

/* Divisor */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider span {
    padding: 0 12px;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Rodapé */
.footer {
    margin-top: 28px;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
}