/* ============================================================
   Elementor Login Popup — Styles
   ============================================================ */

/* ── Icon button ── */
.el-login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    text-decoration: none;
    color: inherit;
}
.el-login-icon img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.el-login-icon:hover { opacity: .75; }

/* ── Overlay ── */
.el-login-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* ── Popup box ── */
.el-login-popup {
    position: relative;
    background: #fff;
    border-radius: 4px;
    width: 100%;
    max-width: 560px;
    padding: 56px 56px 48px;
    box-sizing: border-box;
    font-family: inherit;
}

/* ── Close ── */
.el-login-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 4px 8px;
    transition: opacity .15s;
}
.el-login-popup-close:hover { opacity: .5; }

/* ── Title ── */
.el-login-popup-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 18px;
    color: #1a1a1a;
    letter-spacing: -.01em;
}

/* ── Register line ── */
.el-login-popup-register-line {
    font-size: 15px;
    color: #333;
    margin: 0 0 32px;
}
.el-login-popup-register-line a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.el-login-popup-register-line a:hover {
    opacity: .7;
}

/* ── Fields ── */
.el-login-popup-field {
    margin-bottom: 16px;
}
.el-login-popup-field input[type="text"],
.el-login-popup-field input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #c8c8c8;
    border-radius: 3px;
    padding: 18px 20px;
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
    outline: none;
    transition: border-color .15s;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.el-login-popup-field input:focus {
    border-color: #888;
}
.el-login-popup-field input::placeholder {
    color: #aaa;
}

/* ── Remember ── */
.el-login-popup-remember {
    margin: 18px 0 24px;
}
.el-login-popup-remember label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    user-select: none;
}
.el-login-popup-remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1.5px solid #c8c8c8;
    border-radius: 2px;
    accent-color: #1a1a1a;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Error ── */
.el-login-popup-error {
    background: #fff0f0;
    border: 1px solid #f5c6c6;
    border-radius: 3px;
    color: #c0392b;
    font-size: 13px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

/* ── Submit ── */
.el-login-popup-submit {
    display: block;
    width: 100%;
    padding: 18px 24px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .15s;
    font-family: inherit;
}
.el-login-popup-submit:hover:not(:disabled) {
    background: #333;
}
.el-login-popup-submit:disabled {
    opacity: .65;
    cursor: default;
}

/* ── Lost password ── */
.el-login-popup-lostpw {
    display: inline-block;
    margin-top: 22px;
    font-size: 15px;
    color: #333;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.el-login-popup-lostpw:hover { opacity: .7; }

/* ── Body lock ── */
body.el-login-popup-open {
    overflow: hidden;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .el-login-popup {
        padding: 40px 24px 36px;
    }
    .el-login-popup-title {
        font-size: 28px;
    }
}
