/* ============================================
   İnfluencer360 Portal Styles
   Version: 1.0.0
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f8f9fa;
}

/* ============================================
   LAYOUT
   ============================================ */
.portal-wrapper {
    display: flex;
    min-height: 100vh;
}

.portal-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.portal-content {
    flex: 1;
    padding: 25px;
}

/* ============================================
   SIDEBAR
   ============================================ */
.portal-sidebar {
    width: 260px;
    background: #1a1a2e;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1050;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.portal-sidebar-header {
    padding: 20px;
    background: #16162a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portal-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-sidebar-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.portal-sidebar-brand-name {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #E91E63 0%, #FF6B9D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portal-sidebar-brand-subtitle {
    font-size: 10px;
    color: #8e8ea7;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}

.portal-sidebar-close {
    background: none;
    border: none;
    color: #8e8ea7;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.portal-sidebar-nav {
    flex: 1;
    padding: 15px 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.portal-sidebar-nav::-webkit-scrollbar { width: 5px; }
.portal-sidebar-nav::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.portal-sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }

.portal-menu-section { margin-bottom: 20px; }

.portal-menu-title {
    font-size: 10px;
    font-weight: 700;
    color: #8e8ea7;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 20px 8px;
}

.portal-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portal-menu-link {
    display: flex;
    align-items: center;
    padding: 11px 20px;
    color: #b8b8d1;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.portal-menu-link i {
    width: 20px;
    text-align: center;
    margin-right: 12px;
    font-size: 15px;
}

.portal-menu-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.portal-menu-link.active {
    color: #fff;
    background: rgba(233, 30, 99, 0.15);
    border-left-color: #E91E63;
}

.portal-menu-link.active i {
    color: #E91E63;
}

.portal-sidebar-footer {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.portal-logout-link:hover {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1);
}

.portal-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.portal-sidebar-overlay.show { display: block; }

/* ============================================
   TOPBAR
   ============================================ */
.portal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.portal-topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.portal-hamburger {
    background: none;
    border: none;
    font-size: 20px;
    color: #1f2937;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-hamburger:hover { background: #f3f4f6; }

.portal-page-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.portal-topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.portal-topbar-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 18px;
}

.portal-topbar-icon:hover {
    background: #f3f4f6;
    color: #E91E63;
}

.portal-notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #E91E63;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.portal-topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px;
}

.portal-topbar-user:hover { border-color: #E91E63; }
.portal-topbar-user::after { display: none; }

.portal-topbar-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.portal-topbar-username {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
}

.portal-dropdown {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 8px;
}

.portal-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 14px;
}

.portal-dropdown .dropdown-item:hover { background: #f3f4f6; }

/* ============================================
   ALERTS
   ============================================ */
.portal-alert {
    margin: 0 0 20px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 14px;
}

/* ============================================
   CARDS
   ============================================ */
.portal-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.portal-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portal-card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.portal-card-body { padding: 24px; }

/* Stat Cards */
.portal-stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.portal-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.portal-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.portal-stat-info h4 {
    font-size: 24px;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
}

.portal-stat-info p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    font-weight: 600;
}

/* ============================================
   BADGES
   ============================================ */
