:root {
    /* Greenish Glass Theme */
    --panel-bg: rgba(30, 48, 40, 0.45);
    --panel-border: rgba(255, 255, 255, 0.08);
    --panel-shadow: rgba(0, 0, 0, 0.3);
    --text: rgba(255, 255, 255, 0.95);
    --muted: rgba(255, 255, 255, 0.7);
    --chip-bg: rgba(255, 255, 255, 0.08);
    --chip-bg-hover: rgba(255, 255, 255, 0.12);
    --chip-border: rgba(255, 255, 255, 0.1);
    --focus: rgba(132, 215, 98, 0.4);

    --panel-max: 1040px;

    --cal-sidebar: 240px;
    --cal-row-h: 28px;
    --cal-day-w: 118px;
    --cal-grid-line: rgba(255, 255, 255, 0.12);
    --cal-header-line: rgba(255, 255, 255, 0.15);
    --overlay-tint-rgb: 14, 21, 18;
    --overlay-top-alpha: 0.24;
    --overlay-bottom-alpha: 0.35;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    overflow: hidden;

    background: #0e1512;
    background-image: var(--bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(1200px 700px at 20% 10%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 60%),
        linear-gradient(180deg,
            rgba(var(--overlay-tint-rgb), var(--overlay-top-alpha)),
            rgba(var(--overlay-tint-rgb), var(--overlay-bottom-alpha)));
    pointer-events: none;
}

.wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 18px;
    gap: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

.panel {
    width: min(var(--panel-max), 100%);
    border-radius: 20px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    box-shadow: 0 18px 40px var(--panel-shadow);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 26px 26px 22px;
}

.topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 4px 4px 14px;
    align-items: start;
}

.date-time {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.date {
    font-size: 44px;
    font-weight: 520;
    letter-spacing: 0.2px;
    line-height: 1.05;
    user-select: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
    opacity: 0.96;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 12px;
    transition: background 120ms ease, outline-color 120ms ease;
    outline: 1px solid transparent;
}

.date:hover {
    background: rgba(255, 255, 255, 0.07);
}

.date:focus-visible {
    outline-color: var(--focus);
    outline-offset: 2px;
}

.time {
    font-size: 34px;
    font-weight: 520;
    letter-spacing: 0.2px;
    user-select: none;
    cursor: pointer;
    opacity: 0.92;
    padding: 6px 10px;
    border-radius: 12px;
    transition: background 120ms ease, outline-color 120ms ease;
    outline: 1px solid transparent;
    border: 0;
    background: transparent;
    color: var(--text);
}

.time:hover {
    background: rgba(255, 255, 255, 0.07);
}

.time:focus-visible {
    outline-color: var(--focus);
    outline-offset: 2px;
}

.authbox {
    display: grid;
    justify-items: end;
    gap: 10px;
    padding-top: 6px;
}

.auth-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pill {
    height: 34px;
    border-radius: 999px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.10);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    user-select: none;
}

.avatar {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.20);
    display: none;
}

.btn {
    height: 34px;
    border-radius: 999px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.10);
    color: var(--text);
    cursor: pointer;
    transition: background 120ms ease, transform 120ms ease;
    font-size: 13px;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0px);
}

.btn.primary {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.20);
}

.btn.danger {
    background: rgba(255, 80, 80, 0.25);
    border-color: rgba(255, 80, 80, 0.4);
    color: #ffcccc;
}

.btn.danger:hover {
    background: rgba(255, 80, 80, 0.35);
}

.row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 10px 4px;
}

.icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    place-items: center;
    cursor: pointer;
    position: relative;
    transition: transform 120ms ease, background 120ms ease;
    user-select: none;
    color: var(--text);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.icon-btn:active {
    transform: translateY(0px);
}

.icon-btn:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.icon-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.15));
}

.icon-plus {
    font-size: 22px;
    line-height: 1;
    opacity: 0.9;
    transform: translateY(-1px);
}

.search {
    display: grid;
    gap: 12px;
    padding: 14px 4px 10px;
}

.searchbar {
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
}

.searchbar input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 16px;
}

.searchbar input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.search-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    flex: 0 0 auto;
}

.link-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 6px 4px 4px;
    align-items: center;
}

.link-chip {
    min-width: 110px;
    height: 40px;
    border-radius: 12px;
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    cursor: pointer;
    position: relative;
    transition: background 120ms ease, transform 120ms ease;
    user-select: none;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.1px;
}

