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

body{
    font-family:Inter,sans-serif;
    background:#f5f7fb;
    color:#111827;
    padding:40px 20px;
}

.container{
    max-width:1200px;
    margin:auto;
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:32px;
    gap:20px;
}

.header-content{
    text-align:center;
    flex:1;
}

.header-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.header h1{
    font-size:48px;
    font-weight:700;
}

.header p{
    margin-top:8px;
    color:#6b7280;
}

.logout-btn{
    padding:10px 20px;
    background:#ef4444;
    color:#fff;
    border:none;
    border-radius:8px;
    font-weight:600;
    cursor:pointer;
    transition:all 0.25s;
    font-size:14px;
    white-space:nowrap;
}

.logout-btn:hover{
    background:#dc2626;
    transform:translateY(-2px);
}

.logout-btn:active{
    transform:translateY(0);
}

.refresh-btn{
    background:none;
    border:1px solid #e5e7eb;
    border-radius:8px;
    font-size:20px;
    cursor:pointer;
    padding:8px 12px;
    transition:all 0.25s;
    white-space:nowrap;
}

.refresh-btn:hover{
    background:#f3f4f6;
    transform:translateY(-2px);
}

.update-btn{
    border:1px solid #16a34a;
    background:#22c55e;
    color:#fff;
    border-radius:10px;
    padding:10px 14px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    transition:all .25s;
    white-space:nowrap;
}

.update-btn:hover{
    background:#16a34a;
    transform:translateY(-2px);
}

.notification-center{
    position:relative;
}

.notification-btn{
    position:relative;
    width:44px;
    height:44px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    background:#fff;
    cursor:pointer;
    transition:all .25s;
    display:flex;
    align-items:center;
    justify-content:center;
}

.notification-btn:hover,
.notification-btn.active{
    transform:translateY(-2px);
    border-color:#4e29ff;
    box-shadow:0 10px 24px rgba(78,41,255,0.14);
}

.notification-icon{
    font-size:19px;
    line-height:1;
}

.notification-count{
    position:absolute;
    top:-6px;
    right:-6px;
    min-width:20px;
    height:20px;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    font-size:11px;
    font-weight:700;
    display:none;
    align-items:center;
    justify-content:center;
    padding:0 6px;
    border:2px solid #fff;
}

.notification-count.visible{
    display:flex;
}

.notification-panel{
    position:absolute;
    top:54px;
    right:0;
    width:360px;
    max-height:420px;
    overflow:auto;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    box-shadow:0 18px 48px rgba(0,0,0,0.15);
    padding:14px;
    display:none;
    z-index:1500;
}

.notification-panel.active{
    display:block;
}

.notification-panel-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:12px;
    padding-bottom:10px;
    border-bottom:1px solid #f1f5f9;
}

.notification-panel-header h3{
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:0.4px;
    color:#4e29ff;
}

.notification-total{
    font-size:12px;
    font-weight:700;
    color:#6b7280;
}

.notification-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.notification-item{
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:10px 12px;
    background:#fff;
    cursor:pointer;
    transition:all .2s;
}

.notification-item:hover{
    border-color:#c7d2fe;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    transform:translateY(-1px);
}

.notification-item.unread{
    border-color:#4e29ff;
    background:#f7f4ff;
}

.notification-item.read{
    opacity:0.78;
}

.notification-item-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:6px;
}

.notification-item-platform{
    font-size:12px;
    font-weight:700;
    color:#4e29ff;
    text-transform:uppercase;
    letter-spacing:0.4px;
}

.notification-read-status{
    font-size:11px;
    font-weight:700;
    color:#6b7280;
    text-transform:uppercase;
}

.notification-item.unread .notification-read-status{
    color:#ef4444;
}

.notification-item-title{
    font-size:14px;
    font-weight:700;
    color:#111827;
    line-height:1.4;
}

.notification-item-time{
    margin-top:4px;
    font-size:12px;
    color:#6b7280;
}

.notification-empty{
    font-size:14px;
    color:#6b7280;
    border:1px dashed #d1d5db;
    border-radius:12px;
    padding:18px 14px;
    text-align:center;
}

.pills{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:24px;
}

