:root {
    /* Brand Colors */
    --nectar-yellow: #FFD700;
    --nectar-yellow-hover: #E6C200;
    --nectar-black: #0A0A0A;
    --nectar-dark-gray: #1A1A1A;
    --nectar-gray: #2A2A2A;
    --nectar-light-gray: #F5F5F5;
    --nectar-white: #FFFFFF;

    /* Semantics */
    --text-primary: #FFFFFF;
    --text-secondary: #AAAAAA;
    --text-dark: #0A0A0A;
    --success: #00C853;
    --warning: #FFAB00;
    --danger: #FF3D00;

    /* Layout */
    --sidebar-width: 260px;
    --header-height: 70px;
    --border-radius: 12px;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    --glass-bg: rgba(26, 26, 26, 0.8);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--nectar-black);
    color: var(--text-primary);
    overflow: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--nectar-black);
}

::-webkit-scrollbar-thumb {
    background: var(--nectar-gray);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--nectar-yellow);
}

/* Layout Container */
.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--nectar-dark-gray);
    border-right: var(--glass-border);
    display: flex;
    flex-direction: column;
    z-index: 10;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
}

.logo-container {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 12px;
    border-bottom: var(--glass-border);
}

.brand-logo-sidebar {
    height: 40px;
    width: auto;
}

.logo-container h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--nectar-white);
}

.logo-container h1 .highlight {
    color: var(--nectar-yellow);
}

.main-nav {
    flex: 1;
    padding: 24px 0;
    overflow-y: auto;
}

.main-nav ul {
    list-style: none;
}

.main-nav li {
    padding: 12px 24px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
}

.main-nav li:hover {
    color: var(--nectar-white);
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(5px);
}

.main-nav li.active {
    color: var(--nectar-yellow);
    background: rgba(255, 215, 0, 0.05);
    border-right-color: var(--nectar-yellow);
    transform: translateX(5px);
    box-shadow: -3px 0 10px rgba(255, 215, 0, 0.3);
}

.main-nav li i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.sidebar-footer {
    padding: 24px;
    border-top: var(--glass-border);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--nectar-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--nectar-white);
    border: 2px solid var(--nectar-yellow);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.avatar:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
}

.user-info .details {
    display: flex;
    flex-direction: column;
}

.user-info .name {
    font-weight: 500;
    font-size: 14px;
    color: var(--nectar-white);
}

.user-info .role {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--nectar-black);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 20%);
    position: relative;
    overflow: hidden;
}

.top-bar {
    height: var(--header-height);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: var(--glass-border);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.top-bar h2 {
    font-size: 24px;
    font-weight: 600;
}

.actions {
    display: flex;
    gap: 12px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: var(--glass-border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-icon:hover {
    color: var(--nectar-yellow);
    border-color: var(--nectar-yellow);
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.1) rotate(5deg);
}

/* View Container */
.view-container {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn.primary {
    background: var(--nectar-yellow);
    color: var(--nectar-black);
}

.btn.primary:hover {
    background: var(--nectar-yellow-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn.secondary {
    background: var(--nectar-gray);
    color: var(--nectar-white);
}

.btn.secondary:hover {
    background: #333;
}

.btn.danger {
    background: rgba(255, 61, 0, 0.1);
    color: var(--danger);
}

.btn.danger:hover {
    background: rgba(255, 61, 0, 0.2);
}

/* Inputs */
input,
select,
textarea {
    background: var(--nectar-dark-gray);
    border: 1px solid #333;
    color: var(--nectar-white);
    padding: 10px 16px;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--nectar-yellow);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
}

.search-bar {
    position: relative;
    width: 300px;
}

.search-bar i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-bar input {
    padding-left: 36px;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-card.yellow {
    background: linear-gradient(135deg, var(--nectar-yellow), #e1bd00);
    color: var(--nectar-black);
}

.stat-card.black {
    background: var(--nectar-dark-gray);
    border: 1px solid var(--nectar-gray);
    color: var(--nectar-white);
}

.stat-card.white {
    background: var(--nectar-white);
    color: var(--nectar-black);
}

.stat-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.1);
}

.stat-card.black .icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--nectar-yellow);
}

.stat-card .info h3 {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 4px;
}

.stat-card .info .value {
    font-size: 28px;
    font-weight: 700;
}

.recent-activity-section {
    grid-column: span 2;
    background: var(--nectar-dark-gray);
    border-radius: 16px;
    padding: 24px;
    border: var(--glass-border);
}

.chart-section {
    grid-column: span 1;
    background: var(--nectar-dark-gray);
    border-radius: 16px;
    padding: 24px;
    border: var(--glass-border);
}

.recent-activity-section h3,
.chart-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--nectar-white);
}

