/* ========================================
   Login Modal — header dropdown
   Positioned absolutely inside hp-header__inner
   ======================================== */

/* Container — absolute dropdown, no overlay */
.modal-login.modal-component {
    display: none;
    position: absolute;
    top: 115%;
    left: 0;
    width: auto;
    height: auto;
    background: none;
    overflow: visible;
    z-index: 10;
}

.modal-login.modal-component.modal-visible {
    display: block;
}

/* Panel — frosted glass dropdown */
.modal-login .modal-component__small {
    width: 360px;
    margin: 0;
    padding: 32px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--hp-radius-section);
    border: 1px solid rgba(209, 205, 200, 0.24);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

/* Typography — Heebo to match header */
.modal-login .modal-component__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    color: var(--hp-text);
}

.modal-login .modal-component__text,
.modal-login .modal-login__text {
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: var(--hp-text-secondary);
}

/* Labels */
.modal-login .input-component .input-component__title {
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--hp-text);
}

/* Inputs — rounded to match design system */
.modal-login .input-component .input-component__input {
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid rgba(209, 205, 200, 0.48);
    background: rgba(255, 255, 255, 0.72);
    color: var(--hp-text);
}

.modal-login .input-component .input-component__input:focus {
    border-color: var(--hp-green-border);
    box-shadow: 0 0 0 3px rgba(101, 217, 133, 0.2);
}

/* Forgot password link */
.modal-login .modal-component__link {
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    color: var(--hp-text-secondary);
}

.modal-login .modal-component__link:hover {
    color: var(--hp-text);
}

/* Divider */
.modal-login .modal-login__login {
    border-bottom-color: rgba(209, 205, 200, 0.48);
}

/* Error text */
.modal-login .modal-login__error {
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
}

/* Mobile — full-width panel */
@media (max-width: 799px) {
    .modal-login .modal-component__small {
        width: 300px;
    }
}
