/* ===================================
   DASHBOARD LAYOUT - 3 COLUMN DESIGN
   =================================== */

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px;
}

/* Left Sidebar */
.dashboard-sidebar-left {
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
    display: block;
    visibility: visible;
    opacity: 1;
    z-index: 1;
}

.dashboard-sidebar-left::-webkit-scrollbar {
    width: 6px;
}

.dashboard-sidebar-left::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.dashboard-sidebar-left::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.dashboard-sidebar-left::-webkit-scrollbar-thumb:hover {
    background: #5568d3;
}

/* Center Feed */
.dashboard-feed {
    min-height: 100vh;
}

/* Right Sidebar */
.dashboard-sidebar-right {
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

.dashboard-sidebar-right::-webkit-scrollbar {
    width: 6px;
}

.dashboard-sidebar-right::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.dashboard-sidebar-right::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.dashboard-sidebar-right::-webkit-scrollbar-thumb:hover {
    background: #5568d3;
}

/* Responsive */
@media (max-width: 1200px) {
    .dashboard-layout {
        grid-template-columns: 240px 1fr 270px;
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dashboard-sidebar-left,
    .dashboard-sidebar-right {
        position: static;
    }
}

/* ===================================
   PROFILE CARD (Left Sidebar)
   =================================== */

.profile-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 12px;
    display: block;
    visibility: visible;
    opacity: 1;
}

.profile-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 15px 20px;
    position: relative;
}

/* Circular container for avatar */
.profile-avatar-circle {
    width: 100px;
    height: 100px;
    margin: 15px auto 20px;
    padding: 5px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-wrapper {
    width: 85px;
    height: 85px;
    position: relative;
    z-index: 1;
}

.profile-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    overflow: hidden;
}

.profile-avatar-placeholder {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e7ff 0%, #cfd9ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-avatar-placeholder i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 5px;
}

.profile-avatar-placeholder span {
    font-size: 0.65rem;
    color: #667eea;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.profile-avatar-placeholder:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.profile-avatar-placeholder:hover i,
.profile-avatar-placeholder:hover span {
    color: white;
}

.profile-avatar-upload {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    z-index: 2;
}

.profile-avatar-upload i {
    color: white;
    font-size: 0.8rem;
}

.profile-avatar-upload:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.6);
}

.profile-card-body {
    padding: 15px 12px;
    text-align: center;
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #1a202c;
    line-height: 1.2;
}

.profile-name i {
    font-size: 1rem;
    vertical-align: middle;
}

