/* CEO UWAIS OFFICE - Main Stylesheet */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
}

/* === SIDEBAR === */
.sidebar {
    width: 280px;
    background: var(--gradient-1);
    color: white;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    text-align: center;
}

.sidebar-header img {
    max-width: 200px;
    max-height: 50px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.sidebar-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.sidebar-menu {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: white;
    padding-left: 2rem;
}

.sidebar-link.active {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: white;
    font-weight: 600;
}

.sidebar-link .icon {
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

.sidebar-link .text {
    flex: 1;
    font-size: 0.95rem;
}

.sidebar-link .notification-badge {
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 1.5rem;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-footer .sidebar-link {
    padding: 0.75rem 1rem;
}

/* === MAIN CONTENT === */
.main-content {
    margin-left: 280px;
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === TOPBAR === */
.topbar {
    background: white;
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.topbar-left h3 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topbar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.topbar-link:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

.topbar-link .icon {
    font-size: 1.3rem;
}

.topbar-link .notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 8px;
    font-weight: 600;
}

.topbar-user .icon {
    font-size: 1.3rem;
}

/* === OLD NAVBAR (HIDDEN) === */
.navbar {
    display: none;
}

.navbar-brand,
.navbar-menu,
.nav-link,
.nav-dropdown,
.dropdown-content {
    display: none;
}

/* === CONTAINER === */

/* === CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.container-fluid {
    width: 100%;
    padding: 2rem;
    overflow-x: hidden;
}

/* === PAGE HEADER === */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    animation: fadeIn 0.5s;
}

.page-header h1 {
    font-size: 2rem;
    color: var(--dark-color);
    margin: 0;
}

.welcome-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    animation: fadeIn 0.5s;
}

.welcome-section h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin: 0 0 0.5rem 0;
}

.welcome-section .welcome-text {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0;
}

/* === BUTTONS === */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #616161;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: transform 0.2s;
}

.btn-icon:hover {
    transform: scale(1.2);
}

/* === ALERTS === */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid var(--danger-color);
}

.alert-warning {
    background: #fff3e0;
    color: #e65100;
    border-left: 4px solid var(--warning-color);
}

.alert-info {
    background: #e1f5fe;
    color: #01579b;
    border-left: 4px solid var(--info-color);
}

/* === FORMS === */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    overflow-y: auto;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    animation: slideDown 0.3s;
}

.modal-large {
    max-width: 800px;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #000;
}

/* === TABLES === */
.table-container {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--light-color);
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover {
    background: #f9f9f9;
}