/* Tables */
.table-card {
    background: var(--nectar-dark-gray);
    border-radius: 16px;
    border: var(--glass-border);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid #2a2a2a;
}

.data-table th {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-paid {
    background: rgba(0, 200, 83, 0.2);
    color: #4CAF50;
}

.status-pending {
    background: rgba(170, 170, 170, 0.2);
    color: #AAA;
}

.status-scheduled {
    background: rgba(255, 215, 0, 0.2);
    color: var(--nectar-yellow);
}

.status-overdue {
    background: rgba(255, 61, 0, 0.2);
    color: var(--danger);
}

.status-late {
    background: rgba(255, 61, 0, 0.2);
    color: var(--danger);
}

/* Grids */
.grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.client-card,
.plan-card {
    background: var(--nectar-dark-gray);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.client-card:hover,
.plan-card:hover {
    border-color: var(--nectar-yellow);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--nectar-yellow);
    opacity: 0;
    transition: opacity 0.3s;
}

.client-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.client-initials {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #333, #222);
    color: var(--nectar-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.client-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.company-name {
    color: var(--text-secondary);
    font-size: 14px;
}

.card-details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #333;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.detail-row span:last-child {
    color: var(--nectar-white);
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.btn-card-action {
    flex: 1;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #333;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}

.btn-card-action:hover {
    background: #333;
    color: var(--nectar-white);
}

.btn-card-action.primary {
    border-color: var(--nectar-yellow);
    color: var(--nectar-yellow);
}

.btn-card-action.primary:hover {
    background: var(--nectar-yellow);
    color: var(--nectar-black);
}

/* Modals */
.hidden {
    display: none !important;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-container {
    background: #1a1a1a;
    width: 500px;
    max-width: 90%;
    border-radius: 16px;
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
}

.close-btn:hover {
    color: var(--nectar-white);
}

.modal-body {
    padding: 24px;
}

/* Generic Form Styles */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* Plans specific */
.plan-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--nectar-yellow);
    margin: 16px 0;
}

.plan-price span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Receipts Grid */
.receipts-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.receipt-card {
    background: var(--nectar-dark-gray);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.receipt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.receipt-preview {
    height: 150px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.receipt-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.receipt-card:hover .receipt-preview img {
    transform: scale(1.05);
}

.receipt-info {
    padding: 12px;
}

.receipt-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.receipt-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* Login Screen */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
}

.login-card {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 40px;
    border-radius: 24px;
    width: 400px;
    max-width: 90%;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.brand-logo {
    height: 60px;
    width: auto;
}

.login-logo h1 {
    font-size: 28px;
    color: var(--nectar-white);
}

.login-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.input-icon input {
    padding-left: 44px;
}

.full-width {
    width: 100%;
    justify-content: center;
    padding: 14px;
    margin-top: 16px;
    font-size: 16px;
}

.login-error {
    margin-top: 16px;
    color: var(--danger);
    font-size: 14px;
    background: rgba(255, 61, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
}

/* User Management Styles */
.permission-tag {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 11px;
    margin-right: 4px;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.role-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.role-admin {
    background: var(--nectar-yellow);
    color: var(--nectar-black);
}

.role-employee {
    background: var(--nectar-gray);
    color: var(--nectar-white);
}

/* Sidebar Logout */
.sidebar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-icon.small {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border: none;
}

.btn-icon.small:hover {
    color: var(--danger);
    background: rgba(255, 61, 0, 0.1);
}

/* Permissions Checkbox Grid */
.permissions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input {
    width: auto;
    margin: 0;
}
/* ========== KANBAN BOARD STYLES ========== */

/* Filter Section */
.filters {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Kanban Board Layout */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    height: calc(100vh - 220px);
}

.kanban-column {
    background: var(--nectar-dark-gray);
    border-radius: 16px;
    border: var(--glass-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.kanban-column-header {
    padding: 16px 20px;
    border-bottom: 1px solid #333;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
}

.kanban-column-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.kanban-cards {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    min-height: 100px;
    transition: background 0.3s ease;
}

.kanban-cards.drag-over {
    background: rgba(255, 215, 0, 0.05);
    border: 2px dashed var(--nectar-yellow);
}

/* Goal Card */
.goal-card {
    background: var(--nectar-gray);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: grab;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--nectar-yellow);
    opacity: 0;
    transition: opacity 0.3s;
}

.goal-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--nectar-yellow);
}

.goal-card:hover::before {
    opacity: 1;
}

.goal-card.dragging {
    opacity: 0.5;
    cursor: grabbing;
    transform: rotate(3deg);
}

.goal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.goal-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--nectar-white);
    flex: 1;
    margin: 0;
    line-height: 1.4;
}

/* Priority Badges */
.priority-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.priority-high {
    background: rgba(255, 61, 0, 0.2);
    color: #FF3D00;
    box-shadow: 0 0 10px rgba(255, 61, 0, 0.3);
}

.priority-medium {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.priority-low {
    background: rgba(0, 200, 83, 0.2);
    color: #00C853;
    box-shadow: 0 0 10px rgba(0, 200, 83, 0.3);
}

/* Deadline Alert */
.goal-deadline {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 6px 0;
}

.goal-deadline i {
    font-size: 11px;
}

.goal-deadline.urgent {
    color: var(--danger);
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Progress Bar */
.goal-progress {
    margin-top: 12px;
}

.progress-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--nectar-yellow), #00C853);
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Checklist Styles */
.checklist-manager {
    margin-top: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--nectar-gray);
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.checklist-item:hover {
    background: #333;
}

.checklist-item input[type='checkbox'] {
    width: auto;
    cursor: pointer;
    accent-color: var(--nectar-yellow);
}

.checklist-item.completed {
    opacity: 0.6;
}

.checklist-item.completed span {
    text-decoration: line-through;
    color: var(--text-secondary);
}

.checklist-add {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.checklist-add input {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .kanban-board {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }
    
    .kanban-column {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .kanban-board {
        grid-template-columns: 1fr;
    }
    
    .view-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters {
        flex-direction: column;
        width: 100%;
    }
    
    .filters select,
    .filters label {
        width: 100%;
    }
}

/* Empty State in Kanban */
.kanban-cards .empty-state {
    padding: 40px 20px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

/* ========== DEPARTMENT STYLES ========== */

/* Department Badge */
.department-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.department-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* Department Card */
.department-card {
    background: var(--nectar-gray);
    border-radius: 12px;
    padding: 16px;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.department-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Color Picker */
.color-picker-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

input[type='color'] {
    padding: 0;
    border: 2px solid #333;
    cursor: pointer;
}

input[type='color']:hover {
    border-color: var(--nectar-yellow);
}

/* ========================================
   NOTIFICATION SYSTEM STYLES
   ======================================== */

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.icon-btn {
    position: relative;
}

.icon-btn.has-notifications {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.notifications-panel {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notification-item.goal {
    border-left: 3px solid #f59e0b;
}

.notification-item.payment {
    border-left: 3px solid #ef4444;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.notification-message {
    font-size: 12px;
    color: var(--text-secondary);
}
/* Finance Module - Minimal overrides */
.table-responsive {
    overflow-x: auto;
}


/* ========================================================================= */
/* MOBILE RESPONSIVE MEDIA QUERIES                                           */
/* ========================================================================= */

@media (max-width: 768px) {
    .mobile-only {
        display: flex !important;
    }

    .app-container {
        flex-direction: column;
    }

    /* Sidebar logic: hide by default, overlay when open */
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.5);
    }

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

    /* Top Bar */
    .top-bar {
        padding: 0 16px;
    }

    /* Grids: 1 column on mobile */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Sub-containers that had grids */
    .finance-content, .settings-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Make charts fit */
    .chart-box {
        overflow-x: auto;
    }

    /* Login Screen Mobile Fixes */
    .login-logo img {
        width: 60px;
    }
    
    .login-card {
        padding: 24px;
        width: 90%;
    }

    /* Any card should not bleed out of the display */
    .card {
        padding: 16px;
        margin-bottom: 20px;
    }

    /* Make tables inherently scrollable horizontally */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 500px;
    }
}

