
.h-captcha {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    padding: 0;
    border: none;
    position: relative;
}

.h-captcha iframe {
    transform: scale(1);
    transform-origin: center;
    margin: 0 auto;
}

.captcha-loading {
    display: none; 
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    border-radius: 4px;
    padding: 8px 12px;
    z-index: 2;
}

.captcha-error {
    background-color: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    width: 80%;
    max-width: 280px;
    display: block;
    text-align: center;
    padding: 8px;
}

.captcha-error a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: bold;
}


.password-strength-meter {
    height: 4px;
    background-color: #ddd;
    margin: 5px 0 0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.strength-meter-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
    font-size: 12px;
    margin-top: 3px;
    display: inline-block;
    color: var(--text-secondary);
    font-style: normal;
}


.strength-weak .strength-meter-bar {
    width: 25%;
    background-color: #ff4d4d;
}

.strength-fair .strength-meter-bar {
    width: 50%;
    background-color: #ffa64d;
}

.strength-good .strength-meter-bar {
    width: 75%;
    background-color: #99cc33;
}

.strength-strong .strength-meter-bar {
    width: 100%;
    background-color: #22cc22;
}

.alternative-action {
    margin-top: 15px;
    text-align: center;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.alternative-action p {
    color: var(--text-secondary);
    font-size: 14px;
}

.alternative-action a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.alternative-action a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.form-input-icon {
    position: relative;
}


.form-group.form-input-icon {
    position: relative;
}

.form-input-icon i {
    position: absolute;
    left: 14px;
    top: 42px; 
    color: var(--text-secondary);
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

.form-input-icon input {
    padding-left: 40px !important;
}

.login-signup-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px 0;
}

.login-signup-separator::before,
.login-signup-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-signup-separator span {
    padding: 0 10px;
    color: var(--text-secondary);
    font-size: 14px;
}


.form-group input {
    transition: all 0.3s ease;
}

.form-group input:focus {
    transform: translateY(-2px);
}


.form-group input::placeholder {
    color: rgba(179, 179, 179, 0.5);
    font-style: normal;
    font-size: 14px;
}


.form-input-icon i {
    transition: all 0.3s ease;
}

.form-input-icon input:focus + i,
.form-input-icon input:focus ~ i {
    color: var(--primary);
}


.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}


.btn-loading {
    position: relative;
    cursor: wait !important;
    opacity: 0.8;
}

.btn-loading:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
    transform: skewX(-20deg);
}

@keyframes shimmer {
    0% {
        left: -30px;
    }
    100% {
        left: 100%;
    }
}


