.ta-password-reset-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ta-password-reset-modal.display {
    display: flex !important;
}

.ta-password-reset-modal.show {
    opacity: 1;
}

.ta-fpr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.ta-fpr-wrapper {
    position: relative;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.ta-password-reset-modal.show .ta-fpr-wrapper {
    transform: scale(1);
}

.ta-fpr-closemodal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
}

.ta-fpr-closemodal:before,
.ta-fpr-closemodal:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #666;
    transition: background 0.3s ease;
}

.ta-fpr-closemodal:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.ta-fpr-closemodal:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.ta-fpr-closemodal:hover:before,
.ta-fpr-closemodal:hover:after {
    background: #333;
}

.ta-fpr-content {
    padding: 40px;
}

.ta-fpr-content h3 {
    margin: 0 0 20px 0;
    font-size: 28px;
    color: #333;
    font-weight: 600;
}

.ta-fpr-form-container {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ta-fpr-intro {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.ta-fpr-field {
    margin-bottom: 20px;
}

.ta-fpr-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.ta-fpr-field input[type="password"],
.ta-fpr-field input[type="text"] {
    width: 100% !important;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ta-fpr-field input[type="password"]:focus,
.ta-fpr-field input[type="text"]:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.ta-fpr-strength-meter {
    margin: 25px 0;
}

.ta-fpr-strength-bar {
    height: 8px;
    background: #f0f0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.ta-fpr-strength-fill {
    height: 100%;
    width: 0;
    transition: all 0.4s ease;
    border-radius: 4px;
}

.ta-fpr-strength-fill.weak {
    width: 25%;
    background: linear-gradient(90deg, #f44336 0%, #e53935 100%);
}

.ta-fpr-strength-fill.medium {
    width: 50%;
    background: linear-gradient(90deg, #ff9800 0%, #fb8c00 100%);
}

.ta-fpr-strength-fill.good {
    width: 75%;
    background: linear-gradient(90deg, #2196f3 0%, #1976d2 100%);
}

.ta-fpr-strength-fill.strong {
    width: 100%;
    background: linear-gradient(90deg, #104d98 0%, #104d98 100%);
}

.ta-fpr-strength-text {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.ta-fpr-strength-text.weak {
    color: #f44336;
}

.ta-fpr-strength-text.medium {
    color: #ff9800;
}

.ta-fpr-strength-text.good {
    color: #2196f3;
}

.ta-fpr-strength-text.strong {
    color: #104d98;
}

.ta-fpr-tips {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.ta-fpr-tips p {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 14px;
}

.ta-fpr-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ta-fpr-tips li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.ta-fpr-tips li .ta-tip-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    margin-right: 10px;
    border-radius: 50%;
    font-size: 12px;
    transition: all 0.3s ease;
}

.ta-fpr-tips li.valid {
    color: #104d98;
}

.ta-fpr-tips li.valid .ta-tip-icon {
    background: #104d98;
    color: #fff;
}

.ta-fpr-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 14px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ta-fpr-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.ta-password-reset-modal button.btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ta-password-reset-modal button.btn.primary {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.ta-password-reset-modal button.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

.ta-password-reset-modal button.btn.primary:active {
    transform: translateY(0);
}

.ta-password-reset-modal button.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.ta-fpr-loader {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.4s ease;
}

.ta-fpr-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid #f0f0f1;
    border-top-color: #0066cc;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.ta-fpr-loader p {
    color: #666;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.ta-fpr-success {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.4s ease;
}

.ta-fpr-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #104d98 0%, #104d98 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.ta-fpr-success h4 {
    color: #333;
    font-size: 24px;
    margin: 0 0 10px 0;
}

.ta-fpr-success p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

@media (max-width: 768px) {
    .ta-fpr-content {
        padding: 30px 20px;
    }

    .ta-fpr-content h3 {
        font-size: 24px;
    }

    .ta-fpr-wrapper {
        width: 95%;
        max-height: 95vh;
    }

    .ta-fpr-tips {
        padding: 15px;
    }

    .ta-fpr-tips li {
        font-size: 13px;
    }
}
