* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    width: 100%;
    height: 100vh;
    background-color: #003366; /* Azul Itaú institucional */
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    border-top: 5px solid #ec7000; /* Laranja Itaú em destaque no topo */
}

.login-header {
    text-align: center;
    margin-bottom: 26px;
}

.login-header h1 {
    font-size: 30px;
    color: #002244;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-header h1 span {
    color: #ec7000; /* Laranja Itaú */
}

.login-header p {
    font-size: 14px;
    color: #555555;
    margin-top: 6px;
}

.input-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 14px;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.toggle-password {
    position: absolute;
    right: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 4px;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 40px 12px 44px;
    font-size: 15px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    outline: none;
    background-color: #f8fafc;
    color: #1c1e21;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrapper input::placeholder {
    color: #999999;
}

.input-wrapper input:focus {
    border-color: #ec7000; /* Borda laranja Itaú no foco */
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(236, 112, 0, 0.15);
}

.error-msg {
    font-size: 11px;
    color: #d9381e;
    margin-top: 4px;
    min-height: 14px;
    padding-left: 2px;
}

.btn-submit {
    width: 100%;
    background-color: #ec7000; /* Botão Laranja Itaú */
    color: #ffffff;
    border: none;
    padding: 13px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 12px rgba(236, 112, 0, 0.3);
}

.btn-submit:hover {
    background-color: #d36400;
}

.btn-submit:active {
    transform: scale(0.98);
}

.forgot-password {
    text-align: center;
    margin-top: 18px;
}

.forgot-password a {
    font-size: 14px;
    color: #003366;
    text-decoration: none;
    font-weight: 600;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.divider {
    border-bottom: 1px solid #e4e6eb;
    margin: 20px 0;
    width: 100%;
}

.create-account-container {
    text-align: center;
    display: flex;
    justify-content: center;
}

.btn-create {
    background-color: transparent;
    color: #003366;
    border: 2px solid #003366;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-create:hover {
    background-color: #003366;
    color: #ffffff;
}