.link-chip:hover {
    background: var(--chip-bg-hover);
    transform: translateY(-1px);
}

.link-chip:active {
    transform: translateY(0px);
}

.link-chip:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.link-plus {
    font-size: 18px;
    opacity: 0.9;
    transform: translateY(-1px);
}

.del-badge {
    position: absolute;
    top: -7px;
    left: -7px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    transition: opacity 120ms ease, transform 120ms ease;
}

.show-delete .del-badge {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 50;
}

.modal-backdrop.open {
    display: flex;
}

.modal {
    width: min(560px, 100%);
    border-radius: 18px;
    background: rgba(20, 26, 22, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 18px;
}

.modal h2 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 650;
    letter-spacing: 0.2px;
}

.modal p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.form {
    display: grid;
    gap: 12px;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.field input[type="text"],
.field input[type="url"] {
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    outline: none;
    color: var(--text);
    padding: 0 12px;
    font-size: 14px;
}

.field input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.field input[type="file"] {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Calendar modal (bigger) */
/* Calendar Panel (Hidden by default, shown via JS) */
.cal-panel {
    display: none;
    animation: slideIn 0.3s ease forwards;
}

.cal-panel.open {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.cal-title {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cal-shell {
    display: grid;
    grid-template-columns: var(--cal-sidebar) 1fr;
    gap: 14px;
    padding-top: 6px;
    width: 100%;
    overflow: hidden;
}

.cal-sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    padding-right: 12px;
}

.cal-section {
    margin-bottom: 14px;
}

.cal-section h3 {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
    font-weight: 650;
}

.cal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    margin-bottom: 8px;
    user-select: none;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.25);
    flex: 0 0 auto;
}

.cal-main {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.cal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    border-bottom: 1px solid var(--cal-header-line);
}

.cal-toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cal-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cal-btn {
    height: 30px;
    border-radius: 999px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 12px;
}

.cal-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.cal-month {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.2px;
    user-select: none;
}

.cal-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cal-grid {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Week/Day View Grid */
.cal-grid-header {
    display: grid;
    /* 48px time col + dynamic date cols */
    grid-template-columns: 48px repeat(var(--col-count, 7), 1fr);
    border-bottom: 1px solid var(--cal-header-line);
    background: rgba(0, 0, 0, 0.10);
    position: sticky;
    top: 0;
    z-index: 10;
}

.cal-grid-header .cell {
    padding: 10px 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    text-align: center;
    user-select: none;
}

.cal-grid-header .cell strong {
    display: block;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 2px;
    font-weight: 650;
}

.cal-grid-body {
    display: grid;
    grid-template-columns: 48px repeat(var(--col-count, 7), 1fr);
}

.time-col {
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.08);
    position: sticky;
    left: 0;
    z-index: 1;
}

.time-slot {
    height: 30px;
    border-bottom: 1px solid var(--cal-grid-line);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.day-col {
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.slot {
    height: 30px;
    border-bottom: 1px solid var(--cal-grid-line);
    cursor: pointer;
}

.slot:hover {
    background: rgba(255, 255, 255, 0.04);
}

.event {
    position: absolute;
    left: 6px;
    right: 6px;
    border-radius: 8px;
    background: rgba(132, 215, 98, 0.60);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 6px 8px;
    color: rgba(0, 0, 0, 0.75);
    font-size: 11px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    user-select: none;
    cursor: pointer;
    transition: transform 100ms ease, box-shadow 100ms ease;
}

.event:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.event.secondary {
    background: rgba(255, 255, 255, 0.70);
}

.cal-empty {
    padding: 10px 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.70);
}

@media (max-width: 900px) {
    .topbar {
        grid-template-columns: 1fr;
    }

    .authbox {
        justify-items: start;
    }

    .date {
        font-size: 34px;
    }

    .time {
        font-size: 26px;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .icon-btn {
        width: 46px;
        height: 46px;
    }

    .modal.cal {
        width: min(900px, 100%);
    }

    .cal-shell {
        grid-template-columns: 1fr;
    }

    .cal-sidebar {
        border-right: 0;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        padding-bottom: 10px;
    }

    /* Month View Styles */
    .month-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        grid-auto-rows: 1fr;
        /* Equal height rows */
        height: 100%;
        /* Fill container */
        border-left: 1px solid var(--cal-grid-line);
        border-top: 1px solid var(--cal-grid-line);
    }

    .month-cell {
        border-right: 1px solid var(--cal-grid-line);
        border-bottom: 1px solid var(--cal-grid-line);
        padding: 4px;
        min-height: 80px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .month-date {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 4px;
        text-align: right;
        padding-right: 4px;
        color: rgba(255, 255, 255, 0.7);
    }

    .month-event {
        font-size: 10px;
        padding: 2px 4px;
        border-radius: 4px;
        background: rgba(132, 215, 98, 0.6);
        color: rgba(0, 0, 0, 0.8);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: pointer;
    }

    .cal-grid.month-mode .cal-grid-header {
        grid-template-columns: repeat(7, 1fr) !important;
        padding-left: 0;
    }
}

.adv-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.adv-body {
    display: grid;
    grid-template-columns: 1fr 240px;
    flex: 1;
}

.adv-main {
    padding: 16px 24px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.adv-sidebar {
    padding: 16px;
    background: #202124;
}

.adv-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.adv-input {
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    padding: 0 8px;
    outline: none;
    font-family: inherit;
}

.adv-input:hover {
    background: rgba(255, 255, 255, 0.1);
}

.adv-input:focus {
    border-bottom: 2px solid #84d762;
    background: rgba(255, 255, 255, 0.12);
}

/* Specific input types */
.adv-input.date {
    width: 130px;
}

.adv-input.time {
    width: 100px;
}

.adv-input.full {
    width: 100%;
}

.adv-title-input {
    width: 100%;
    font-size: 22px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 0;
    margin-bottom: 20px;
    outline: none;
}

.adv-title-input:focus {
    border-bottom: 2px solid #84d762;
}

.adv-select {
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    padding: 0 8px;
    outline: none;
    cursor: pointer;
}

.adv-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
}

.adv-checkbox input {
    accent-color: #84d762;
    width: 16px;
    height: 16px;
}

.adv-checkbox.small {
    font-size: 13px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

/* Tabs inside modal */
.adv-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.adv-tab {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.adv-tab:hover {
    background: rgba(255, 255, 255, 0.04);
}

.adv-tab.active {
    color: #84d762;
    border-bottom: 2px solid #84d762;
}

/* Icons */
.adv-icon-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.adv-icon {
    width: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    padding-top: 6px;
}

.adv-desc-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-left: 48px;
    /* Align with inputs */
    margin-bottom: 16px;
}

.adv-toolbar {
    display: flex;
    gap: 12px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.adv-toolbar span {
    cursor: pointer;
    opacity: 0.7;
    font-size: 13px;
}

.adv-toolbar span:hover {
    opacity: 1;
}

.adv-desc-box textarea {
    width: 100%;
    min-height: 100px;
    background: transparent;
    border: 0;
    color: #fff;
    padding: 12px;
    outline: none;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
}

.adv-fake-select {
    display: flex;
    align-items: center;
    height: 36px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.adv-owner-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(132, 215, 98, 0.2);
    color: #84d762;
    border-radius: 12px;
    font-size: 13px;
}

.adv-sidebar .adv-section-title {
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.adv-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

/* Gmail Styles */
.gmail-item {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: background 0.1s;
    display: grid;
    gap: 4px;
}

.gmail-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.gmail-item.unread {
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
}

.gmail-item.unread .gmail-subject {
    color: #fff;
    font-weight: 700;
}

.gmail-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.gmail-subject {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.gmail-snippet {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Gmail Panel Specifics */
.gmail-sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.gmail-label-item {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: background 0.1s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gmail-label-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.gmail-label-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 500;
}

.gmail-label-item.drag-over {
    background: rgba(100, 200, 255, 0.2) !important;
    outline: 1px dashed rgba(100, 200, 255, 0.5);
}

.gmail-label-count {
    font-size: 11px;
    opacity: 0.6;
}

/* Gmail Main Area */
.gmail-main {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.gmail-msg-list {
    flex: 1;
    overflow-y: auto;
}

/* Gmail Reader */
.gmail-reader {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.gmail-reader-toolbar {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.gmail-reader-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    color: #ddd;
    line-height: 1.6;
}

.gmail-email-meta {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gmail-email-subject {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.gmail-email-from {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.cal-cell-now {
    background: rgba(132, 215, 98, 0.15);
    border: 1px solid rgba(132, 215, 98, 0.4);
    position: relative;
}

.cal-cell-now::before {
    content: '';
    position: absolute;
    left: 0;
    width: 3px;
    height: 100%;
    background: #84d762;
}
