/* Ensure modal appears above promo banner */
#signup-popup {
    z-index: 1055;
}

#signup-popup .register-modal-content {
    border-radius: 30px;
    overflow: hidden;
    padding: 1.5rem 2rem;
    background-color: #fff;
    color: #000;
}

#signup-popup .register-title {
    font-weight: 700;
    font-size: 30px;
    margin: 10px 0 20px;
    color: #000;
}

#signup-popup .form-control {
    border-radius: 30px;
    border: 1.5px solid #000;
    padding: 0.75rem 1.5rem;
    font-size: 16px;
    color: #000;
}


#signup-popup .form-select {
    border-radius: 30px;
    border: 1.5px solid #000;
    padding: 0.75rem 1.5rem;
    font-size: 16px;
    color: #000;
}

#signup-popup .form-control::placeholder {
    opacity: 0.5;
    font-weight: bold;
    font-size: 15px;
    color: #000;
}

#signup-popup .link-text {
    cursor: pointer;
    display: inline-block;
    padding: 5px;
    color: #00aeef;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

#signup-popup .link-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 5px;
    width: 0;
    height: 1.5px;
    background: #0090c8;
    transition: width 0.25s ease;
}

#signup-popup .link-text:hover {
    color: #0090c8;
}

#signup-popup .link-text:hover::after {
    width: calc(100% - 10px);
}

#signup-popup .register-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;
    text-align: center;
    border: none;
    transition: background-color 0.2s ease;
}

#signup-popup .register-btn:hover {
    background-color: #c70076;
}

#signup-popup .logo-title {
    display: flex;
    justify-content: center;
}

#signup-popup .custom-close {
    border: 2px solid #000; /* circle border */
    border-radius: 50%;
}

/*password*/
.pw-helper {
    background: #f8d7da;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    margin-top: 0.75rem;
    padding: 0.5rem;
}

.pw-helper-title {
    font-weight: 700;
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
}

.pw-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pw-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0.625rem 0;
}

.pw-item .pw-bullet {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.pw-item.bad .pw-bullet {
    background: #cc0000;
    color: #fff
}

.pw-item.ok .pw-bullet {
    background: #006400;
    color: #fff
}

.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: 1rem;
    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;
}

/*toggle password*/ 
.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;
}

/*captcha*/

#signup-popup .captcha-refresh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
    background: #646f82;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

#signup-popup .captcha-refresh:hover {
    filter: brightness(1.08);
}