:root {
    --primary-color: #4F46E5;
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --info-color: #3B82F6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #F9FAFB;
}

.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.card-header {
    border-bottom: 1px solid #E5E7EB;
    font-weight: 600;
}

.btn {
    border-radius: 0.375rem;
    font-weight: 500;
}

.badge {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
}

.list-group-item {
    border-left: none;
    border-right: none;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

.table th {
    font-weight: 600;
    color: #6B7280;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.display-4 {
    font-weight: 800;
}

/* Kanban Board Styles */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kanban-column {
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.kanban-column-header {
    padding: 1rem 1.25rem;
    border-bottom: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kanban-column-header.to-do {
    border-bottom-color: #E5E7EB;
}

.kanban-column-header.in-progress {
    border-bottom-color: #3B82F6;
}

.kanban-column-header.completed {
    border-bottom-color: #10B981;
}

.kanban-column-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.task-count {
    background: #F3F4F6;
    color: #6B7280;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.kanban-tasks {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
}

.kanban-task {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: grab;
    transition: all 0.2s ease;
}

.kanban-task:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.kanban-task.completed-task {
    opacity: 0.8;
}

.task-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.task-header h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1F2937;
    flex: 1;
}

.task-description {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.task-footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.task-footer small {
    color: #6B7280;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

@media (max-width: 1024px) {
    .kanban-board {
        grid-template-columns: 1fr;
    }
    
    .kanban-column {
        min-height: auto;
    }
}

/* Modern Navbar Styles */
.modern-navbar {
    background: #ffffff !important;
    padding: 0.75rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #E5E7EB;
}

.modern-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    color: #1F2937 !important;
}

.modern-brand:hover {
    background: #F9FAFB;
    transform: scale(1.02);
}

.modern-brand i {
    color: #4F46E5;
}

.modern-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    color: #6B7280 !important;
}

.modern-link:hover {
    background: #F3F4F6;
    color: #4F46E5 !important;
}

.modern-link i {
    font-size: 1.1rem;
}

.modern-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    background: #F9FAFB;
    transition: all 0.3s ease;
    color: #1F2937 !important;
}

.modern-user:hover {
    background: #F3F4F6;
}

.user-badge {
    background: #4F46E5;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.modern-dropdown {
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.modern-dropdown .dropdown-item {
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.modern-dropdown .dropdown-item:hover {
    background: #F3F4F6;
    padding-left: 1.5rem;
}

/* Financials Page Styles */
.stat-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.stat-icon.revenue {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.stat-icon.followers {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
}

.stat-icon.accounts {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

.revenue-list, .platform-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.revenue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 0.5rem;
    border-left: 4px solid #10B981;
    transition: all 0.2s ease;
}

.revenue-item:hover {
    background: #F3F4F6;
    transform: translateX(5px);
}

.revenue-info h6 {
    margin: 0;
    font-weight: 600;
    color: #1F2937;
}

.revenue-amount {
    text-align: right;
}

.revenue-amount strong {
    color: #10B981;
    font-size: 1.25rem;
}

.platform-item {
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.platform-item:hover {
    background: #F3F4F6;
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.platform-icon.instagram {
    background: linear-gradient(135deg, #E1306C, #C13584);
}

.platform-icon.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.platform-icon.tiktok {
    background: linear-gradient(135deg, #000000, #333333);
}

.platform-icon.youtube {
    background: linear-gradient(135deg, #FF0000, #cc0000);
}

.platform-progress {
    margin-top: 0.5rem;
}

.summary-stat {
    padding: 1.5rem;
    border-right: 1px solid #E5E7EB;
}

.summary-stat:last-child {
    border-right: none;
}

.summary-stat h3 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .summary-stat {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
        margin-bottom: 1rem;
    }
    
    .summary-stat:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
}

/* Modern Task List Styles */
.task-list-modern {
    display: flex;
    flex-direction: column;
}

.task-item-modern {
    display: flex;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #F3F4F6;
    transition: all 0.2s ease;
    background: white;
}

.task-item-modern:last-child {
    border-bottom: none;
}

.task-item-modern:hover {
    background: #F9FAFB;
}

.task-status-indicator {
    width: 4px;
    min-width: 4px;
    margin-right: 1rem;
    border-radius: 2px;
    align-self: stretch;
}

.task-status-indicator.status-completed {
    background: #10B981;
}

.task-status-indicator.status-in-progress {
    background: #3B82F6;
}

.task-status-indicator.status-pending {
    background: #E5E7EB;
}

.task-content {
    flex: 1;
}

.task-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1F2937;
    line-height: 1.4;
}

.priority-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.priority-badge.priority-high {
    background: #FEE2E2;
    color: #DC2626;
}

.priority-badge.priority-medium {
    background: #FEF3C7;
    color: #D97706;
}

.priority-badge.priority-low {
    background: #DBEAFE;
    color: #2563EB;
}

.task-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.task-meta-item {
    font-size: 0.8125rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.task-meta-item i {
    font-size: 0.875rem;
}

.task-status-text {
    font-size: 0.8125rem;
    font-weight: 500;
}

.task-status-text.status-text-completed {
    color: #10B981;
}

.task-status-text.status-text-in_progress {
    color: #3B82F6;
}

.task-status-text.status-text-pending {
    color: #6B7280;
}

/* Modern Client List Styles */
.client-list-modern {
    display: flex;
    flex-direction: column;
}

.client-item-modern {
    display: flex;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #F3F4F6;
    transition: all 0.2s ease;
    background: white;
    gap: 1rem;
}

.client-item-modern:last-child {
    border-bottom: none;
}

.client-item-modern:hover {
    background: #F9FAFB;
}

.client-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    border-radius: 50%;
    color: #6B7280;
    font-size: 1.5rem;
}

.client-content {
    flex: 1;
}

.client-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1F2937;
    line-height: 1.4;
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: 1rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-badge.status-active {
    background: #D1FAE5;
    color: #059669;
}

.status-badge.status-inactive {
    background: #E5E7EB;
    color: #6B7280;
}


.client-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.client-meta-item {
    font-size: 0.8125rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.client-meta-item i {
    font-size: 0.875rem;
    color: #9CA3AF;
}

.task-description {
    font-size: 0.8125rem;
    color: #6B7280;
    line-height: 1.5;
}

/* Modern Account List Styles */
.account-list-modern {
    display: flex;
    flex-direction: column;
}

.account-item-modern {
    display: flex;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #F3F4F6;
    transition: all 0.2s ease;
    background: white;
    gap: 1rem;
    align-items: center;
}

.account-item-modern:last-child {
    border-bottom: none;
}

.account-item-modern:hover {
    background: #F9FAFB;
}

.account-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #6B7280, #4B5563);
    color: white;
    font-size: 1.25rem;
}

.account-icon.instagram {
    background: linear-gradient(135deg, #E1306C, #C13584);
}

.account-icon.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.account-icon.tiktok {
    background: linear-gradient(135deg, #000000, #333333);
}

.account-icon.youtube {
    background: linear-gradient(135deg, #FF0000, #cc0000);
}

.account-content {
    flex: 1;
}

.account-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1F2937;
    line-height: 1.4;
}

.account-handle {
    font-size: 0.8125rem;
    color: #6B7280;
}

.account-stats {
    text-align: right;
}

.followers-count {
    font-size: 1rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.2;
}

.followers-label {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Calendar Styles */
.calendar-container {
    overflow-x: auto;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table thead th {
    background: #F9FAFB;
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.8125rem;
    color: #4B5563;
    border: 1px solid #E5E7EB;
}

.calendar-day {
    border: 1px solid #E5E7EB;
    padding: 0.5rem;
    vertical-align: top;
    height: 100px;
    min-width: 100px;
    background: white;
}

.calendar-day.other-month {
    background: #F9FAFB;
    opacity: 0.5;
}

.calendar-day.today {
    background: #EFF6FF;
    border-color: #3B82F6;
}

.day-number {
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.calendar-day.today .day-number {
    color: #3B82F6;
}

.day-tasks {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.task-pill {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.task-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.task-pill.priority-high {
    background: #FEE2E2;
    color: #991B1B;
    border-left: 3px solid #DC2626;
}

.task-pill.priority-medium {
    background: #FEF3C7;
    color: #92400E;
    border-left: 3px solid #F59E0B;
}

.task-pill.priority-low {
    background: #DBEAFE;
    color: #1E40AF;
    border-left: 3px solid #3B82F6;
}

.task-pill-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