/* === BADGES === */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-mentah {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-dipertimbangkan {
    background: #fff3e0;
    color: #f57c00;
}

.badge-dieksekusi {
    background: #e8f5e9;
    color: #388e3c;
}

.badge-ditunda {
    background: #ffebee;
    color: #d32f2f;
}

.badge-category {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* === STATS CARDS === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 3rem;
}

.stat-content h3 {
    font-size: 2rem;
    margin: 0;
}

.stat-content p {
    color: var(--secondary-color);
    margin: 0;
}

.card-blue { border-left: 4px solid #2196F3; }
.card-green { border-left: 4px solid #4CAF50; }
.card-orange { border-left: 4px solid #FF9800; }
.card-purple { border-left: 4px solid #9C27B0; }

/* === DASHBOARD === */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.dashboard-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.dashboard-widget h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.dashboard-widget.full-width {
    grid-column: 1 / -1;
}

.status-list, .reminder-list, .kanban-progress {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-item, .progress-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background: var(--light-color);
    border-radius: 4px;
}

.reminder-item {
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
}

/* === IDEAS === */
.ideas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.idea-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    border-left: 4px solid transparent;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.idea-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.idea-card.status-mentah { border-left-color: #2196F3; }
.idea-card.status-dipertimbangkan { border-left-color: #FF9800; }
.idea-card.status-dieksekusi { border-left-color: #4CAF50; }
.idea-card.status-ditunda { border-left-color: #f44336; }

.idea-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.idea-header h3 {
    margin: 0;
    color: var(--dark-color);
}

.idea-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.idea-footer {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.idea-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

/* === KANBAN === */
.kanban-board {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.kanban-board::-webkit-scrollbar {
    height: 8px;
}

.kanban-board::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.kanban-board::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.kanban-board::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.kanban-column {
    flex: 0 0 320px;
    min-width: 320px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 1rem;
}

.kanban-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.kanban-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.task-count {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
}

.kanban-tasks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 200px;
}

.kanban-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: move;
    border-left: 4px solid transparent;
}

.kanban-card.priority-low { border-left-color: #2196F3; }
.kanban-card.priority-medium { border-left-color: #FF9800; }
.kanban-card.priority-high { border-left-color: #f44336; }
.kanban-card.priority-critical { border-left-color: #9C27B0; }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
}

.card-header h4 {
    margin: 0;
    font-size: 1rem;
}

.card-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.milestone-progress {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #555;
}

.progress-bar-container {
    background: #e0e0e0;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.card-checklist {
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.meta-item {
    background: var(--light-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.priority-badge.priority-low { background: #2196F3; }
.priority-badge.priority-medium { background: #FF9800; }
.priority-badge.priority-high { background: #f44336; }
.priority-badge.priority-critical { background: #9C27B0; }

/* === DECISIONS === */
.decisions-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.decision-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.decision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.decision-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.decision-section {
    margin-bottom: 1rem;
}

.decision-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* === NOTES === */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.note-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.note-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.note-preview {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.markdown-content {
    line-height: 1.8;
}

.markdown-content h1, .markdown-content h2, .markdown-content h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* === GOALS === */
.goals-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.goal-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.goal-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 24px;
    background: var(--light-color);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #1976D2);
    transition: width 0.3s;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
    color: white;
    font-size: 0.85rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

/* === FILTERS === */
.filters {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.filter-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* === LOGIN PAGE === */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 1rem;
}

.login-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header img {
    display: block;
    margin: 0 auto 1rem;
    max-width: 250px;
    max-height: 80px;
    object-fit: contain;
}

.login-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.login-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* === SETTINGS === */
.settings-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.settings-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-group {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 8px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* === NOTIFICATIONS === */
.notification-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.tab {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--secondary-color);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    align-items: start;
}

.notification-item.unread {
    border-left: 4px solid var(--primary-color);
    background: #e3f2fd;
}

.notification-icon {
    font-size: 1.5rem;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 0.5rem 0;
}

.notification-time {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

/* === UTILITIES === */
.no-data-message {
    text-align: center;
    padding: 3rem;
    color: var(--secondary-color);
}

.link-external {
    color: var(--primary-color);
    text-decoration: none;
}

.link-external:hover {
    text-decoration: underline;
}

.checklist-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.checklist-item .form-control {
    flex: 1;
}

.milestone-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.milestone-item .form-control {
    flex: 1;
}

.password-hidden {
    font-family: monospace;
    letter-spacing: 2px;
}

.password-visible {
    font-family: monospace;
    color: var(--danger-color);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .sidebar {
        width: 70px;
    }
    
    .sidebar-header h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .sidebar-link .text {
        display: none;
    }
    
    .sidebar-link {
        justify-content: center;
        padding: 1rem;
    }
    
    .sidebar-link .icon {
        font-size: 1.5rem;
    }
    
    .sidebar-footer .text {
        display: none;
    }
    
    .sidebar-divider {
        margin: 1rem 0.5rem;
    }
    
    .main-content {
        margin-left: 70px;
    }
    
    .topbar {
        padding: 0.75rem 1rem;
    }
    
    .topbar-left h3 {
        font-size: 1rem;
    }
    
    .topbar-right {
        gap: 0.5rem;
    }
    
    .topbar-link .text {
        display: none;
    }
    
    .topbar-user .text {
        display: none;
    }
    
    .page-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .kanban-board {
        flex-direction: column;
    }
    
    .kanban-column {
        flex: 1;
    }
    
    .stats-grid, .ideas-grid, .notes-grid, .decisions-list {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid, .ideas-grid, .notes-grid, .decisions-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === MODERN ENHANCEMENTS === */
@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stat-card.card-blue { 
    border-left: 4px solid #6366f1; 
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
}

.stat-card.card-green { 
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.stat-card.card-orange { 
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.stat-card.card-purple { 
    border-left: 4px solid #8b5cf6;
    background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
}

.idea-card, .note-card, .decision-card, .goal-card {
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.idea-card:hover, .note-card:hover {
    border-color: var(--primary-color);
}

.kanban-column {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.kanban-card {
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.kanban-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary {
    background: var(--gradient-2);
    color: white;
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: var(--shadow);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: var(--shadow);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.table-container {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.dashboard-widget {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.dashboard-widget:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.login-box {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.settings-section {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.notification-item {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.notification-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.progress-fill {
    background: var(--gradient-3);
}

.badge {
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-box {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    width: 300px;
    transition: all 0.3s;
    background: white;
}

.search-box:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    width: 350px;
}

.page-header {
    animation: fadeIn 0.5s;
}
