* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #52b3eb;
    --secondary: #52b3eb;
    --accent: #52b3eb;
    --primary-rgb: 82, 179, 235;
    --secondary-rgb: 82, 179, 235;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Blue Theme */
[data-theme="blue"] {
    --primary: #1976d2;
    --secondary: #0d47a1;
    --accent: #2196f3;
    --primary-rgb: 25, 118, 210;
    --secondary-rgb: 13, 71, 161;
}

/* Green Theme */
[data-theme="green"] {
    --primary: #388e3c;
    --secondary: #2e7d32;
    --accent: #4caf50;
    --primary-rgb: 56, 142, 60;
    --secondary-rgb: 46, 125, 50;
}

/* Purple Theme */
[data-theme="purple"] {
    --primary: #52b3eb;
    --secondary: #52b3eb;
    --accent: #52b3eb;
    --primary-rgb: 123, 31, 162;
    --secondary-rgb: 106, 27, 154;
}

/* Monochrome Theme */
[data-theme="mono"] {
    --primary: #424242;
    --secondary: #212121;
    --accent: #616161;
    --primary-rgb: 66, 66, 66;
    --secondary-rgb: 33, 33, 33;
}

/* Light/Dark Mode Variables with High Contrast */
:root {
    --success: #2e7d32;
    --warning: #f57c00;
    --error: #d32f2f;
    --info: #1976d2;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-light: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
}

[data-mode="dark"] {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-card: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --border-color: #404040;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --gradient-light: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--secondary-rgb), 0.15));
}

/* Enhanced Sidebar with ARIA */
.dash-sidebar {
    border-right: 1px solid var(--border-color);
    padding: 0.4rem 0;
    top: 160px;
    transition: all 0.3s ease;
    z-index: 1;
}

.dash-nav-menu {
    list-style: none;
    padding: 0 15px 0 0;
}

.dash-nav-item {
    margin-bottom: 0.5rem;
}

.dash-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dash-nav-link:hover,
.dash-nav-link.dash-active {
    background: linear-gradient(80deg, rgba(192, 215, 237, 1) 50%, rgba(123, 180, 237, 1) 100%);
    color: #fff;
    transform: translateX(5px);
}

.dash-nav-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dash-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dash-nav-link.dash-active::before {
    transform: scaleY(1);
}

.dash-nav-icon {
    margin-right: 1rem;
    font-size: 1.dash-2rem;
}

/* Enhanced Header - Full Width */
.dash-header {
    background: var(--bg-card);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100vw;
    margin-left: -280px;
    padding-left: calc(280px + 2rem);
}

.dash-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.dash-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Selector */
.dash-theme-selector {
    position: relative;
}

.dash-theme-toggle {
    background: var(--gradient);
    border: none;
    padding: 0.dash-75rem;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.dash-3s ease;
    font-size: 1.dash-1rem;
}

.dash-theme-toggle:hover {
    transform: scale(1.dash-1);
    box-shadow: var(--shadow-lg);
}

.dash-theme-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dash-theme-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.dash-3s ease;
    z-index: 1000;
}

.dash-theme-dropdown.dash-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dash-theme-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.dash-5rem;
    margin-bottom: 1rem;
}

.dash-theme-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.dash-3s ease;
    position: relative;
}

.dash-theme-option:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dash-theme-option.dash-active {
    border-color: var(--primary);
    transform: scale(1.dash-1);
}

.dash-theme-option.dash-pink {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
}

.dash-theme-option.dash-blue {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
}

