@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Fredoka:wght@400;500;600;700&family=Indie+Flower&display=swap');

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

:root {
    --primary-dark: #1a1a1a;
    --primary-light: #f5f5f5;
    --accent-color: #000;
    --highlight: #ff6b9d;
    --gray: #999;
    --success: #50E3C2;
    --warning: #F5A623;
    --danger: #E74C3C;
    --font-handwriting: 'Caveat', cursive;
    --font-fun: 'Indie Flower', cursive;
    --font-primary: 'Fredoka', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    font-family: var(--font-primary);
    color: var(--primary-dark);
}

.container {
    display: flex;
    height: 100vh;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.menu-toggle {
    display: flex;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4081 100%);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5);
}

.menu-toggle.hidden {
    display: none !important;
}

.detail-panel-toggle {
    display: flex;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1095;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4081 100%);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.detail-panel-toggle:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5);
}

.detail-panel-toggle i {
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.detail-panel-toggle.hidden {
    display: none !important;
}

/* ============ SIDEBAR ============ */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 25px;
    overflow-y: auto;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

.sidebar.collapsed {
    width: 0;
    padding: 0;
    overflow: hidden;
    border: none;
}

.sidebar.mobile-overlay {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 99;
}

.sidebar.mobile-overlay.hidden {
    transform: translateX(-100%);
}

.sidebar.mobile-overlay.show {
    transform: translateX(0);
}

.sidebar.mobile-overlay.hidden {
    transform: translateX(-100%);
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.logo-and-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.sidebar-menu-toggle {
    background: rgba(255, 107, 157, 0.2);
    border: 2px solid rgba(255, 107, 157, 0.4);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sidebar-menu-toggle:hover {
    background: rgba(255, 107, 157, 0.4);
    border-color: rgba(255, 107, 157, 0.6);
    transform: scale(1.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.logo i {
    font-size: 28px;
    color: #ff6b9d;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo i {
    font-size: 32px;
    color: var(--highlight);
}

.logo h1 {
    font-family: var(--font-handwriting);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
}

.menu-item {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(5px);
}

.menu-item.active {
    background: var(--highlight);
    border-color: var(--highlight);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
}

.user-lists {
    margin-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.user-lists h3 {
    font-family: var(--font-fun);
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--highlight);
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.list-item {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.list-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.list-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}

.list-item.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--highlight);
}

.add-list-btn {
    width: 100%;
    background: rgba(255, 107, 157, 0.2);
    border: 2px solid var(--highlight);
    color: var(--highlight);
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.add-list-btn:hover {
    background: rgba(255, 107, 157, 0.3);
    transform: scale(1.05);
}

/* ============ MAIN CONTENT ============ */
.main-content {
    flex: 1;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 80px 50px 40px 80px;
    overflow-y: auto;
    border-right: 2px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-content::-webkit-scrollbar {
    width: 8px;
}

.main-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.main-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-family: var(--font-handwriting);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
}

.add-task-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4081 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.add-task-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.task-card {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.task-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #ff6b9d 0%, #4a90e2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.task-card:hover::before {
    opacity: 1;
}

.task-card.completed {
    opacity: 0.7;
    background: rgba(80, 227, 194, 0.1);
}

.task-card.completed .task-title {
    text-decoration: line-through;
    color: var(--gray);
}

.task-card.completed .checkbox {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.task-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--gray);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox:hover {
    border-color: var(--primary-dark);
}

.task-info {
    flex: 1;
}

.task-title {
    font-family: var(--font-fun);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.task-description {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 10px;
    line-height: 1.4;
}

.task-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
}

.task-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-dark);
    font-weight: 500;
}

.task-due {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gray);
}

.task-due.urgent {
    color: var(--danger);
    font-weight: 600;
}

.task-priority {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: auto;
}

.task-priority.high {
    background: var(--danger);
}

.task-priority.medium {
    background: var(--warning);
}

.task-priority.low {
    background: var(--success);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state p {
    font-family: var(--font-fun);
    font-size: 20px;
    text-align: center;
}

/* ============ TASK DETAIL PANEL ============ */
.task-detail {
    width: 320px;
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    padding: 30px;
    overflow-y: auto;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.task-detail.collapsed {
    width: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

.task-detail.mobile-overlay {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    max-width: 320px;
    z-index: 98;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
}

.task-detail.mobile-overlay.hidden {
    transform: translateX(100%);
}

.task-detail.mobile-overlay.show {
    transform: translateX(0);
}

.task-detail::-webkit-scrollbar {
    width: 6px;
}

.task-detail::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.task-detail::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.no-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray);
    text-align: center;
}

.no-selection i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.detail-header-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-close-btn {
    background: rgba(255, 107, 157, 0.2);
    border: 2px solid rgba(255, 107, 157, 0.4);
    color: var(--highlight);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.detail-close-btn:hover {
    background: rgba(255, 107, 157, 0.3);
    border-color: var(--highlight);
    transform: scale(1.1);
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.detail-title {
    font-family: var(--font-handwriting);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}

.detail-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s ease;
}

.detail-close:hover {
    color: var(--primary-dark);
}

.detail-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section-title {
    font-family: var(--font-fun);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-section-content {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.detail-link {
    color: #4a90e2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.detail-link:hover {
    color: #ff6b9d;
    text-decoration: underline;
}

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-btn {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-dark);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.detail-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

.detail-btn.danger {
    color: var(--danger);
    border-color: var(--danger);
}

.detail-btn.danger:hover {
    background: rgba(231, 76, 60, 0.1);
}

/* ============ MODALS ============ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.modal-header h2 {
    font-family: var(--font-handwriting);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
}

.close-modal {
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-dark);
}

.modal-body {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-fun);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.color-picker {
    display: flex;
    gap: 12px;
}

.color-picker input {
    display: none;
}

.color-picker label {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.color-picker input:checked + label {
    border-color: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4081 100%);
    border: none;
    color: white;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

/* ============ CHECKBOX STYLING ============ */
.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 20px !important;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    accent-color: var(--highlight);
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-wrapper input[type="checkbox"]:hover {
    border-color: var(--highlight);
    background-color: rgba(255, 107, 157, 0.05);
}

.checkbox-wrapper input[type="checkbox"]:checked {
    background-color: var(--highlight);
    border-color: var(--highlight);
}

.checkbox-wrapper label {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-dark);
    cursor: pointer;
    user-select: none;
}

/* ============ STICKY WALL ============ */
.modal.full-screen .modal-content {
    max-width: none;
    width: 100%;
    height: 100vh;
    border-radius: 0;
    max-height: 100vh;
}

.sticky-wall-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.sticky-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.add-sticky-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4081 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.add-sticky-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.4);
}

.sticky-counter {
    font-family: var(--font-fun);
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 600;
}

.sticky-wall {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    overflow-y: auto;
    align-content: start;
}

.sticky-note {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: grab;
    position: relative;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    word-break: break-word;
}

.sticky-note:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    cursor: grab;
}

.sticky-note:active {
    cursor: grabbing;
}

.sticky-note.pink {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff85b3 100%);
    color: white;
}

.sticky-note.blue {
    background: linear-gradient(135deg, #4a90e2 0%, #6cb4ee 100%);
    color: white;
}

.sticky-note.green {
    background: linear-gradient(135deg, #50e3c2 0%, #a8f7de 100%);
    color: white;
}

.sticky-note.purple {
    background: linear-gradient(135deg, #b19cd9 0%, #d4a5d9 100%);
    color: white;
}

.sticky-content {
    font-family: var(--font-fun);
    font-size: 15px;
    flex: 1;
    word-break: break-word;
    overflow-y: auto;
    margin-bottom: 12px;
    line-height: 1.5;
    padding: 10px 0;
}

.sticky-content::-webkit-scrollbar {
    width: 4px;
}

.sticky-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.sticky-actions {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.sticky-delete {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: white;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
}

.sticky-delete:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

.sticky-time {
    font-size: 11px;
    opacity: 0.7;
    margin-left: auto;
}

/* ============ CALENDAR ============ */
.calendar-container {
    background: white;
}

.calendar {
    width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.calendar-header button {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.calendar-header button:hover {
    background: rgba(255, 107, 157, 0.1);
    border-color: var(--highlight);
}

.calendar-header h3 {
    font-family: var(--font-fun);
    font-size: 20px;
    color: var(--primary-dark);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.calendar-day-name {
    text-align: center;
    font-weight: 600;
    color: var(--gray);
    font-size: 12px;
    padding: 8px;
}

.calendar-date {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-weight: 600;
    position: relative;
}

.calendar-date:hover {
    background: rgba(255, 107, 157, 0.1);
    border-color: var(--highlight);
}

.calendar-date.disabled {
    color: var(--gray);
    background: rgba(0, 0, 0, 0.02);
    cursor: not-allowed;
}

.calendar-date.today {
    background: var(--highlight);
    color: white;
    border-color: var(--highlight);
}

.calendar-date.has-tasks::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 6px;
    height: 6px;
    background: var(--primary-dark);
    border-radius: 50%;
}

.calendar-date.today.has-tasks::after {
    background: white;
}

/* ============ NOTIFICATION ============ */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4081 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-size: 14px;
    z-index: 999;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* ============ RESPONSIVE ============ */
/* Large Screens (1440px+) */
@media (max-width: 1440px) {
    .sidebar {
        width: 250px;
        padding: 20px;
    }

    .main-content {
        padding: 80px 40px 40px 70px;
    }

    .task-detail {
        width: 280px;
    }
}

/* Medium Screens (1200px - 1440px) - Sidebar Collapsible */
@media (max-width: 1200px) {
    .menu-toggle {
        display: flex;
    }

    .sidebar {
        width: 280px;
    }

    .sidebar:not(.mobile-overlay).collapsed {
        width: 0;
    }

    .task-detail {
        width: 320px;
    }
}

/* Medium Screens (1200px - 1440px) - Sidebar Collapsible */
@media (max-width: 1200px) and (min-width: 901px) {
    .sidebar {
        display: flex;
        flex-direction: column;
    }
}

/* Tablets (900px - 1200px) - Both Sidebars Collapsible */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .detail-panel-toggle {
        display: flex;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 280px;
        z-index: 99;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

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

    .sidebar.collapsed {
        transform: translateX(-100%);
    }

    .main-content {
        padding: 80px 20px 40px 20px;
    }

    .task-detail {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 300px;
        max-width: 300px;
        z-index: 98;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        border-left: 2px solid rgba(0, 0, 0, 0.1);
    }

    .task-detail.show {
        transform: translateX(0);
    }

    .task-detail.collapsed {
        transform: translateX(100%);
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .add-task-btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tasks-list {
        gap: 12px;
    }

    .task-card {
        padding: 15px;
    }

    .sticky-wall {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        padding: 20px;
        gap: 15px;
    }

    .sticky-note {
        min-height: 150px;
    }
}

/* Mobile (600px - 900px) */
@media (max-width: 600px) {
    .menu-toggle {
        display: flex;
        top: 10px;
        left: 10px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .detail-panel-toggle {
        display: flex;
        top: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .sidebar {
        width: 100%;
        max-width: 100%;
    }

    .main-content {
        padding: 70px 15px 40px 15px;
    }

    .section-header {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .add-task-btn {
        width: 100%;
    }

    .task-card {
        padding: 12px;
    }

    .task-title {
        font-size: 16px;
    }

    .task-description {
        font-size: 12px;
    }

    .task-meta {
        font-size: 11px;
    }

    .detail-toggle {
        top: 15px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .task-detail {
        padding: 15px;
        width: 100%;
        max-width: 100%;
    }

    .detail-section {
        margin-bottom: 15px;
    }

    .detail-title {
        font-size: 20px;
    }

    .sticky-wall {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        padding: 15px;
        gap: 12px;
    }

    .sticky-note {
        min-height: 120px;
        padding: 15px;
    }

    .sticky-content {
        font-size: 13px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .sticky-toolbar {
        padding: 10px 15px;
        flex-direction: column;
        gap: 10px;
    }

    .add-sticky-btn {
        width: 100%;
        justify-content: center;
    }
}
