

.password-strength {
    height: 5px;
    margin-top: 5px;
    background: #eee;
}
.password-strength span {
    display: block;
    height: 100%;
    transition: width 0.3s, background 0.3s;
}
.username-field {
    margin-bottom: 15px;
    position: relative;
}

.username-hint {
    display: none;
    font-size: 13px;
    color: #ff0000;
    margin-top: 5px;
}

input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid <?php echo esc_attr($options['input_border_color'] ?? '#ddd'); ?>;
}
/* Popup стили */
.fmpqb-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
    backdrop-filter: blur(3px);
}

.fmpqb-popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 90%;
    max-width: 600px;
    display: none;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.fmpqb-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.fmpqb-popup-close:hover {
    color: #000;
}

/* Анимации */
.fadeIn {
    animation: fadeIn 0.5s forwards;
}

.fadeOut {
    animation: fadeOut 0.5s forwards;
}

.slideDown {
    animation: slideDown 0.5s forwards;
}

.zoomIn {
    animation: zoomIn 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideDown {
    from { transform: translate(-50%, -60%); opacity: 0; }
    to { transform: translate(-50%, -50%); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
















.fmpqb-form-wrapper button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.fmpqb-loading {
    position: relative;
}

.fmpqb-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