.pill{
    border:none;
    background:#fff;
    border:1px solid #e5e7eb;
    padding:12px 24px;
    border-radius:999px;
    cursor:pointer;
    font-weight:600;
    transition:.25s;
    display:inline-flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;
    line-height:1;
}

.pill-icon{
    width:18px;
    height:18px;
    object-fit:contain;
    flex-shrink:0;
    display:block;
}

.pill.active{
    background:#4e29ff;
    color:#fff;
    border-color:#4e29ff;
}

.pill.active .pill-icon{
    filter:brightness(0) invert(1);
}

.card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:24px;
    padding:24px;
    margin-bottom:24px;
}

.platform-title{
    font-size:28px;
    margin-bottom:10px;
}

.platform-info{
    color:#6b7280;
    line-height:1.8;
}

.month-title{
    font-size:24px;
    margin-bottom:20px;
}

.calendar{
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    gap:12px;
    width:100%;
    min-width:0;
}

.day-name{
    text-align:center;
    font-weight:700;
    color:#6b7280;
    padding-bottom:10px;
}

.day{
    min-height:160px;
    padding:16px;
    border-radius:18px;
    border:1px solid #ececec;
    background:#fff;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    cursor:pointer;
    transition:transform .2s, box-shadow .2s;
    min-width:0;
    overflow:hidden;
}

.day:not(.empty):hover{
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
}

.day.empty{
    background:transparent;
    border:none;
}

.day-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:10px;
    gap:8px;
    min-width:0;
}

.date{
    font-size:40px;
    font-weight:800;
    line-height:1;
    letter-spacing:-2px;
    color:#111827;
    min-width:0;
}

.status-badge{
    font-size:10px;
    font-weight:600;
    color:#ef4444;
    padding:3px 8px;
    border-radius:999px;
    text-transform:uppercase;
    white-space:nowrap;
    background-color:#ffffff;
    flex-shrink:0;
}

.day-content{
    font-size:14px;
    font-weight:600;
    line-height:1.4;
    color:#111827;
    margin-top:auto;
}

.day.brand{
    background:#f0edff;
    border-color:#d9ceff;
}

.day.logo{
    background:#edf4ff;
    border-color:#cfe0ff;
}

.day.print{
    background:#fff4ea;
    border-color:#ffd8b3;
}

.day.digital{
    background:#ebfff1;
    border-color:#bff3cf;
}

.day.insight{
    background:#f0edff;
    border-color:#d9ceff;
}

.day.bts{
    background:#e9fbff;
    border-color:#bfeef8;
}

.day.showcase{
    background:#ebfff1;
    border-color:#bff3cf;
}

.day.color-1{
    background:#f0edff;
    border-color:#d9ceff;
}

.day.color-2{
    background:#edf4ff;
    border-color:#cfe0ff;
}

.day.color-3{
    background:#fff4ea;
    border-color:#ffd8b3;
}

.day.color-4{
    background:#ebfff1;
    border-color:#bff3cf;
}

.day.color-5{
    background:#fce7f3;
    border-color:#fbcfe8;
}

.day.color-6{
    background:#fef08a;
    border-color:#fde047;
}

.day.color-7{
    background:#e0e7ff;
    border-color:#c7d2fe;
}

.day.color-8{
    background:#f3e8ff;
    border-color:#e9d5ff;
}

.day.color-9{
    background:#dbeafe;
    border-color:#bfdbfe;
}

.day.color-10{
    background:#fed7aa;
    border-color:#fdba74;
}

.day.color-11{
    background:#c7d2fe;
    border-color:#a5b4fc;
}

.day.color-12{
    background:#bfdbfe;
    border-color:#93c5fd;
}

.day.color-13{
    background:#86efac;
    border-color:#4ade80;
}

.notes{
    color:#6b7280;
    line-height:1.8;
}

.modal-overlay{
    display:none;
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:rgba(0,0,0,0.5);
    z-index:1000;
}

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

.modal-content{
    background:#fff;
    border-radius:24px;
    padding:32px;
    max-width:500px;
    width:90%;
    box-shadow:0 20px 60px rgba(0,0,0,0.3);
}

.modal-header{
    font-size:24px;
    font-weight:700;
    margin-bottom:8px;
    color:#111827;
}

.modal-date{
    font-size:14px;
    color:#6b7280;
    margin-bottom:24px;
}