.dash-theme-option.dash-green {
    background: linear-gradient(135deg, #388e3c, #2e7d32);
}

.dash-theme-option.dash-purple {
    background: linear-gradient(135deg, #7b1fa2, #6a1b9a);
}

.dash-theme-option.dash-mono {
    background: linear-gradient(135deg, #424242, #212121);
}

.dash-mode-toggle {
    display: flex;
    background: var(--bg-secondary);
    border-radius: 25px;
    padding: 0.dash-25rem;
}

.dash-mode-btn {
    padding: 0.dash-5rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dash-mode-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dash-mode-btn.dash-active {
    background: var(--gradient);
    color: white;
}

.dash-user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dash-user-profile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.dash-user-profile:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dash-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.dash-user-info h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.dash-user-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Mode Tabs */
.dash-mode-tabs {
    display: flex;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 0 2rem;
    gap: 2rem;
}

.dash-mode-tab {
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-mode-tab:hover {
    color: var(--primary);
}

.dash-mode-tab:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dash-mode-tab.dash-active {
    color: var(--primary);
}

.dash-mode-tab.dash-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px 3px 0 0;
}

/* Dashboard Content */

.dash-mode-content.dash-active {
    display: block;
}

/* Welcome Section */
.dash-welcome-section {
    background: var(--gradient);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.dash-welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.dash-welcome-content {
    position: relative;
    z-index: 2;
}

.dash-welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dash-welcome-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.dash-welcome-time {
    font-size: 1rem;
    opacity: 0.8;
}

/* Widget Grid */
.dash-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.dash-widget {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.dash-widget:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dash-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dash-widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-widget-icon {
    padding: 0.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    color: var(--primary);
}

/* Quick Actions */
.dash-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.dash-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.dash-action-btn:hover {
    transform: scale(1.05);
    background: var(--gradient);
    color: white;
}

.dash-action-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dash-action-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Team Spotlight */
.dash-team-member {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.dash-team-member:hover {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
}

.dash-member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 1rem;
}

.dash-member-info h4 {
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.dash-member-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Events List */
.dash-event-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-left: 4px solid var(--primary);
    background: var(--bg-secondary);
    border-radius: 0 12px 12px 0;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.dash-event-item:hover {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    transform: translateX(5px);
}

.dash-event-date {
    background: var(--gradient);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    margin-right: 1rem;
    min-width: 60px;
}

.dash-event-date .dash-day {
    font-size: 1.2rem;
    font-weight: 600;
}

.dash-event-date .dash-month {
    font-size: 0.8rem;
}

.dash-event-info h4 {
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.dash-event-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Stats Cards */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dash-stat-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.dash-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.dash-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dash-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dash-stat-icon {
    padding: 0.75rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    color: var(--primary);
    font-size: 1.5rem;
}

.dash-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.dash-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.dash-stat-change {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.dash-stat-change.dash-positive {
    background: rgba(46, 125, 50, 0.1);
    color: var(--success);
}

.dash-stat-change.dash-negative {
    background: rgba(211, 47, 47, 0.1);
    color: var(--error);
}

/* Launch Pad */
.dash-launch-pad {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.dash-launch-pad-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dash-launch-pad-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.dash-launch-pad-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.dash-launch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dash-launch-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.-5rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dash-launch-item:hover {
    transform: translateY(-5px);
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-lg);
}

.dash-launch-item:focus {
    outline: none;
    border-color: var(--primary);
}

.dash-launch-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dash-launch-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dash-launch-description {
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
}

/* Focus Section */
.dash-focus-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.dash-focus-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dash-focus-question {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.dash-focus-input {
    width: 100%;
    max-width: 500px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0 auto;
    display: block;
    transition: all 0.3s ease;
}

.dash-focus-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

/* Pomodoro Timer */
.dash-pomodoro-timer {
    text-align: center;
    margin: 2rem 0;
}

.dash-timer-display {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.dash-timer-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.dash-timer-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.dash-timer-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dash-timer-btn.dash-primary {
    background: var(--gradient);
    color: white;
}

.dash-timer-btn.dash-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.dash-timer-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.dash-timer-modes {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.dash-timer-mode {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dash-timer-mode:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dash-timer-mode.dash-active {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    color: var(--primary);
}

.dash-timer-custom {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.dash-timer-input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-align: center;
    font-size: 1rem;
}

.dash-timer-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.dash-header .dash-brand-title {
    color: green;
}

/* Responsive Kanban Board with Drag & Drop */
.dash-kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .dash-kanban-board {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dash-kanban-board {
        grid-template-columns: 1fr;
    }
}

.dash-kanban-column {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    min-height: 400px;
}

.dash-kanban-column.dash-drag-over {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    border-color: var(--primary);
    transform: scale(1.02);
}

.dash-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dash-column-title {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-column-count {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.dash-task-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    cursor: grab;
    transition: all 0.3s ease;
    user-select: none;
}

.dash-task-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.dash-task-card:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dash-task-card.dash-dragging {
    opacity: 0.5;
    transform: rotate(5deg);
    cursor: grabbing;
    z-index: 1000;
}

.dash-task-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dash-task-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.dash-task-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.dash-task-priority {
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.dash-priority-high {
    background: rgba(211, 47, 47, 0.1);
    color: var(--error);
}

.dash-priority-medium {
    background: rgba(245, 124, 0, 0.1);
    color: var(--warning);
}

.dash-priority-low {
    background: rgba(46, 125, 50, 0.1);
    color: var(--success);
}

.dash-add-task-btn {
    width: 100%;
    padding: 1rem;
    border: 2px dashed var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.dash-add-task-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
}

.dash-add-task-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Learning Mode Styles */
.dash-learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.dash-resource-category {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.dash-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dash-category-icon {
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    color: var(--primary);
    font-size: 1.5rem;
}

.dash-category-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.dash-resource-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.dash-resource-item:hover {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    transform: translateX(5px);
}

.dash-resource-item:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dash-resource-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.dash-resource-info h4 {
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.dash-resource-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Play Mode Styles */
.dash-play-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.dash-play-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.dash-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.dash-section-icon {
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    color: var(--primary);
    font-size: 1.5rem;
}

.dash-section-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.dash-play-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.dash-play-widget {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.dash-play-widget:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dash-play-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.dash-play-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dash-play-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.dash-play-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.dash-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.dash-play-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Workout Tracking */
.dash-workout-tracker {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}

.dash-workout-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.dash-workout-stat {
    text-align: center;
}

.dash-workout-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.dash-workout-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.dash-workout-routine {
    text-align: left;
}

.dash-exercise-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.dash-exercise-name {
    font-weight: 600;
}

.dash-exercise-duration {
    color: var(--primary);
    font-weight: 600;
}

.dash-workout-complete-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--success);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.dash-workout-complete-btn:hover {
    background: #2e7d32;
}

.dash-workout-complete-btn:focus {
    outline: 2px solid var(--success);
    outline-offset: 2px;
}

.dash-workout-complete-btn.dash-completed {
    background: var(--text-secondary);
    cursor: not-allowed;
}

/* Enhanced Notification System */
.dash-notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 90vw;
    width: 400px;
}

.dash-notification {
    background: var(--gradient);
    color: white;
    padding: 1rem 1.dash-5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    animation: slideInDown 0.3s ease;
    font-weight: 500;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.dash-notification.dash-success {
    background: linear-gradient(135deg, var(--success), #2e7d32);
}

.dash-notification.dash-warning {
    background: linear-gradient(135deg, var(--warning), #f57c00);
}

.dash-notification.dash-error {
    background: linear-gradient(135deg, var(--error), #d32f2f);
}

.dash-notification.dash-info {
    background: linear-gradient(135deg, var(--info), #1976d2);
}

.dash-notification-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.dash-notification-close:hover {
    opacity: 1;
}

.dash-nav-item a .dash-notification-badge {
    top: 15px;
    left: 0
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.dash-resource-category {
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 0.5rem;
}

.dash-category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.dash-category-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.dash-resource-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.3rem;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.dash-resource-item:hover {
    background: var(--hover-bg);
}

.dash-resource-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.dash-add-resource {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    margin-top: 1rem;
    border: 2px dashed var(--border);
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-secondary);
    transition: background 0.2s, border-color 0.2s;
}

.dash-add-resource:hover {
    background: var(--hover-bg);
    border-color: var(--accent);
    color: var(--text-primary);
}

.dash-add-icon {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

/* Messages Widget Enhancement */
.dash-messages-widget {
    max-height: 400px;
    overflow-y: auto;
}

.dash-message-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dash-message-item:hover {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
}

.dash-message-item.dash-unread {
    border-left: 4px solid var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.dash-message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.dash-message-content {
    flex: 1;
}

.dash-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.dash-message-sender {
    font-weight: 600;
    font-size: 0.9rem;
}

.dash-message-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.dash-message-preview {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.dash-message-badge {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dash-widget-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .dash-launch-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .dash-sidebar {
        transform: translateX(-100%);
        width: 100%;
    }

    .dash-sidebar.dash-open {
        transform: translateX(0);
    }

    .dash-main-content {
        margin-left: 0;
    }

    .dash-header {
        padding: 1rem;
        margin-left: 0;
        padding-left: 1rem;
        width: 100vw;
    }

    .dash-search-bar {
        display: none;
    }

    .dash-mode-tabs {
        padding: 0 1rem;
        gap: 1rem;
        overflow-x: auto;
    }

    .dash-mode-tab {
        padding: 1rem;
        white-space: nowrap;
    }

    .dash-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .dash-learning-grid,
    .dash-play-grid {
        grid-template-columns: 1fr;
    }

    .dash-timer-display {
        font-size: 3rem;
    }

    .dash-welcome-title {
        font-size: 2rem;
    }

    .dash-widget-grid {
        grid-template-columns: 1fr;
    }

    .dash-quick-actions {
        grid-template-columns: 1fr;
    }

    .dash-launch-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .dash-timer-controls {
        flex-direction: column;
        align-items: center;
    }

    .dash-timer-modes {
        flex-direction: column;
        align-items: center;
    }

    .dash-timer-custom {
        flex-direction: column;
        align-items: center;
    }

    .dash-notification-container {
        width: 90vw;
        max-width: 350px;
    }
}

/* Animations */
.dash-fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dash-slide-in {
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Menu Toggle */
.dash-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

.dash-mobile-menu-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .dash-mobile-menu-toggle {
        display: block;
    }
}

/* Notification Badge */
.dash-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--error);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-secondary: #000000;
    }

    [data-mode="dark"] {
        --border-color: #ffffff;
        --text-secondary: #ffffff;
    }
}

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

/* Screen Reader Only */
.dash-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dash-header-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 2rem;
}

.dash-brand-title {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.dash-brand-subtitle {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0;
    margin-top: 0.2rem;
}

@media (max-width: 768px) {
    .dash-header-brand {
        display: none;
    }
}

.dash-header-brand {
    text-align: left;
    margin-left: -13rem;
}

.dash-brand-title {
    font-size: 4rem;
    margin: 0;
    line-height: 1.2;
}

.dash-brand-subtitle {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-secondary);
}

.dash-sidebar {
    width: 100%;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.dash-nav-menu {
    list-style: none;
    padding: 0 15px 0 0;
}

.dash-nav-item {
    margin-bottom: 0.5rem;
}



.dash-nav-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Arrow for expandable menu items */
.dash-nav-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.dash-nav-arrow.expanded {
    transform: rotate(90deg);
}

/* Submenu Styles */
.dash-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 8px;
    margin: 0.5rem 0 0 1rem;
    list-style: none;
}

.dash-submenu.expanded {
    max-height: 300px;
}

.dash-submenu-item {
    margin: 0;
}

.dash-submenu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.dash-submenu-link:hover,
.dash-submenu-link.dash-active {
    background: linear-gradient(80deg, rgba(192, 215, 237, 0.8) 50%, rgba(123, 180, 237, 0.8) 100%);
    color: #fff;
    transform: translateX(3px);
}

.dash-submenu-icon {
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.dash-notification-badge {
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.demo-info {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}


.submenu-badge {
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.5rem;
    font-weight: 600;
}

/* Enhanced DataTable Styling to Match Website Theme */

/* Main table container */
#datatable-buttons {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f4fd;
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Table header styling */
#datatable-buttons thead {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    color: white;
}

#datatable-buttons thead th {
    padding: 18px 16px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
}

#datatable-buttons thead th:first-child {
    border-top-left-radius: 12px;
}

#datatable-buttons thead th:last-child {
    border-top-right-radius: 12px;
}

/* Sortable column indicators */
#datatable-buttons thead th.sorting:before,
#datatable-buttons thead th.sorting:after {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

#datatable-buttons thead th.sorting:hover {
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Table body styling */
#datatable-buttons tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f8ff;
}

#datatable-buttons tbody tr:hover {
    background: linear-gradient(135deg, #f8fdff 0%, #e3f2fd 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(79, 195, 247, 0.15);
}

#datatable-buttons tbody tr:nth-child(even) {
    background: #fafcff;
}

#datatable-buttons tbody tr:nth-child(even):hover {
    background: linear-gradient(135deg, #f8fdff 0%, #e3f2fd 100%);
}

#datatable-buttons tbody td {
    padding: 16px;
    vertical-align: middle;
    border: none;
    font-size: 14px;
    color: #2c3e50;
}

/* Serial number column */
#datatable-buttons tbody td:first-child {
    font-weight: 600;
    color: #4fc3f7;
    background: rgba(79, 195, 247, 0.05);
    border-radius: 8px;
    margin: 4px;
    width: 40px;
    text-align: center;
}

/* Action buttons styling */
.btn-primary {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 0 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(79, 195, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.4);
    background: linear-gradient(135deg, #29b6f6 0%, #1976d2 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #ff5722 0%, #d32f2f 100%);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 0 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
}

/* Toggle switch styling */
.toggle {
    border-radius: 20px !important;
    border: 2px solid #4fc3f7 !important;
}

.toggle.btn-success {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%) !important;
    border-color: #4caf50 !important;
}

.toggle.btn-danger {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%) !important;
    border-color: #f44336 !important;
}

/* DataTable controls styling */
.dataTables_wrapper .dataTables_length select {
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    padding: 8px 12px;
    background: white;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_length select:focus {
    border-color: #4fc3f7;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
    outline: none;
}

.dataTables_wrapper .dataTables_filter input {
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    padding: 10px 16px;
    background: white;
    color: #2c3e50;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #4fc3f7;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
    outline: none;
}

/* Pagination styling */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    margin: 0 2px;
    padding: 8px 12px;
    background: white;
    color: #4fc3f7 !important;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #4fc3f7 !important;
    color: white !important;
    border-color: #4fc3f7;
    transform: translateY(-1px);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%) !important;
    color: white !important;
    border-color: #4fc3f7;
    box-shadow: 0 2px 8px rgba(79, 195, 247, 0.3);
}

/* Export buttons styling */
.dt-buttons .btn {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    margin: 0 4px 8px 0;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(79, 195, 247, 0.3);
}

.dt-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.4);
    background: linear-gradient(135deg, #29b6f6 0%, #1976d2 100%);
}

/* Info text styling */
.dataTables_wrapper .dataTables_info {
    color: #546e7a;
    font-weight: 500;
    padding: 12px 0;
}

/* No data message styling */
.dataTables_empty {
    padding: 40px !important;
    text-align: center;
    color: #90a4ae;
    font-style: italic;
    background: linear-gradient(135deg, #f8fdff 0%, #e3f2fd 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #datatable-buttons {
        font-size: 12px;
    }

    #datatable-buttons thead th,
    #datatable-buttons tbody td {
        padding: 12px 8px;
    }

    .btn-sm {
        padding: 6px 8px;
        font-size: 11px;
    }
}

/* Loading state */
.dataTables_processing {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid #4fc3f7 !important;
    border-radius: 12px !important;
    color: #4fc3f7 !important;
    font-weight: 600 !important;
    padding: 20px !important;
}

/* Custom scrollbar for table */
.dataTables_scrollBody::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.dataTables_scrollBody::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: #4fc3f7;
    border-radius: 4px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb:hover {
    background: #29b6f6;
}

.custom-badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background-color: #28a745;
    /* green */
    border-radius: 0.25rem;
    text-transform: capitalize;
    line-height: 1;
}

.custom-badge.secondary {
    background-color: #6c757d;
    /* grey */
}

.custom-badge.warning {
    background-color: #ffc107;
    /* yellow */
    color: #212529;
}

.custom-badge.danger {
    background-color: #dc3545;
    /* red */
}

.custom-badge.info {
    background-color: #17a2b8;
    /* teal */
}

/* CHAT SYSTEM */

.chat-container {
    border: 1px solid #0000001a;
}

.search-box .fa-search {
    z-index: 1;
}

.search-box .form-control::placeholder {
    font-size: 13px;
}

.chat-container {
    margin-bottom: 50px;
}

div#conversationsEmpty div {
    font-size: 12px;
}

.offer_muted_text div {
    font-size: 12px;
}

.chat-container {
    height: 100%;
    min-height: 55vh;
}

.conversation-item {
    cursor: pointer;
    border-radius: 12px;
    padding: 10px 10px;
    margin: 0;
}

.small.text-muted-custom {
    font-size: 12px;
    color: #3b82f6 !important;
    font-weight: 500;
}

.conversation-item .text-truncate {
    font-size: 12px;
}

.conversation-item {
    padding: 10px 10px !important;
    margin: 0 !important;
}

.chat-messages {
    font-size: 12px !important;
}

.chat-area .job-description {
    font-size: 13px !important;
}

/* Enhanced Proposal Accordion Styles - Refined Design */
.job-proposal-header {
    margin-bottom: 1.5rem;
}

.proposal-accordion {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.proposal-accordion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proposal-accordion:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.proposal-accordion:hover::before {
    opacity: 1;
}

.proposal-accordion-header {
    background: linear-gradient(135deg, #a8a9f3 0%, #52b3eb 50%, #52b3eb 100%);
    padding: .3rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.proposal-accordion-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.proposal-accordion-header:hover::before {
    left: 100%;
}

.proposal-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: relative;
    z-index: 1;
}

.proposal-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.badge-icon i {
    font-size: 1.125rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.badge-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4.5px;
    opacity: 0.9;
}

.badge-subtitle {
    font-size: .6rem;
    font-weight: 600;
    line-height: 1.3;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.proposal-toggle {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    padding: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.proposal-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.proposal-toggle.rotated {
    transform: rotate(180deg);
}

.proposal-toggle.rotated:hover {
    transform: rotate(180deg) scale(1.1);
}

.proposal-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.proposal-accordion-body.expanded {
    max-height: 600px;
}

.proposal-content {
    padding: 1rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.proposal-message,
.proposal-description {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #52b3eb;
    transition: all 0.3s ease;
}

.proposal-message:hover,
.proposal-description:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.message-icon,
.description-icon {
    background: linear-gradient(135deg, #52b3eb, #52b3eb);
    color: white;
    border-radius: 10px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
}

.message-content,
.description-content {
    flex: 1;
}

.message-title,
.description-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.message-content p,
.description-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

.proposal-actions {
    display: flex;
    justify-content: center;
    padding-top: .5rem;
    border-top: 1px solid #e2e8f0;
}

.proposal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, #52b3eb 0%, #52b3eb 50%, #52b3eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    /* overflow: hidden; */
    /* box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3); */
}

.proposal-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.proposal-link:hover::before {
    left: 100%;
}

.proposal-link:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.proposal-link i {
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .proposal-accordion {
        border-radius: 12px;
    }

    .proposal-accordion-header {
        padding: 1rem 1.25rem;
    }

    .proposal-content {
        padding: 1.5rem 1.25rem;
    }

    .badge-subtitle {
        max-width: 200px;
        font-size: 0.9rem;
    }

    .proposal-message,
    .proposal-description {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .proposal-link {
        padding: 0.875rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* Animation for smooth loading */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.proposal-accordion {
    animation: slideInFromTop 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pulse animation for accordion header */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    50% {
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
    }

    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
}

.proposal-accordion-header:active {
    animation: pulseGlow 0.6s ease;
}


/* ---- Tuning knobs ---- */
:root {
    --c-border: #e5e7eb;
    --c-muted: #6b7280;
    --c-muted-2: #9ca3af;
    --pad-outer: 12px;
    /* outer padding for cards */
    --pad-inner: 8px;
    /* inner padding in rows   */
    --radius: 12px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .05);
    --fs-xs: 11px;
    --fs-sm: 12.5px;
    --fs-md: 13.5px;
    --fs-lg: 14px;
}

/* Header stats */
.header-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    text-align: center;
    justify-content: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    color: var(--c-muted);
}

.stat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.stat-dot.accepted {
    background: #10b981;
}

.stat-dot.rejected {
    background: #ef4444;
}

/* Empty */
.empty-state {
    text-align: center;
    padding: 28px 12px;
    border: 1px dashed var(--c-border);
    border-radius: var(--radius);
}

.empty-icon {
    font-size: 28px;
    opacity: .55;
    margin-bottom: 8px;
}

.empty-text {
    font-weight: 700;
    color: #374151;
    font-size: var(--fs-lg);
}

.empty-subtext {
    color: var(--c-muted);
    font-size: var(--fs-sm);
}

/* Each offer card */
.offers-history-card {
    width: 100%;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 10px;
    /* spacing between cards */
}

/* Card header (tighter) */
.card-header {
    padding: var(--pad-outer);
    border-bottom: 1px solid var(--c-border);
    background: linear-gradient(135deg, #fafafa 0%, #f7fafc 100%);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.card-title {
    margin: 0;
    font-size: var(--fs-lg);
    font-weight: 800;
    color: #111827;
    letter-spacing: .02em;
}

.offered-by {
    margin-top: 4px;
    font-size: var(--fs-sm);
    color: var(--c-muted);
}

/* Status badge */
.status-badge {
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.bg-blue-500 {
    background: #3b82f6;
}

.bg-green-500 {
    background: #10b981;
}

.bg-red-500 {
    background: #ef4444;
}

.text-white {
    color: #fff;
}

/* Body */
.individual-offer-card {
    padding: var(--pad-outer);
}

/* Flat detail row (no inner cards) */
.detail-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}

.detail-item {
    padding: var(--pad-inner);
    /* background: #fafafa; */
    border: 1px solid #f1f2f4;
    border-radius: 10px;
}

.detail-label {
    font-size: var(--fs-xs);
    /* color: var(--c-muted); */
    /* font-weight: 800; */
    text-transform: uppercase;
    letter-spacing: .06em;
}

.detail-value {
    font-size: var(--fs-md);
    font-weight: 700;
    color: #374151;
}

.detail-value.amount {
    color: #059669;
    font-size: 15px;
}

/* Footer */
.offer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.time-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--c-muted);
    font-size: var(--fs-sm);
}

.time-info svg {
    color: var(--c-muted-2);
}

/* Details button (compact) */
.details-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--c-border);
    background: #fff;
    color: #374151;
    font-size: var(--fs-sm);
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all .15s ease;
}

.details-btn:hover {
    background: #f7f7f7;
}

.details-btn.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

.chevron {
    transition: transform .15s ease;
}

.details-btn.active .chevron {
    transform: rotate(180deg);
}

/* Collapse content */
.expanded-details {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.notes-section,
.rejection-section {
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 8px;
}

.notes-section {
    background: linear-gradient(135deg, #eff6ff 0%, #e7f0ff 100%);
    border: 1px solid #d9e7ff;
}

.rejection-section {
    background: linear-gradient(135deg, #fef2f2 0%, #fee7e7 100%);
    border: 1px solid #ffd7d7;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: 800;
    margin-bottom: 6px;
}

.section-content {
    font-size: var(--fs-sm);
    line-height: 1.45;
}

.rejection-reason {
    margin-top: 4px;
}

/* Hover micro-interaction */
.offers-history-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

/* Responsive */
@media (max-width: 520px) {
    .detail-row {
        grid-template-columns: 1fr;
    }

    .card-header {
        padding: 10px;
    }

    .individual-offer-card {
        padding: 10px;
    }
}

.stat-dot.sent {
    background: #52b3eb;
}

.offers-history-card .card-header {
    background: linear-gradient(135deg, #fafafa 0%, #beced8 100%);
}