.portal-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.portal-badge-success { background: #d1fae5; color: #065f46; }
.portal-badge-danger { background: #fee2e2; color: #991b1b; }
.portal-badge-warning { background: #fef3c7; color: #92400e; }
.portal-badge-info { background: #dbeafe; color: #1e40af; }
.portal-badge-secondary { background: #f3f4f6; color: #4b5563; }
.portal-badge-primary { background: #fce4ec; color: #c2185b; }

/* ============================================
   BUTTONS
   ============================================ */
.portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    min-height: 44px;
}

.portal-btn-primary {
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: #fff;
}

.portal-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
    color: #fff;
}

.portal-btn-outline {
    background: #fff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

.portal-btn-outline:hover {
    border-color: #E91E63;
    color: #E91E63;
}

.portal-btn-sm {
    padding: 6px 14px;
    font-size: 13px;
    min-height: 36px;
    border-radius: 8px;
}

/* ============================================
   TABLES
   ============================================ */
.portal-table {
    width: 100%;
    border-collapse: collapse;
}

.portal-table th {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 2px solid #f3f4f6;
    text-align: left;
}

.portal-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: #1f2937;
    vertical-align: middle;
}

.portal-table tr:hover td { background: #fafafa; }

/* ============================================
   EMPTY STATE
   ============================================ */
.portal-empty-state {
    text-align: center;
    padding: 50px 20px;
}

.portal-empty-state i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.portal-empty-state h4 {
    font-size: 18px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 8px;
}

.portal-empty-state p {
    font-size: 14px;
    color: #9ca3af;
}

/* ============================================
   PLATFORM COLORS
   ============================================ */
.platform-instagram { color: #E1306C; }
.platform-tiktok { color: #000000; }
.platform-youtube { color: #FF0000; }
.platform-twitch { color: #9146FF; }
.platform-kick { color: #53FC18; }

.platform-bg-instagram { background: rgba(225, 48, 108, 0.1); }
.platform-bg-tiktok { background: rgba(0, 0, 0, 0.08); }
.platform-bg-youtube { background: rgba(255, 0, 0, 0.1); }
.platform-bg-twitch { background: rgba(145, 70, 255, 0.1); }
.platform-bg-kick { background: rgba(83, 252, 24, 0.1); }

/* ============================================
   AUTH PAGES
   ============================================ */
.portal-auth-body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16162a 50%, #0f0f1a 100%);
    min-height: 100vh;
}

.portal-auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.portal-auth-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.portal-auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.portal-auth-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
}

.portal-auth-title {
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 6px;
}

.portal-auth-subtitle {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.portal-auth-card .form-control {
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    min-height: 48px;
}

.portal-auth-card .form-control:focus {
    border-color: #E91E63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.portal-auth-card .form-label {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
}

.portal-auth-card .btn-primary {
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    font-size: 15px;
    min-height: 48px;
    width: 100%;
}

.portal-auth-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

/* ============================================
   FORMS
   ============================================ */
.portal-form .form-control,
.portal-form .form-select {
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    min-height: 44px;
}

.portal-form .form-control:focus,
.portal-form .form-select:focus {
    border-color: #E91E63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.portal-form .form-label {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .portal-sidebar {
        transform: translateX(-100%);
    }
    .portal-sidebar.show {
        transform: translateX(0);
    }
    .portal-main {
        margin-left: 0;
    }
    .portal-content {
        padding: 15px;
    }
}

/* Desktop: Sidebar her zaman görünür, overlay gizli */
@media (min-width: 992px) {
    .portal-sidebar {
        transform: translateX(0) !important;
    }
    .portal-sidebar-overlay {
        display: none !important;
    }
    .portal-sidebar-close {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .portal-page-title {
        font-size: 16px;
    }
    .portal-stat-card {
        padding: 16px;
    }
    .portal-stat-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    .portal-stat-info h4 {
        font-size: 20px;
    }
    .portal-card-body {
        padding: 16px;
    }
    .portal-auth-card {
        padding: 30px 24px;
    }
}

@media (max-width: 575.98px) {
    .portal-topbar {
        padding: 12px 15px;
    }
    .portal-content {
        padding: 12px;
    }
}

/* ============================================
   UTILITY
   ============================================ */
.portal-text-muted { color: #6b7280; }
.portal-text-sm { font-size: 13px; }
.portal-fw-600 { font-weight: 600; }
.portal-fw-700 { font-weight: 700; }
.portal-gradient-text {
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   DASHBOARD
   ============================================ */

/* Welcome Section */
.portal-welcome-section {
    padding: 24px 28px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 100%);
    border-radius: 16px;
    color: #fff;
}

.portal-welcome-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #fff;
}

.portal-welcome-subtitle {
    font-size: 14px;
    color: #b8b8d1 !important;
}

.portal-welcome-section .text-muted {
    color: #b8b8d1 !important;
    font-size: 13px;
    font-weight: 600;
}

/* Summary Cards */
.portal-summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    height: 100%;
}

.portal-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.portal-summary-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.portal-summary-count {
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.2;
}

.portal-summary-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

/* Summary card color variants */
.portal-summary-calendar .portal-summary-icon { background: #fce4ec; color: #E91E63; }
.portal-summary-recommendations .portal-summary-icon { background: #fff3e0; color: #f57c00; }
.portal-summary-strategies .portal-summary-icon { background: #e8eaf6; color: #3f51b5; }
.portal-summary-briefs .portal-summary-icon { background: #e0f2f1; color: #00897b; }
.portal-summary-campaigns .portal-summary-icon { background: #fce4ec; color: #c2185b; }
.portal-summary-tasks .portal-summary-icon { background: #f3e5f5; color: #8e24aa; }
.portal-summary-meetings .portal-summary-icon { background: #e3f2fd; color: #1976d2; }
.portal-summary-support .portal-summary-icon { background: #e8f5e9; color: #388e3c; }

/* Card Header Link */
.portal-card-link {
    font-size: 13px;
    font-weight: 600;
    color: #E91E63;
    text-decoration: none;
    transition: color 0.2s;
}

.portal-card-link:hover { color: #c2185b; }

.portal-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* List Items */
.portal-list { display: flex; flex-direction: column; }

.portal-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: inherit;
}

.portal-list-item:last-child { border-bottom: none; }

.portal-list-item-link { transition: background 0.2s; border-radius: 10px; padding: 14px 12px; margin: 0 -12px; }
.portal-list-item-link:hover { background: #f9fafb; color: inherit; text-decoration: none; }

.portal-notification-unread { background: #fef2f2; }
.portal-notification-unread:hover { background: #fee2e2; }

.portal-list-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.portal-list-icon-sm {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    background: #f3f4f6;
}

.portal-list-content { flex: 1; min-width: 0; }

.portal-list-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-list-meta {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    margin-top: 2px;
}

.portal-list-badge { flex-shrink: 0; }

/* Recommendation Cards */
.portal-recommendation-card {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 18px;
    height: 100%;
    transition: all 0.2s;
}

.portal-recommendation-card:hover {
    border-color: #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.portal-recommendation-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.portal-recommendation-type {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    background: #e5e7eb;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}

.portal-recommendation-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* Dashboard responsive */
@media (max-width: 767.98px) {
    .portal-welcome-section { padding: 18px 20px; }
    .portal-welcome-title { font-size: 18px; }
    .portal-summary-card { padding: 14px 16px; gap: 10px; }
    .portal-summary-icon { width: 40px; height: 40px; font-size: 16px; }
    .portal-summary-count { font-size: 18px; }
    .portal-summary-label { font-size: 11px; }
    .portal-list-icon { width: 36px; height: 36px; font-size: 14px; }
}

/* ============================================
   PROFILE
   ============================================ */
.portal-profile-avatar-lg {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.portal-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portal-profile-initials {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
}

.portal-profile-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.portal-profile-stat:last-child { border-bottom: none; }

.portal-profile-stat-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

.portal-profile-stat-value {
    font-size: 14px;
    color: #1f2937;
    font-weight: 700;
}

/* ============================================
   NOTIFICATION DROPDOWN (Header)
   ============================================ */
.portal-notification-wrapper {
    position: relative;
}

.portal-notification-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    z-index: 1060;
    overflow: hidden;
    animation: notifDropdownIn 0.2s ease;
}

.portal-notification-dropdown.show {
    display: block;
}

@keyframes notifDropdownIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.portal-notif-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.portal-notif-dropdown-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.portal-notif-dropdown-count {
    font-size: 12px;
    font-weight: 700;
    background: #fce4ec;
    color: #E91E63;
    padding: 2px 10px;
    border-radius: 20px;
}

.portal-notif-dropdown-body {
    max-height: 360px;
    overflow-y: auto;
}

.portal-notif-dropdown-body::-webkit-scrollbar { width: 4px; }
.portal-notif-dropdown-body::-webkit-scrollbar-track { background: transparent; }
.portal-notif-dropdown-body::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 4px; }

.portal-notif-dropdown-loading {
    padding: 30px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

.portal-notif-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f9fafb;
    transition: background 0.15s;
}

.portal-notif-dropdown-item:hover {
    background: #f9fafb;
    color: inherit;
    text-decoration: none;
}

.portal-notif-dropdown-item.unread {
    background: #f0f9ff;
}

.portal-notif-dropdown-item.unread:hover {
    background: #e0f2fe;
}

.portal-notif-dropdown-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.portal-notif-dropdown-item-content {
    flex: 1;
    min-width: 0;
}

.portal-notif-dropdown-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portal-notif-dropdown-item-msg {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portal-notif-dropdown-item-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 3px;
}

.portal-notif-dropdown-empty {
    padding: 30px 20px;
    text-align: center;
}

.portal-notif-dropdown-empty i {
    font-size: 32px;
    color: #d1d5db;
    margin-bottom: 8px;
}

.portal-notif-dropdown-empty p {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

.portal-notif-dropdown-footer {
    border-top: 1px solid #f3f4f6;
    padding: 12px 20px;
    text-align: center;
}

.portal-notif-dropdown-viewall {
    font-size: 13px;
    font-weight: 700;
    color: #E91E63;
    text-decoration: none;
    transition: color 0.2s;
}

.portal-notif-dropdown-viewall:hover {
    color: #c2185b;
}

/* ============================================
   NOTIFICATIONS PAGE
   ============================================ */
.portal-notif-group-header {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 4px 10px;
    display: flex;
    align-items: center;
}

.portal-notif-group-count {
    font-size: 11px;
    font-weight: 700;
    background: #f3f4f6;
    color: #6b7280;
    padding: 1px 8px;
    border-radius: 20px;
    margin-left: 8px;
}

.portal-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.15s ease;
}

.portal-notif-item:last-child { border-bottom: none; }

.portal-notif-item:hover {
    background: #f9fafb;
    color: inherit;
    text-decoration: none;
}

.portal-notif-unread {
    background: #f0f9ff;
    border-left: 3px solid #3b82f6;
}

.portal-notif-unread:hover {
    background: #e0f2fe;
}

.portal-notif-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.portal-notif-content {
    flex: 1;
    min-width: 0;
}

.portal-notif-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.portal-notif-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.portal-notif-new-badge {
    font-size: 10px;
    font-weight: 700;
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
    flex-shrink: 0;
}

.portal-notif-message {
    font-size: 13px;
    color: #6b7280;
    margin: 4px 0 0;
    line-height: 1.5;
}

.portal-notif-time {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    margin-top: 6px;
    display: inline-block;
}

.portal-notif-arrow {
    flex-shrink: 0;
    color: #d1d5db;
    font-size: 12px;
    margin-top: 4px;
    transition: color 0.15s;
}

.portal-notif-item:hover .portal-notif-arrow {
    color: #E91E63;
}

/* Notification dropdown responsive */
@media (max-width: 575.98px) {
    .portal-notification-dropdown {
        width: calc(100vw - 24px);
        right: -60px;
    }
    .portal-notif-dropdown-body {
        max-height: 300px;
    }
}

@media (max-width: 767.98px) {
    .portal-notif-item {
        padding: 12px 16px;
        gap: 10px;
    }
    .portal-notif-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .portal-notif-title {
        font-size: 13px;
    }
    .portal-notif-arrow {
        display: none;
    }
}

/* ============================================
   PERFORMANCE MODULE
   ============================================ */

/* Social Media Platform Cards */
.perf-social-card {
    background: var(--platform-bg, #f3f4f6);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}
.perf-social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.perf-social-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--platform-color, #6B7280);
    border-radius: 16px 16px 0 0;
}
.perf-social-icon {
    font-size: 28px;
    color: var(--platform-color, #6B7280);
    margin-bottom: 10px;
}
.perf-social-count {
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.2;
}
.perf-social-label {
    font-size: 12px;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.perf-social-username {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mini Stat Cards */
.perf-mini-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.perf-mini-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    font-size: 16px;
    flex-shrink: 0;
}
.perf-mini-value {
    font-size: 18px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.2;
}
.perf-mini-label {
    font-size: 11px;
    color: #6B7280;
    font-weight: 600;
}

/* KPI Cards */
.perf-kpi-card {
    padding: 16px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.15s ease;
}
.perf-kpi-card:hover {
    transform: translateY(-2px);
}
.perf-kpi-value {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}
.perf-kpi-label {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

/* KPI Color Variants */
.perf-kpi-primary {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1e40af;
}
.perf-kpi-primary .perf-kpi-label { color: #3b82f6; }

.perf-kpi-success {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #166534;
}
.perf-kpi-success .perf-kpi-label { color: #22c55e; }

.perf-kpi-warning {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    color: #92400e;
}
.perf-kpi-warning .perf-kpi-label { color: #f59e0b; }

.perf-kpi-info {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0c4a6e;
}
.perf-kpi-info .perf-kpi-label { color: #0ea5e9; }

.perf-kpi-danger {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #991b1b;
}
.perf-kpi-danger .perf-kpi-label { color: #ef4444; }

/* Earnings Cards */
.perf-earnings-card {
    padding: 20px 16px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}
.perf-earnings-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.perf-earnings-icon {
    font-size: 24px;
    margin-bottom: 10px;
    opacity: 0.7;
}
.perf-earnings-value {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}
.perf-earnings-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}
.perf-earnings-sub {
    font-size: 11px;
    margin-top: 6px;
    opacity: 0.7;
}

/* Earnings Color Variants */
.perf-earnings-total {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    border: 1px solid #bbf7d0;
}
.perf-earnings-month {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.perf-earnings-pending {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #92400e;
    border: 1px solid #fde68a;
}
.perf-earnings-overdue {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Completion Rate Cards */
.perf-completion-card {
    padding: 16px;
    background: #f9fafb;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}
.perf-progress {
    height: 10px;
    border-radius: 5px;
    background: #e5e7eb;
}
.perf-progress .progress-bar {
    border-radius: 5px;
    transition: width 0.6s ease;
}

/* Responsive Performance */
@media (max-width: 767.98px) {
    .perf-social-count {
        font-size: 18px;
    }
    .perf-social-icon {
        font-size: 22px;
    }
    .perf-kpi-value {
        font-size: 18px;
    }
    .perf-earnings-value {
        font-size: 16px;
    }
    .perf-earnings-card {
        padding: 14px 12px;
    }
    .perf-mini-stat {
        padding: 10px 12px;
    }
    .perf-mini-value {
        font-size: 15px;
    }
}

@media (max-width: 575.98px) {
    .perf-social-card {
        padding: 14px 10px;
    }
    .perf-social-count {
        font-size: 16px;
    }
    .perf-social-label {
        font-size: 10px;
    }
    .perf-earnings-label {
        font-size: 10px;
    }
}
