/**
 * Friendoza - Verification Styles
 * Стили для системы верификации
 */

/* ===== МОДАЛЬНОЕ ОКНО ===== */

.verification-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.verification-modal-overlay.show {
    opacity: 1;
}

.verification-modal {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.verification-modal-overlay.show .verification-modal {
    transform: scale(1);
}

.verification-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 1;
}

.verification-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

/* ===== HEADER ===== */

.verification-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.verification-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.verification-header h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.verification-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

/* ===== ПРОГРЕСС ===== */

.verification-progress {
    padding: 30px;
    background: #f8f9fa;
}

.progress-bar {
    height: 12px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.5s ease;
    border-radius: 10px;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* ===== ПРЕИМУЩЕСТВА ===== */

.verification-benefits {
    padding: 30px;
}

.verification-benefits h3 {
    font-size: 18px;
    margin: 0 0 20px;
    color: #333;
}

.verification-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.verification-benefits li {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.verification-benefits li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.verification-benefits li i {
    font-size: 24px;
    color: #ccc;
    margin-right: 15px;
    transition: color 0.3s;
}

.verification-benefits li i.active {
    color: #28a745;
}

.verification-benefits li span:first-of-type {
    flex: 1;
    font-weight: 500;
}

.badge-success,
.badge-locked {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-locked {
    background: #f8d7da;
    color: #721c24;
}

/* ===== СПОСОБЫ ВЕРИФИКАЦИИ ===== */

.verification-methods {
    padding: 30px;
}

.verification-methods h3 {
    font-size: 18px;
    margin: 0 0 20px;
    color: #333;
}

.verification-method {
    display: flex;
    align-items: center;
    padding: 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.verification-method:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.verification-method.verified {
    background: #f0f9ff;
    border-color: #28a745;
}

.method-icon {
    font-size: 36px;
    margin-right: 20px;
}

.method-content {
    flex: 1;
}

.method-content h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #333;
}

.method-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.method-action {
    margin-left: 15px;
}

.btn-verify {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: #d4edda;
    color: #155724;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    gap: 5px;
}

/* ===== ШАГИ ВЕРИФИКАЦИИ ===== */

.verification-step {
    padding: 30px;
}

.verification-step h3 {
    font-size: 22px;
    margin: 0 0 15px;
    color: #333;
    text-align: center;
}

.verification-step p {
    text-align: center;
    color: #666;
    margin: 0 0 25px;
}

.phone-input-group,
.instagram-input-group,
.code-input-group {
    margin-bottom: 25px;
}

.verification-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.verification-input:focus {
    outline: none;
    border-color: #667eea;
}

.code-input {
    text-align: center;
    font-size: 24px;
    letter-spacing: 5px;
    font-weight: 600;
}

.phone-input-group small,
.instagram-input-group small {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #999;
}

#recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.verification-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

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

.btn-secondary {
    background: #f8f9fa;
    color: #666;
}

.btn-secondary:hover {
    background: #e9ecef;
}

.verification-note {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 5px;
}

.verification-note p {
    margin: 0;
    font-size: 14px;
    color: #856404;
    text-align: left;
}

/* ===== FOOTER ===== */

.verification-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
    text-align: center;
}

.verification-footer p {
    margin: 0;
    font-size: 15px;
    color: #666;
}

/* ===== BADGE НА ПРОФИЛЕ ===== */

.verification-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
    color: #28a745;
    font-size: 16px;
}

.verification-badge i {
    margin: 0;
}

/* ===== КНОПКА ВЕРИФИКАЦИИ В ПРОФИЛЕ ===== */

.profile-verification-button {
    margin: 15px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.profile-verification-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.profile-verification-button.verified {
    background: #28a745;
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */

@media (max-width: 768px) {
    .verification-modal {
        border-radius: 20px 20px 0 0;
        max-height: 95vh;
    }
    
    .verification-header {
        padding: 30px 20px 20px;
    }
    
    .verification-icon {
        font-size: 48px;
    }
    
    .verification-header h2 {
        font-size: 24px;
    }
    
    .verification-progress,
    .verification-benefits,
    .verification-methods,
    .verification-step {
        padding: 20px;
    }
    
    .verification-method {
        flex-direction: column;
        text-align: center;
    }
    
    .method-icon {
        margin: 0 0 15px 0;
    }
    
    .method-action {
        margin: 15px 0 0 0;
    }
    
    .verification-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* ===== АНИМАЦИИ ===== */

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

.verification-method,
.verification-benefits li {
    animation: fadeInUp 0.3s ease forwards;
}

.verification-method:nth-child(1) { animation-delay: 0.1s; }
.verification-method:nth-child(2) { animation-delay: 0.2s; }
.verification-method:nth-child(3) { animation-delay: 0.3s; }
