/* Committee Central Custom Styles */

/* Dashboard grid colors — finalized (full saturation) */
.cell-green     { background-color: #70AD47 !important; color: white; }
.cell-yellow    { background-color: #FFD966 !important; color: #333; }
.cell-red       { background-color: #FF0000 !important; color: white; }
.cell-blue      { background-color: #4472C4 !important; color: white; }
.cell-white     { background-color: #ffffff; }
.cell-gray      { background-color: #f8f9fa; color: #aaa; }
.cell-scheduled { background-color: #BFBFBF !important; }

/* Dashboard grid colors — draft (pastel, a few shades lighter) */
.cell-green-draft  { background-color: #C6E0B4 !important; color: #333; }
.cell-yellow-draft { background-color: #FFF2CC !important; color: #333; }

/* Print styles */
@media print {
    nav, footer, .no-print { display: none !important; }
    .container-fluid { padding: 0 !important; }
}

/* Drag reorder handle */
.drag-handle { cursor: grab; color: #aaa; }
.drag-handle:active { cursor: grabbing; }

/* CTA button in emails */
.cta-btn {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

/* Auto-save indicator */
.save-indicator { font-size: 12px; color: #6c757d; }
.save-indicator.saving { color: #fd7e14; }
.save-indicator.saved { color: #198754; }

/* ── Waffle navigation menu ────────────────────────────────────────────────── */
.waffle-nav-item { position: relative; }
.waffle-flyout {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .375rem;
    min-width: 170px;
    z-index: 1050;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.175);
    padding: .25rem 0;
}
.waffle-nav-item:hover .waffle-flyout { display: block; }
.waffle-flyout-item { position: relative; }
.waffle-flyout-item-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .4rem 1rem;
    color: #212529;
    cursor: default;
    white-space: nowrap;
    font-size: .9rem;
    user-select: none;
    text-decoration: none;
}
.waffle-flyout-item:hover > .waffle-flyout-item-label { background: #f8f9fa; }
.waffle-flyout-item > a.waffle-flyout-item-label { cursor: pointer; }
.waffle-submenu {
    display: none;
    position: absolute;
    top: 0;
    right: 100%;
    left: auto;
    background: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .375rem;
    min-width: 170px;
    z-index: 1051;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.175);
    padding: .25rem 0;
}
.waffle-flyout-item:hover > .waffle-submenu { display: block; }
.waffle-submenu a, .waffle-submenu-item {
    display: block;
    padding: .4rem 1rem;
    color: #212529;
    text-decoration: none;
    white-space: nowrap;
    font-size: .9rem;
}
.waffle-submenu a:hover { background: #f8f9fa; }
.waffle-divider { border-top: 1px solid #dee2e6; margin: .25rem 0; }
