/* ── Bancolombia Light Theme - User Login ── */
*, *::before, *::after { box-sizing: border-box; }

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Nunito Sans', 'Arial', sans-serif;
    height: 100%;
    background-color: #ffffff;
    color: #1a1a1a;
}
.background-waves {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('https://svpersonas.apps.bancolombia.com/assets/images/auth-trazo.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.06;
}
.container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0 1rem;
    width: 100%;
}
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.logo { height: 35px; width: auto; }

.header-title {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0;
    color: #1a1a1a;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 380px;
    margin-top: 1rem;
    padding: 0 1rem;
    box-sizing: border-box;
    z-index: 5;
}

.programate-box {
    display: none; /* Hide this promotional box to match the clean reference image */
}

.login-form {
    width: 100%;
    padding: 2.5rem 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    box-sizing: border-box;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}
.login-header h2 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 400;
    color: #444;
}
.login-header p {
    margin: 0;
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.4;
}

/* Step field label (e.g. "Usuario", "Clave del cajero") */
.step-field-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    margin-top: 0.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
}

/* User Icon inside input — anchored to the input line, not the whole group */
.input-group svg {
    position: absolute;
    left: 4px;
    top: 14px;        /* matches input padding-top so icon sits at text baseline */
    transform: none;
    width: 20px;
    height: 20px;
    color: #888;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    padding: 10px 0 6px 32px;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #ccc;
    font-size: 16px;
    color: #1a1a1a;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.input-group input:focus {
    border-bottom-color: #ffd800;
}
.input-group input::placeholder {
    color: #999;
}

.forgot-link {
    font-size: 0.85rem;
    color: #444;
    text-decoration: none;
    text-align: right;
    display: block;
    margin-top: 0.5rem;
}
.forgot-link:hover {
    text-decoration: underline;
}

.button-group {
    margin-top: 2rem;
    display: flex;
    gap: 10px;
}

.button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.2s;
    text-align: center;
    color: #1a1a1a;
}
                        
.button-secondary {
    background-color: #ffffff;
    border: 1px solid #1a1a1a;
}
.button-secondary:hover {
    background-color: #f5f5f5;
}

.button-primary {
    background-color: #ffd800;
}
.button-primary:hover {
    background-color: #f0c800;
}
.button-primary:disabled {
    background-color: #fbe67b;
    color: #888;
    cursor: not-allowed;
}

.create-user-link {
    display: none;
}

.error-message, .field-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
    background-color: #fff;
    margin: 20% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 350px;
    text-align: center;
    color: #dc2626;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

footer {
    width: 100%;
    margin-top: auto;
    padding: 2rem 0;
    text-align: center;
}
.footer-bottom-links {
    font-size: 0.8rem;
    color: #777;
}
.footer-bottom-links a {
    color: #777;
    text-decoration: none;
}
.footer-bottom-links a:hover {
    text-decoration: underline;
}