.am3ram-kyc-dashboard,
.am3ram-kyc-verification-form,
.am3ram-kyc-cards-wrapper,
.am3ram-kyc-status-wrapper,
.am3ram-kyc-video-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Vazir", "IRANSans", sans-serif;
    direction: rtl;
    color: #2c3e50;
    box-sizing: border-box;
}

.kyc-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.kyc-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.kyc-stat-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    text-align: center;
    border: 1px solid #e9ecef;
}

.kyc-stat-card .stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
}

.kyc-stat-card .stat-label {
    font-size: 14px;
    color: #7f8c8d;
    margin-top: 4px;
}

.kyc-progress-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 24px;
}

.kyc-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 10px 0;
}

.kyc-progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: #dee2e6;
}

.kyc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.kyc-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.kyc-step.completed .kyc-step-number {
    background: #28a745;
    color: #ffffff;
}

.kyc-step.active .kyc-step-number {
    background: #4f46e5;
    color: #ffffff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

.kyc-step-label {
    margin-top: 8px;
    font-size: 12px;
    color: #6c757d;
}

.kyc-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.kyc-btn-primary {
    background: #4f46e5;
    color: #ffffff;
}

.kyc-btn-primary:hover {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.kyc-btn-secondary {
    background: #6c757d;
    color: #ffffff;
}

.kyc-btn-secondary:hover {
    background: #5a6268;
}

.kyc-btn-danger {
    background: #dc3545;
    color: #ffffff;
}

.kyc-btn-danger:hover {
    background: #c82333;
}

.kyc-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.kyc-card-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 12px;
    color: #ffffff;
    position: relative;
    transition: all 0.3s;
}

.kyc-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.kyc-card-item .card-number {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.kyc-card-item .card-bank {
    font-size: 14px;
    opacity: 0.9;
    margin: 4px 0;
}

.kyc-card-item .status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 4px;
}

.kyc-card-item .card-default-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffd700;
    color: #333;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

.kyc-card-item.approved {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.kyc-card-item.pending {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.kyc-card-item.rejected {
    background: linear-gradient(135deg, #dc3545 0%, #c0392b 100%);
}

.kyc-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    margin: 15px 0;
}

.kyc-info-icon {
    font-size: 24px;
    color: #856404;
}

.kyc-info-content {
    font-size: 14px;
    color: #856404;
}

.kyc-info-content strong {
    color: #856404;
}

.kyc-tooltip {
    font-size: 11px;
    opacity: 0.8;
    color: #ffd700;
}

.kyc-no-cards {
    text-align: center;
    padding: 50px 20px;
    color: #6c757d;
    grid-column: 1 / -1;
}

.kyc-no-cards .empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.kyc-loading {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .am3ram-kyc-dashboard,
    .am3ram-kyc-verification-form,
    .am3ram-kyc-cards-wrapper,
    .am3ram-kyc-status-wrapper,
    .am3ram-kyc-video-wrapper {
        padding: 15px;
        margin: 10px;
    }
    
    .kyc-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .kyc-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .kyc-progress-steps .kyc-step-label {
        font-size: 10px;
    }
    
    .kyc-progress-steps .kyc-step-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .kyc-stats-grid {
        grid-template-columns: 1fr;
    }
}