/* Ensure modal appears above promo banner */
#signin-popup {
    z-index: 1055;
}

#signin-popup .login-modal-content {
    border-radius: 30px;
    overflow: hidden;
    padding: 1.5rem 2rem;
    background-color: #fff;
    color: #000;
    text-align: center;
}

#signin-popup .login-title {
    font-weight: 700;
    font-size: 30px;
    margin: 10px 0 20px;
    text-align: center;
    color: #000;
}

#signin-popup .form-control {
    border-radius: 30px;
    border: 1.5px solid #000;
    padding: 0.75rem 1.5rem;
    font-size: 16px;
    color: #000;
}

    #signin-popup .form-control::placeholder {
        opacity: 0.5;
        font-weight: bold;
        font-size: 15px;
        color: #000;
    }

#signin-popup .link-text {
    cursor: pointer;
    display: inline-block;
    padding: 5px;
    color: #00aeef;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

#signin-popup .link-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 5px;
    width: 0;
    height: 1.5px;
    background: #0090c8;
    transition: width 0.25s ease;
}

#signin-popup .link-text:hover {
    color: #0090c8;
}

#signin-popup .link-text:hover::after {
    width: calc(100% - 10px);
}

#signin-popup .login-btn {
    display: inline-block;
    border-radius: 30px;
    background-color: #ec008c;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    width: 100%;
    padding: 0.75rem;
    text-decoration: none;
    border: none;
    transition: background-color 0.2s ease;
}

#signin-popup .login-btn:hover {
    background-color: #c70076;
}

#signin-popup .logo-title {
    display: flex;
    justify-content: center;
}

#signin-popup .custom-close {
    border: 2px solid #000; /* circle border */
    border-radius: 50%;
}

.field-error {
    background: #f8d7da;
    border-radius: 0.75rem;
    padding: 0.3rem;
    margin-top: 0.5rem;
}

.field-error-title {
    font-weight: 700;
    margin-bottom: 0.375rem;
    font-size: 0.8rem;
    color: #7a1c1f;
}

.field-error .pw-list {
    list-style: none;
    margin: 0.3rem;
    padding: 0;
}

.field-error .pw-item {
    margin: 0.375rem 0;
    font-size: 0.8rem;
    color: #7a1c1f;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 2.5rem;
}

.password-field .toggle-visibility {
    position: absolute;
    top: 50%;
    right: 0.938rem;
    transform: translateY(-50%);
    color: #000;
    cursor: pointer;
    font-size: 1rem;
}

.password-toggle {
    position: absolute;
    inset-block: 0;
    right: .5rem;
    display: flex;
    align-items: center;
    padding: 0;
    width: 2rem;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
}

.password-toggle i {
    pointer-events: none;
}