/* 
 * MeetTSS Profiles Sidebar Styles
 * Дополнительные стили для сайдбара профилей
 */

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Enhanced Sidebar Styles */
.profiles-sidebar.active .sidebar-content {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profiles-sidebar.mobile.active .sidebar-content {
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Notification Pulse */
.notification-dot {
    animation: pulse 2s infinite;
}

/* Profile Card Hover Effects */
.profile-mini-card:hover .heart-btn {
    animation: heartBeat 0.6s ease-in-out;
}

/* Loading States */
.profile-mini-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.profile-mini-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    border-radius: 15px;
}

/* Success States */
.profile-mini-card.liked .heart-btn {
    background: #10b981;
    transform: scale(1.2);
}

.profile-mini-card.liked .heart-btn i {
    animation: heartBeat 0.8s ease-in-out;
}

/* Platform Specific Enhancements */
.profile-mini-card[data-platform="swivydate"]:hover {
    border-color: #0ea5e9;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15);
}

.profile-mini-card[data-platform="bestdates"]:hover {
    border-color: #dc2626;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
}

.profile-mini-card[data-platform="profileharmony"]:hover {
    border-color: #059669;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
}

.profile-mini-card[data-platform="flirtsweetly"]:hover {
    border-color: #ff6b6b;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.15);
}

.profile-mini-card[data-platform="yeshotties"]:hover {
    border-color: #8b5cf6;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

/* Mobile Enhancements */
@media (max-width: 768px) {
    .profiles-sidebar.mobile .profiles-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }
    
    .profile-mini-card {
        margin-bottom: 0;
    }
    
    .profile-info h4 {
        font-size: 14px;
    }
    
    .profile-info .location,
    .profile-info .profession {
        font-size: 11px;
    }
    
    .profile-image img {
        height: 100px;
    }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .profiles-sidebar.desktop .sidebar-content {
        width: 280px;
    }
}

/* Large Screen Enhancements */
@media (min-width: 1400px) {
    .profiles-sidebar.desktop .sidebar-content {
        width: 360px;
    }
    
    .profile-mini-card {
        padding: 15px;
    }
    
    .profile-image img {
        height: 140px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .sidebar-content {
        background: #1a202c;
        color: #e2e8f0;
    }
    
    .sidebar-header {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        border-bottom-color: #4a5568;
    }
    
    .sidebar-header h3 {
        color: #e2e8f0;
    }
    
    .profile-mini-card {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .profile-mini-card:hover {
        border-color: #667eea;
        background: #374151;
    }
    
    .sidebar-footer {
        background: #2d3748;
        border-top-color: #4a5568;
    }
}

/* Print Styles */
@media print {
    .profiles-sidebar {
        display: none !important;
    }
}

/* Accessibility Enhancements */
.profiles-sidebar button:focus,
.profiles-sidebar a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .profiles-sidebar,
    .profiles-sidebar * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .profile-mini-card {
        border: 2px solid #000;
    }
    
    .platform-badge {
        border: 1px solid #000;
    }
}