html,
body {
    min-height: 100%;
    background-color: #ffffff !important;
}

.login-container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.login-card {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 2rem;
    background-color: #fff;
}

.login-panel {
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.login-icon {
    font-size: 3rem;
    color: #000;
}

.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.login-logo-icon {
    width: 84px;
    height: 84px;
    object-fit: contain;
    display: block;
    border-radius: 18px;
}

.login-logo-text {
    width: min(240px, 78%);
    height: auto;
    display: block;
    border-radius: 12px;
}

.login-icon-lg {
    font-size: 65px;
}

.btn-login {
    background-color: var(--isp-ink, #0F172A);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    color: #fff;
    transition: background 0.3s;
}

.btn-login:hover {
    background-color: var(--isp-ink-hover, #1e293b);
    color: #fff;
}

.form-control-login {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.password-field {
    position: relative;
}

.password-input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6b7280;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.password-toggle:hover {
    color: #111111;
}

.password-toggle:focus {
    outline: none;
    color: #111111;
}

.form-control-login:focus {
    box-shadow: none;
    border-color: var(--isp-ink, #0F172A);
}

.login-alt-link {
    color: var(--isp-ink, #0F172A);
    font-weight: 600;
    text-decoration: none;
}

.login-alt-link:hover {
    text-decoration: underline;
}

.phone-prefix {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px 0 0 8px;
    color: #111;
    font-weight: 600;
    min-width: 4.5rem;
    justify-content: center;
}

.registro-pais {
    position: relative;
}

.registro-pais-boton,
.registro-pais-opcion {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #fff;
    color: #111;
    text-align: left;
}

.registro-pais-boton {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 2rem 10px 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 14px 14px;
}

.registro-pais-boton:focus {
    outline: none;
    border-color: var(--isp-ink, #0F172A);
}

.registro-bandera {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    flex: 0 0 20px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.registro-pais-lista {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    max-height: 220px;
    overflow: auto;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.registro-pais-opcion {
    border: 0;
    border-radius: 6px;
    padding: 8px 10px;
}

.registro-pais-opcion:hover,
.registro-pais-opcion[aria-selected="true"] {
    background: #edf2f6;
}

.registro-captcha {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.registro-captcha-label {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.registro-captcha-input {
    width: 4.25rem;
    flex: 0 0 4.25rem;
    text-align: center;
    padding: 8px 6px;
}