.profile-location {
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.profile-location i {
    color: #ef4444;
    margin-right: 4px;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Verification Status Badges */
.verification-badge-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
    color: #166534;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(22, 101, 52, 0.2);
}

.verification-badge-success i {
    font-size: 1.1rem;
}

.verification-badge-pending {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(146, 64, 14, 0.2);
    text-align: center;
}

.verification-badge-pending i {
    font-size: 1.1rem;
    margin-bottom: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* New Compact Status Badges */
.status-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin: 12px 0 16px 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transition: transform 0.2s ease;
}

.status-badge:hover {
    transform: translateY(-1px);
}

.status-badge i {
    font-size: 0.85rem;
}

.badge-premium-compact {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.badge-verified-compact {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.badge-pending-compact {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    animation: pulse-gentle 2s ease-in-out infinite;
}

@keyframes pulse-gentle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.stat-item {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================
   QUICK NAV (Left Sidebar)
   =================================== */

.quick-nav {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    display: block;
    visibility: visible;
    opacity: 1;
}

.quick-nav-item {
    display: flex !important;
    align-items: center;
    padding: 12px 16px;
    color: #2d3748 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 0.9rem;
}

.quick-nav-item:hover {
    background: #f7fafc;
    color: #667eea !important;
    border-left-color: #667eea;
    text-decoration: none;
}

.quick-nav-item.active {
    background: #edf2f7;
    color: #667eea !important;
    border-left-color: #667eea;
    font-weight: 600;
}

.quick-nav-item i {
    width: 24px;
    margin-right: 12px;
    font-size: 1.1rem;
    color: inherit !important;
}

.quick-nav-badge {
    margin-left: auto;
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===================================
   FEED CARD (Center Column)
   =================================== */

.feed-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-bottom: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feed-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feed-card-header {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.feed-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.feed-icon.matchmaker {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.feed-icon.blog {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.feed-icon.event {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.feed-icon.notification {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #667eea;
}

.feed-header-text {
    flex: 1;
}

.feed-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.feed-time {
    font-size: 0.8rem;
    color: #a0aec0;
    margin: 0;
}

.feed-card-body {
    padding: 15px;
}

.feed-card-body h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.feed-card-body p {
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.feed-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

.feed-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.feed-action-btn {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    font-size: 0.9rem;
    background: white;
    color: #4a5568;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feed-action-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.feed-action-btn i {
    margin-right: 5px;
}

/* ===================================
   MATCH RECOMMENDATION CARD
   =================================== */

.match-recommendation {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 20%, #ff8080 100%);
    border-radius: 12px;
    margin-bottom: 10px;
}

.match-recommendation-info {
    flex: 1;
}

.match-recommendation h6 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 6px;
}

.match-recommendation p {
    color: #4a5568;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.compatibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: white;
    color: #667eea;
    padding: 4px 10px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.8rem;
}

.match-note {
    background: white;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    border-left: 3px solid #667eea;
}

.match-note strong {
    color: #667eea;
    font-size: 0.85rem;
}

.match-note p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: #4a5568;
}

/* ===================================
   BLOG ARTICLE CARD
   =================================== */

.blog-article-card {
    cursor: pointer;
}

.blog-category {
    display: inline-block;
    padding: 4px 10px;
    background: #667eea;
    color: white;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    color: #a0aec0;
    font-size: 0.85rem;
}

.blog-meta i {
    margin-right: 5px;
}

/* ===================================
   WIDGET CARD (Right Sidebar)
   =================================== */

.widget-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 15px;
    margin-bottom: 12px;
    display: block;
    visibility: visible;
    opacity: 1;
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-item {
    padding: 12px;
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.widget-item:hover {
    background: #edf2f7;
    transform: translateX(3px);
}

.widget-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.widget-item-icon.pending {
    background: #fef3c7;
    color: #f59e0b;
}

.widget-item-icon.approved {
    background: #d1fae5;
    color: #10b981;
}

.widget-item-icon.event {
    background: #dbeafe;
    color: #3b82f6;
}

.widget-item-text {
    flex: 1;
}

.widget-item-title {
    font-weight: 600;
    color: #1a202c;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.widget-item-subtitle {
    font-size: 0.8rem;
    color: #718096;
}

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

.widget-cta h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.widget-cta p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.widget-cta .btn {
    background: white;
    color: #667eea;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 10px;
    border: none;
}

.widget-cta .btn:hover {
    background: #f7fafc;
    transform: scale(1.05);
}

/* ===================================
   WELCOME BANNER
   =================================== */

.welcome-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 14px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -40px;
    right: -40px;
}

.welcome-banner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.welcome-banner p {
    opacity: 0.9;
    margin: 0;
    font-size: 0.9rem;
}

/* ===================================
   EMPTY STATE
   =================================== */

.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    color: #e2e8f0;
    margin-bottom: 15px;
}

.empty-state h5 {
    color: #4a5568;
    margin-bottom: 10px;
}

.empty-state p {
    color: #a0aec0;
    margin-bottom: 20px;
}

/* ===================================
   LOADING STATE
   =================================== */

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 10px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 15px;
    margin-bottom: 10px;
}

.skeleton-title {
    height: 25px;
    width: 70%;
    margin-bottom: 15px;
}

.skeleton-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

/* ===================================
   INFINITE SCROLL INDICATORS
   =================================== */

.feed-loading {
    text-align: center;
    padding: 40px 20px;
}

.feed-loading .spinner-border {
    width: 3rem;
    height: 3rem;
}

.feed-end {
    margin-top: 20px;
}

/* Smooth fade-in animation for new feed items */
.feed-card {
    animation: fadeInUp 0.5s ease;
}

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

