/* Login popup (narrow) */
.custom-login-modal {
    max-width: 420px !important;
    width: 100%;
}

/* Signup popup (wider and responsive) */
.custom-signup-modal {
    max-width: 460px !important;
    width: 100%;
}

@media(max-width:480px){
    .custom-login-modal,
    .custom-signup-modal {
        max-width: 95% !important;
    }
}


/* Wrapper */
.login-popup-wrapper {
    padding: 30px 25px;
}

/* Logo */
.login-logo {
    max-width: 130px;
}

/* Heading */
.login-heading {
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    color: #222;
}

.login-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: -6px;
    margin-bottom: 18px;
}

/* Form Group */
.form-group-custom {
    margin-bottom: 18px;
}

.input-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

/* Input box */
.input-box {
    position: relative;
}

.input-box input {
    padding-left: 42px !important;
    height: 42px;
}

.input-box .icon {
    position: absolute;
    left: 12px;
    top: 10px;
    color: #888;
    font-size: 17px;
}

/* Forgot link */
.forgot-link {
    font-size: 13px;
    font-weight: 600;
    color: #6C3FCE;
    text-decoration: none;
}

/* Terms link */
.terms-link {
    color: #6C3FCE;
    font-weight: 600;
}

/* Login Button */
.login-btn {
    width: 100%;
    background: #6C3FCE;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.2s;
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-btn:hover:not(:disabled) {
    background: #582db9;
}

/* Bottom text */
.login-bottom-text {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
}

.signup-link {
    color: #6C3FCE;
    font-weight: 700;
    text-decoration: none;
}
/* --- SIGNUP POPUP WRAPPER --- */
.signup-popup-wrapper {
    max-width: 420px;
    margin: auto;
    padding: 30px;
}

/* Title */
.popup-title {
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    color: #222;
    margin-bottom: 22px;
}

/* Field Box */
.form-field {
    margin-bottom: 20px;
}

/* Label */
.field-label {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 6px;
    display: block;
}

/* Input Group */
.popup-input .icon-box {
    background: #f1f3f5;
    border-right: none;
}

.popup-input input {
    height: 44px;
    padding: 10px 12px !important;
    font-size: 15px;
}

/* Error text */
.error-text {
    min-height: 16px;
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

/* Info text */
.info-text {
    font-size: 12px;
    margin-top: 4px;
    color: #6C3FCE;
}

.info-text.danger {
    color: red;
}

/* Button */
.signup-btn {
    background: #6C3FCE;
    color: #fff;
    padding: 11px;
    border-radius: 6px;
    margin-top: 10px;
}

.signup-btn:disabled {
    opacity: 0.6;
}

/* Switch */
.switch-text {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
}

.switch-link {
    color: #6C3FCE;
    font-weight: 600;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 480px) {
    .signup-popup-wrapper {
        padding: 20px;
    }
    .popup-title {
        font-size: 20px;
    }
    .popup-input input {
        height: 40px;
    }
}