.modal-posts{
    margin-bottom:24px;
}

.modal-posts-title{
    font-size:14px;
    font-weight:600;
    color:#111827;
    margin-bottom:12px;
}

.modal-post-item{
    background:#f5f7fb;
    padding:12px 16px;
    border-radius:12px;
    margin-bottom:8px;
    font-size:14px;
    color:#111827;
}

.modal-no-posts{
    color:#6b7280;
    font-size:14px;
}

.modal-close{
    display:inline-block;
    background:#4e29ff;
    color:#fff;
    border:none;
    padding:12px 24px;
    border-radius:999px;
    cursor:pointer;
    font-weight:600;
    transition:.25s;
}

.modal-close:hover{
    background:#3d1fb8;
}

.modal-status{
    margin-bottom:24px;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.modal-status label{
    font-size:14px;
    font-weight:600;
    color:#111827;
}

.modal-status select{
    padding:10px 12px;
    border:1px solid #e5e7eb;
    border-radius:8px;
    font-size:14px;
    font-weight:500;
    color:#111827;
    background:#f5f7fb;
    cursor:pointer;
    transition:.25s;
}

.modal-status select:hover{
    border-color:#4e29ff;
    background:#fff;
}

.modal-status select:focus{
    outline:none;
    border-color:#4e29ff;
    box-shadow:0 0 0 3px rgba(78,41,255,0.1);
}

.modal-note{
    margin-bottom:24px;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.modal-note label{
    font-size:14px;
    font-weight:600;
    color:#111827;
}

.modal-note textarea{
    min-height:88px;
    padding:12px;
    border:1px solid #e5e7eb;
    border-radius:12px;
    font-size:14px;
    font-weight:500;
    color:#111827;
    background:#f5f7fb;
    resize:vertical;
    line-height:1.5;
}

.modal-note textarea:hover{
    border-color:#4e29ff;
    background:#fff;
}

.modal-note textarea:focus{
    outline:none;
    border-color:#4e29ff;
    box-shadow:0 0 0 3px rgba(78,41,255,0.1);
    background:#fff;
}

.modal-buttons{
    display:flex;
    gap:12px;
    margin-bottom:0;
}

.modal-ok{
    flex:1;
    background:#4e29ff;
    color:#fff;
    border:none;
    padding:12px 24px;
    border-radius:999px;
    cursor:pointer;
    font-weight:600;
    transition:.25s;
}

.modal-ok:hover{
    background:#3d1fb8;
}

.modal-close{
    flex:1;
}

.color-picker-btn{
    background: none;
    border: none;
    color: #4e29ff;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-picker-btn:hover{
    background: #f5f7fb;
    color: #3d1fb8;
}

.color-palette-popup{
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    margin-top: 8px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1100;
}

.color-palette-popup.active{
    display: flex;
}

.color-option{
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}

.color-option:hover{
    transform: scale(1.1);
}

.color-option.selected{
    border-color: #111827;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111827;
}

.edit-topic-btn{
    background: none;
    border: none;
    color: #4e29ff;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-topic-btn:hover{
    background: #f5f7fb;
    color: #3d1fb8;
}

#editTopicContainer{
    display: flex !important;
    gap: 8px;
}

.save-topic-btn, .cancel-topic-btn{
    background: #4e29ff;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: 0.25s;
}

.save-topic-btn:hover{
    background: #3d1fb8;
}

.cancel-topic-btn{
    background: #e5e7eb;
    color: #111827;
}

.cancel-topic-btn:hover{
    background: #d1d5db;
}

/* ==================== Color Picker Modal ==================== */
.color-picker-overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.color-picker-overlay.active{
    display: flex;
}

.color-picker-modal{
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.color-picker-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.color-picker-header h3{
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.color-picker-close{
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.color-picker-close:hover{
    color: #111827;
}

.color-picker-content{
    margin-bottom: 20px;
}

.color-gradient-container{
    margin-bottom: 20px;
}

.color-gradient{
    width: 100%;
    height: 200px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    cursor: crosshair;
    background: linear-gradient(to right, #fff, hsl(0, 100%, 50%));
    position: relative;
}

.color-selector-circle{
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #000, 0 2px 6px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.color-slider-container{
    margin-top: 12px;
}

.color-hue-slider{
    width: 100%;
    height: 30px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    background: linear-gradient(to right, 
        hsl(0, 100%, 50%), 
        hsl(60, 100%, 50%), 
        hsl(120, 100%, 50%), 
        hsl(180, 100%, 50%), 
        hsl(240, 100%, 50%), 
        hsl(300, 100%, 50%), 
        hsl(360, 100%, 50%)
    );
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.color-hue-slider::-webkit-slider-thumb{
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 30px;
    border-radius: 4px;
    background: #fff;
    border: 2px solid #111827;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.color-hue-slider::-moz-range-thumb{
    width: 20px;
    height: 30px;
    border-radius: 4px;
    background: #fff;
    border: 2px solid #111827;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.color-presets{
    margin-bottom: 20px;
}

.preset-colors{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.preset-color-btn{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s;
}

.preset-color-btn:hover{
    transform: scale(1.1);
}

.preset-color-btn.selected{
    border-color: #111827;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111827;
}

.color-hex-input{
    margin-bottom: 20px;
}

.color-hex-input label{
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.color-hex-input input{
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: monospace;
}

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

.color-picker-ok{
    flex: 1;
    background: #4e29ff;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: 0.25s;
}

.color-picker-ok:hover{
    background: #3d1fb8;
}

.color-picker-cancel{
    flex: 1;
    background: #e5e7eb;
    color: #111827;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: 0.25s;
}

.color-picker-cancel:hover{
    background: #d1d5db;
}

.upcoming-section{
    display:none;
}

.upcoming-section.active{
    display:block;
}

.upcoming-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:20px;
    margin-top:24px;
}

.upcoming-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:20px;
    display:flex;
    flex-direction:column;
    gap:16px;
}

.upcoming-card-date{
    font-size:13px;
    font-weight:700;
    color:#6b7280;
    text-transform:uppercase;
    letter-spacing:0.5px;
    padding-bottom:12px;
    border-bottom:1px solid #f3f4f6;
}

.upcoming-card-items{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.upcoming-item{
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:12px;
    border-radius:12px;
    background:#fff;
    cursor:pointer;
    transition:transform .2s, box-shadow .2s;
}

.upcoming-item:hover{
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
}

.upcoming-item.brand{
    background:#f0edff;
}

.upcoming-item.logo{
    background:#edf4ff;
}

.upcoming-item.print{
    background:#fff4ea;
}

.upcoming-item.digital{
    background:#ebfff1;
}

.upcoming-item.insight{
    background:#f0edff;
}

.upcoming-item.bts{
    background:#e9fbff;
}

.upcoming-item.showcase{
    background:#ebfff1;
}

.upcoming-item.color-1{
    background:#f0edff;
}

.upcoming-item.color-2{
    background:#edf4ff;
}

.upcoming-item.color-3{
    background:#fff4ea;
}

.upcoming-item.color-4{
    background:#ebfff1;
}

.upcoming-item.color-5{
    background:#fce7f3;
}

.upcoming-item.color-6{
    background:#fef08a;
}

.upcoming-item.color-7{
    background:#e0e7ff;
}

.upcoming-item.color-8{
    background:#f3e8ff;
}

.upcoming-item.color-9{
    background:#dbeafe;
}

.upcoming-item.color-10{
    background:#fed7aa;
}

.upcoming-item.color-11{
    background:#c7d2fe;
}

.upcoming-item.color-12{
    background:#bfdbfe;
}

.upcoming-item.color-13{
    background:#86efac;
}

.upcoming-item-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

.upcoming-date{
    font-size:13px;
    font-weight:700;
    color:#6b7280;
    text-transform:uppercase;
    letter-spacing:0.5px;
}

.upcoming-platform{
    font-size:12px;
    font-weight:700;
    color:#4e29ff;
    text-transform:uppercase;
    letter-spacing:0.5px;
}

.upcoming-platform-wrap{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}

.upcoming-platform-icon{
    width:18px;
    height:18px;
    object-fit:contain;
    flex-shrink:0;
    display:block;
}

.upcoming-item-title{
    font-size:16px;
    font-weight:700;
    color:#111827;
    line-height:1.4;
}

.upcoming-item-time{
    font-size:13px;
    font-weight:500;
    color:#6b7280;
}

.upcoming-status{
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.5px;
    padding:4px 10px;
    border-radius:12px;
    background-color:#ffffff;
}

.upcoming-empty{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:48px 24px;
    text-align:center;
    color:#6b7280;
    font-size:16px;
}

.upcoming-legend{
    margin-top:32px;
    padding:24px;
    background:#f9fafb;
    border-radius:16px;
    border:1px solid #e5e7eb;
}

.legend-title{
    font-size:18px;
    font-weight:700;
    color:#111827;
    margin-bottom:20px;
}

.legend-section{
    margin-bottom:24px;
}

.legend-section:last-child{
    margin-bottom:0;
}

.legend-platform{
    font-size:14px;
    font-weight:700;
    color:#4e29ff;
    text-transform:uppercase;
    letter-spacing:0.5px;
    margin-bottom:12px;
    padding-bottom:12px;
    border-bottom:1px solid #e5e7eb;
}

.legend-item{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:10px;
    padding:8px;
    border-radius:8px;
    background:#fff;
}

.legend-item:last-child{
    margin-bottom:0;
}

.legend-color{
    width:24px;
    height:24px;
    border-radius:6px;
    flex-shrink:0;
}

.legend-color.brand{
    background:#f0edff;
    border:1px solid #d9ceff;
}

.legend-color.logo{
    background:#edf4ff;
    border:1px solid #cfe0ff;
}

.legend-color.print{
    background:#fff4ea;
    border:1px solid #ffd8b3;
}

.legend-color.digital{
    background:#ebfff1;
    border:1px solid #bff3cf;
}

.legend-color.insight{
    background:#f0edff;
    border:1px solid #d9ceff;
}

.legend-color.bts{
    background:#e9fbff;
    border:1px solid #bfeef8;
}

.legend-color.showcase{
    background:#ebfff1;
    border:1px solid #bff3cf;
}

.legend-color.color-1{
    background:#f0edff;
    border:1px solid #d9ceff;
}

.legend-color.color-2{
    background:#edf4ff;
    border:1px solid #cfe0ff;
}

.legend-color.color-3{
    background:#fff4ea;
    border:1px solid #ffd8b3;
}

.legend-color.color-4{
    background:#ebfff1;
    border:1px solid #bff3cf;
}

.legend-color.color-5{
    background:#fce7f3;
    border:1px solid #fbcfe8;
}

.legend-color.color-6{
    background:#fef08a;
    border:1px solid #fde047;
}

.legend-color.color-7{
    background:#e0e7ff;
    border:1px solid #c7d2fe;
}

.legend-color.color-8{
    background:#f3e8ff;
    border:1px solid #e9d5ff;
}

.legend-color.color-9{
    background:#dbeafe;
    border:1px solid #bfdbfe;
}

.legend-color.color-10{
    background:#fed7aa;
    border:1px solid #fdba74;
}

.legend-color.color-11{
    background:#c7d2fe;
    border:1px solid #a5b4fc;
}

.legend-color.color-12{
    background:#bfdbfe;
    border:1px solid #93c5fd;
}

.legend-color.color-13{
    background:#86efac;
    border:1px solid #4ade80;
}

.legend-text{
    font-size:14px;
    font-weight:500;
    color:#111827;
}

@media(max-width:768px){

    .header{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .header-actions{
        width:100%;
        justify-content:center;
        flex-wrap:wrap;
    }

    .logout-btn{
        width:100%;
        order:4;
    }

    .update-btn,
    .refresh-btn,
    .notification-center{
        order:1;
    }

    .notification-panel{
        width:min(92vw, 360px);
        position:fixed;
        left:50%;
        right:auto;
        top:50%;
        transform:translate(-50%, -50%);
        max-height:70vh;
    }

    .calendar{
        grid-template-columns:repeat(1,minmax(0,1fr));
    }

    .day-name{
        display:none;
    }

    .header h1{
        font-size:36px;
    }

    .date{
        font-size:32px;
        letter-spacing:-1px;
    }

    .status-badge{
        font-size:9px;
        padding:2px 7px;
    }

    .upcoming-grid{
        grid-template-columns:1fr;
    }

}
