/* hub-settings.css - HUB Settings page (employee-only) — Premium Redesign */

/* ============ TAB NAVIGATION ============ */

.hubs-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
}

.hubs-tab {
    padding: 10px 20px;
    border: none;
    background: transparent;
    font-family: 'Futura PT', 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hubs-tab:hover { color: #333; }

.hubs-tab.active {
    color: #1E6332;
    border-bottom-color: #1E6332;
}

.hubs-tab i { font-size: 13px; }

.hubs-tab-panels {
    min-height: 400px;
}

.hubs-tab-panel {
    animation: hubsTabFadeIn 0.2s ease;
}

@keyframes hubsTabFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ PAGE LAYOUT ============ */

/* Make HUB Settings use full viewport width — override .dashboard-content padding */
#page-hub-settings .dashboard-content {
    padding: 1rem 1.5rem;
    overflow-y: auto;
}

.hub-settings-page {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hub-settings-header {
    margin-bottom: 1.75rem;
    position: relative;
}

.hub-settings-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 0.35rem 0;
    letter-spacing: -0.02em;
}

.hub-settings-header h2 i {
    color: #1E6332;
    margin-right: 0.6rem;
    font-size: 1.3rem;
}

.hub-settings-subtitle {
    color: #7c7872;
    font-size: 0.88rem;
    margin: 0;
    font-weight: 400;
}

/* Old two-column layout removed — replaced by tab navigation */

/* ============ SECTION CARDS ============ */

.hub-settings-section {
    background: #fff;
    border: 1px solid #e2ddd6;
    border-radius: 16px;
    margin-bottom: 1.75rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
}

.hub-settings-section:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.hub-settings-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.5rem;
    background: linear-gradient(135deg, #fafaf8 0%, #f5f3f0 100%);
    border-bottom: 1px solid #e8e4de;
}

.hub-settings-section-header h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.01em;
}

.hub-settings-section-header h4 i {
    color: #C08B3E;
    margin-right: 0.6rem;
    font-size: 0.95rem;
}

.hub-settings-section-body {
    padding: 1.5rem;
}

/* Action button — glassmorphism style */
.hub-settings-action-btn {
    background: linear-gradient(135deg, #1E6332 0%, #27804a 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.5rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(30, 99, 50, 0.25);
    letter-spacing: 0.01em;
}

.hub-settings-action-btn:hover {
    background: linear-gradient(135deg, #16522a 0%, #1E6332 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30, 99, 50, 0.35);
}

.hub-settings-action-btn:active {
    transform: translateY(0);
}

/* ============ NEW/EDIT ANNOUNCEMENT FORM ============ */

.hub-new-announcement {
    background: linear-gradient(135deg, #fafbf9 0%, #f5f7f3 100%);
    border: 1px solid #d5dece;
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    animation: hubFormSlideIn 0.3s ease both;
}

@keyframes hubFormSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hub-ann-form-title-row {
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e0ddd5;
}

.hub-ann-form-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.hub-ann-form-group {
    margin-bottom: 1.15rem;
}

.hub-ann-form-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #3d3a37;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hub-ann-form-label i {
    color: #C08B3E;
    width: 14px;
    text-align: center;
    font-size: 0.72rem;
}

/* Shared input styling */
.hub-new-announcement textarea,
.hub-new-announcement input[type="text"],
.hub-ann-cat-field select,
.hub-ann-schedule-field input[type="datetime-local"] {
    width: 100%;
    border: 1.5px solid #d5d0c8;
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    font-family: 'Futura PT', 'Jost', sans-serif;
    outline: none;
    box-sizing: border-box;
    background: #fff;
    color: #231F20;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hub-new-announcement textarea:focus,
.hub-new-announcement input[type="text"]:focus,
.hub-ann-cat-field select:focus,
.hub-ann-schedule-field input[type="datetime-local"]:focus {
    border-color: #1E6332;
    box-shadow: 0 0 0 3px rgba(30, 99, 50, 0.1);
}

.hub-new-announcement textarea {
    resize: vertical;
    min-height: 80px;
}

.hub-ann-char-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.2rem;
}

.hub-ann-char-count {
    font-size: 0.7rem;
    color: #8a8580;
}

/* ============ CATEGORY + PRIORITY ROW ============ */

.hub-ann-cat-priority-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.hub-ann-cat-field {
    flex: 1;
    min-width: 0;
}

.hub-ann-cat-field select {
    cursor: pointer;
}

.hub-ann-cat-preview {
    margin-top: 0.35rem;
}

.hub-ann-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hub-ann-cat-chip i {
    font-size: 0.62rem;
}

/* ── Custom Category Dropdown ── */

.hub-cat-dropdown {
    position: relative;
    width: 100%;
}

.hub-cat-dropdown-trigger {
    width: 100%;
    border: 1.5px solid #d5d0c8;
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    outline: none;
    box-sizing: border-box;
    font-family: 'Futura PT', 'Jost', sans-serif;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.hub-cat-dropdown-trigger:hover {
    border-color: #b0a8a0;
    background: #fcfcfb;
}

.hub-cat-dropdown-trigger.open {
    border-color: #1E6332;
    box-shadow: 0 0 0 3px rgba(30, 99, 50, 0.1);
    background: #fff;
}

.hub-cat-dropdown-trigger .hub-cat-selected-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hub-cat-dropdown-trigger .hub-cat-selected-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.hub-cat-dropdown-trigger:hover .hub-cat-selected-icon {
    transform: scale(1.08);
}

.hub-cat-dropdown-trigger .hub-cat-selected-label {
    font-weight: 700;
    color: #231F20;
    font-size: 0.85rem;
}

.hub-cat-dropdown-trigger .hub-cat-chevron {
    font-size: 0.62rem;
    color: #8a8580;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hub-cat-dropdown-trigger.open .hub-cat-chevron {
    transform: rotate(180deg);
}

.hub-cat-dropdown-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2ddd6;
    border-radius: 14px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.02);
    z-index: 100;
    padding: 8px;
    display: none;
}

.hub-cat-dropdown-panel.open {
    display: block;
    animation: hubCatDropIn 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes hubCatDropIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hub-cat-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.hub-cat-option:hover {
    background: #f8f9fa;
    transform: translateX(2px);
}

.hub-cat-option.active {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f8ec 100%);
    box-shadow: inset 0 0 0 1px rgba(30, 99, 50, 0.12);
}

.hub-cat-option-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.hub-cat-option:hover .hub-cat-option-icon {
    transform: scale(1.1);
}

.hub-cat-option-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 1px;
}

.hub-cat-option-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #231F20;
}

.hub-cat-option-desc {
    font-size: 0.7rem;
    color: #8a8580;
    line-height: 1.25;
}

.hub-cat-option-check {
    font-size: 0.78rem;
    color: #1E6332;
    opacity: 0;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.hub-cat-option.active .hub-cat-option-check {
    opacity: 1;
    transform: scale(1.1);
}

/* ============ PRIORITY BUTTONS ============ */

.hub-ann-priority-field {
    flex: 0 0 auto;
}

.hub-ann-priority-btns {
    display: flex;
    gap: 0;
    border: 1.5px solid #d5d0c8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.hub-ann-pri-btn {
    background: #fff;
    border: none;
    border-right: 1px solid #e8e4de;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    color: #8a8580;
    cursor: pointer;
    font-family: 'Futura PT', 'Jost', sans-serif;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.hub-ann-pri-btn:last-child {
    border-right: none;
}

.hub-ann-pri-btn:hover {
    background: #f8f9fa;
    color: #5a5550;
}

.hub-ann-pri-btn.active {
    color: #1E6332;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    font-weight: 800;
    box-shadow: inset 0 -2.5px 0 #1E6332;
}

.hub-ann-pri-btn.active[data-priority="important"] {
    color: #d97706;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    box-shadow: inset 0 -2.5px 0 #d97706;
}

.hub-ann-pri-btn.active[data-priority="urgent"] {
    color: #dc2626;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    box-shadow: inset 0 -2.5px 0 #dc2626;
    animation: hubPriUrgentPulse 2s ease-in-out infinite;
}

@keyframes hubPriUrgentPulse {
    0%, 100% { box-shadow: inset 0 -2.5px 0 #dc2626; }
    50% { box-shadow: inset 0 -2.5px 0 #dc2626, 0 0 12px rgba(220, 38, 38, 0.2); }
}

/* ============ REQUIRE ACKNOWLEDGMENT ============ */

.hub-ann-ack-toggle {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f8ec 100%);
    border: 1.5px solid #bbf7d0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s;
}

.hub-ann-ack-toggle:hover {
    border-color: #86efac;
}

.hub-ann-ack-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #1E6332;
    cursor: pointer;
}

.hub-ann-ack-label input[type="checkbox"] {
    accent-color: #1E6332;
    width: 18px;
    height: 18px;
}

.hub-ann-ack-label i {
    font-size: 0.88rem;
}

.hub-ann-ack-hint {
    display: block;
    font-size: 0.72rem;
    color: #6b7280;
    margin-top: 0.3rem;
    margin-left: 1.8rem;
    line-height: 1.4;
}

/* ============ RICH TEXT EDITOR ============ */

.hub-rte-wrap {
    border: 1.5px solid #d5d0c8;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hub-rte-wrap:focus-within {
    border-color: #1E6332;
    box-shadow: 0 0 0 3px rgba(30, 99, 50, 0.1);
}

/* Toolbar */
.hub-rte-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 8px 10px;
    background: linear-gradient(180deg, #fafaf8 0%, #f3f1ee 100%);
    border-bottom: 1px solid #e5e1da;
    align-items: center;
}

.hub-rte-toolbar-group {
    display: flex;
    align-items: center;
    gap: 1px;
}

.hub-rte-toolbar-sep {
    width: 1px;
    height: 22px;
    background: #d5d0c8;
    margin: 0 5px;
    flex-shrink: 0;
}

.hub-rte-btn {
    background: none;
    border: 1px solid transparent;
    border-radius: 6px;
    width: 32px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    font-size: 0.78rem;
    transition: all 0.15s ease;
    padding: 0;
    font-family: 'Futura PT', 'Jost', sans-serif;
}

.hub-rte-btn:hover {
    background: #e8f5ee;
    color: #1E6332;
    border-color: #bbf7d0;
}

.hub-rte-btn.active {
    background: #dcfce7;
    color: #1E6332;
    border-color: #86efac;
    box-shadow: 0 1px 3px rgba(30, 99, 50, 0.1);
}

.hub-rte-select {
    height: 30px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: none;
    font-size: 0.74rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0 6px;
    font-family: 'Futura PT', 'Jost', sans-serif;
    outline: none;
}

.hub-rte-select:hover {
    background: #e8f5ee;
    border-color: #bbf7d0;
    color: #1E6332;
}

.hub-rte-color {
    width: 28px;
    height: 28px;
    border: 1px solid #d5d0c8;
    border-radius: 6px;
    padding: 2px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s;
}

.hub-rte-color:hover {
    border-color: #1E6332;
}

/* Editor area */
.hub-rte-editor {
    min-height: 220px;
    max-height: 500px;
    overflow-y: auto;
    padding: 16px 18px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #231F20;
    outline: none;
    font-family: 'Futura PT', 'Jost', sans-serif;
    word-break: break-word;
}

.hub-rte-editor:empty::before {
    content: attr(data-placeholder);
    color: #b0a8a0;
    pointer-events: none;
    font-style: italic;
}

.hub-rte-editor h1 { font-size: 1.5rem; font-weight: 700; margin: 0.5em 0 0.3em; color: #231F20; }
.hub-rte-editor h2 { font-size: 1.25rem; font-weight: 700; margin: 0.5em 0 0.3em; color: #231F20; }
.hub-rte-editor h3 { font-size: 1.05rem; font-weight: 700; margin: 0.5em 0 0.3em; color: #231F20; }
.hub-rte-editor p { margin: 0 0 0.5em; }
.hub-rte-editor ul, .hub-rte-editor ol { margin: 0 0 0.5em; padding-left: 1.5em; }
.hub-rte-editor a { color: #1E6332; text-decoration: underline; }
.hub-rte-editor hr { border: none; border-top: 2px solid #e5e1da; margin: 1em 0; }
.hub-rte-editor blockquote {
    border-left: 3px solid #1E6332;
    margin: 0.5em 0;
    padding: 0.4em 0.8em;
    background: #f0fdf4;
    color: #3d3a37;
}

/* Inline images/videos in editor */
.hub-rte-editor img {
    max-width: 100%;
    border-radius: 10px;
    margin: 8px 0;
    display: block;
}

.hub-rte-editor video,
.hub-rte-editor iframe {
    max-width: 100%;
    border-radius: 10px;
    margin: 8px 0;
    display: block;
}

/* HTML source view */
.hub-rte-source {
    width: 100%;
    min-height: 220px;
    max-height: 500px;
    border: none;
    padding: 16px 18px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #231F20;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    background: #faf9f7;
}

/* ============ ATTACHMENTS ============ */

.hub-att-zone {
    background: transparent;
}

.hub-att-droparea {
    border: 2px dashed #ccc8c0;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: #fefefe;
}

.hub-att-droparea:hover {
    border-color: #1E6332;
    background: linear-gradient(135deg, #f6fef8 0%, #f0fdf4 100%);
}

.hub-att-droparea.hub-att-drop-active {
    border-color: #1E6332;
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
    box-shadow: 0 0 0 4px rgba(30, 99, 50, 0.12);
    transform: scale(1.01);
}

.hub-att-droparea i {
    font-size: 1.5rem;
    color: #c0b8ae;
    transition: all 0.2s;
}

.hub-att-droparea:hover i {
    color: #1E6332;
    transform: translateY(-2px);
}

.hub-att-droparea span {
    font-size: 0.82rem;
    color: #8a8580;
}

.hub-att-droparea strong {
    color: #1E6332;
}

.hub-att-hint {
    font-size: 0.7rem !important;
    color: #b0a8a0 !important;
}

/* Attachment list */
.hub-att-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 0.65rem;
}

.hub-att-list:empty {
    display: none;
}

.hub-att-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.75rem;
    background: #fff;
    border: 1px solid #e8e4de;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.hub-att-item:hover {
    background: #f6fef8;
    border-color: #bbf7d0;
    transform: translateX(2px);
}

.hub-att-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.hub-att-item-icon.pdf   { background: #fef2f2; color: #dc2626; }
.hub-att-item-icon.image { background: #f0fdf4; color: #22c55e; }
.hub-att-item-icon.video { background: #eff6ff; color: #3b82f6; }
.hub-att-item-icon.doc   { background: #eff6ff; color: #2563eb; }
.hub-att-item-icon.other { background: #f3f4f6; color: #6b7280; }

.hub-att-item-info {
    flex: 1;
    min-width: 0;
}

.hub-att-item-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #231F20;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hub-att-item-size {
    font-size: 0.68rem;
    color: #8a8580;
}

.hub-att-item-remove {
    background: none;
    border: none;
    color: #c0b8ae;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    transition: all 0.15s;
    flex-shrink: 0;
}

.hub-att-item-remove:hover {
    color: #dc2626;
    background: #fef2f2;
}

/* Upload progress */
.hub-ann-upload-progress {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.hub-ann-upload-bar {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.hub-ann-upload-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1E6332, #22c55e);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

#hubAnnUploadStatus {
    font-size: 0.72rem;
    color: #8a8580;
    white-space: nowrap;
}

/* Legacy media preview */
.hub-ann-media-preview-area { width: 100%; }
.hub-ann-media-preview-area img,
.hub-ann-media-preview-area video {
    border-radius: 10px;
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

/* ============ SCHEDULE SECTION ============ */

.hub-ann-schedule-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.hub-ann-schedule-field {
    flex: 1;
}

.hub-ann-schedule-field label {
    display: block;
    font-size: 0.72rem;
    color: #8a8580;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

/* Schedule preset buttons */
.hub-ann-schedule-presets {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.hub-ann-preset-label {
    font-size: 0.72rem;
    color: #8a8580;
    font-weight: 700;
    margin-right: 0.1rem;
}

.hub-ann-schedule-presets button {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    color: #3d3a37;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'Futura PT', 'Jost', sans-serif;
    font-weight: 500;
}

.hub-ann-schedule-presets button:hover {
    background: #e8f5ee;
    border-color: #1E6332;
    color: #1E6332;
    transform: translateY(-1px);
}

.hub-ann-preset-clear {
    color: #dc2626 !important;
    border-color: #fecaca !important;
    background: #fef2f2 !important;
}

.hub-ann-preset-clear:hover {
    background: #fee2e2 !important;
    border-color: #dc2626 !important;
}

/* ============ FORM FOOTER ============ */

.hub-ann-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e0ddd5;
    margin-top: 0.75rem;
}

.hub-announcement-form-actions {
    display: flex;
    gap: 0.6rem;
}

.hub-settings-cancel-btn {
    background: #fff;
    border: 1.5px solid #d5d0c8;
    border-radius: 10px;
    padding: 0.5rem 1.15rem;
    font-size: 0.82rem;
    color: #8a8580;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.hub-settings-cancel-btn:hover {
    border-color: #8a8580;
    color: #3d3a37;
    background: #fafaf8;
}

.hub-settings-save-btn {
    background: linear-gradient(135deg, #1E6332 0%, #27804a 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.5rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(30, 99, 50, 0.2);
}

.hub-settings-save-btn:hover {
    background: linear-gradient(135deg, #16522a 0%, #1E6332 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30, 99, 50, 0.3);
}

.hub-settings-save-btn:active {
    transform: translateY(0);
}

/* ============ ANNOUNCEMENTS LIST ============ */

.hub-announcements-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hub-ann-section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: #8a8580;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.65rem 0 0.4rem;
    border-bottom: 1.5px solid #f0ece6;
    margin-bottom: 0.35rem;
}

/* ── Announcement Row — Premium Style ── */

.hub-announcement-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1rem;
    border: 1px solid #ece9e3;
    background: #fff;
    transition: all 0.2s ease;
    border-radius: 12px;
    margin-bottom: 10px;
}

.hub-announcement-row:last-child {
    margin-bottom: 0;
}

.hub-announcement-row:hover {
    background: #fafbf9;
    border-color: #ddd9d2;
}

.hub-announcement-row-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #C08B3E, #a07030);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.72rem;
    flex-shrink: 0;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(192, 139, 62, 0.25);
}

.hub-announcement-row-body {
    flex: 1;
    min-width: 0;
}

.hub-announcement-row-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
}

.hub-announcement-row-author {
    font-weight: 700;
    font-size: 0.82rem;
    color: #1a1a1a;
}

.hub-announcement-row-time {
    font-size: 0.7rem;
    color: #a09a94;
}

.hub-announcement-row-content {
    font-size: 0.84rem;
    color: #4a4540;
    line-height: 1.55;
    word-break: break-word;
}

/* Rich content preview in list */
.hub-rte-preview h1 { font-size: 1.1rem; font-weight: 700; margin: 0.3em 0; }
.hub-rte-preview h2 { font-size: 1rem; font-weight: 700; margin: 0.3em 0; }
.hub-rte-preview h3 { font-size: 0.9rem; font-weight: 700; margin: 0.3em 0; }
.hub-rte-preview p { margin: 0 0 0.3em; }
.hub-rte-preview img { max-width: 200px; max-height: 120px; border-radius: 8px; margin: 4px 0; }
.hub-rte-preview video, .hub-rte-preview iframe { max-width: 200px; max-height: 120px; border-radius: 8px; margin: 4px 0; }
.hub-rte-preview a { color: #1E6332; }
.hub-rte-preview hr { border: none; border-top: 1px solid #e5e1da; margin: 0.5em 0; }
.hub-rte-preview ul, .hub-rte-preview ol { margin: 0 0 0.3em; padding-left: 1.2em; }

/* Attachment badges in list */
.hub-ann-att-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 0.5rem;
}

.hub-ann-att-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #3d3a37;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.15s;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hub-ann-att-chip:hover {
    background: #e8f5ee;
    border-color: #1E6332;
    color: #1E6332;
    transform: translateY(-1px);
}

.hub-ann-att-chip i {
    font-size: 0.72rem;
    flex-shrink: 0;
}

/* ============ ANNOUNCEMENT BADGES ============ */

.hub-ann-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 5px;
    white-space: nowrap;
}

/* Title in list */
.hub-announcement-row-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

/* Priority badges in list */
.hub-ann-pri-badge {
    font-size: 0.58rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 5px;
}

.hub-ann-pri-badge.important {
    color: #d97706;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.hub-ann-pri-badge.urgent {
    color: #dc2626;
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    animation: hubUrgentFlash 2s ease-in-out infinite;
}

@keyframes hubUrgentFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Ack required badge in list */
.hub-ann-ack-badge {
    font-size: 0.58rem;
    font-weight: 700;
    color: #0d9488;
    background: #f0fdfa;
    padding: 2px 7px;
    border-radius: 5px;
}

/* Banner badge in list */
.hub-ann-banner-badge {
    font-size: 0.58rem;
    font-weight: 700;
    color: #b45309;
    background: #fffbeb;
    padding: 2px 7px;
    border-radius: 5px;
}

/* Schedule badges */
.hub-ann-schedule-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 5px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.hub-ann-schedule-badge.scheduled {
    color: #3b82f6;
    background: #eff6ff;
}

.hub-ann-schedule-badge.expiring {
    color: #f59e0b;
    background: #fffbeb;
}

.hub-ann-schedule-badge.expired {
    color: #dc2626;
    background: #fef2f2;
}

/* Inline ack stats */
.hub-ann-ack-stats {
    display: flex;
    gap: 0.85rem;
    margin-top: 0.5rem;
    padding-top: 0.4rem;
    border-top: 1px dashed #e5e1da;
}

.hub-ann-ack-stat {
    font-size: 0.7rem;
    color: #8a8580;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.hub-ann-ack-stat.seen i { color: #f59e0b; }
.hub-ann-ack-stat.acked i { color: #22c55e; }

/* Media preview in list */
.hub-ann-media-preview {
    margin-top: 0.5rem;
    position: relative;
    display: inline-block;
}

.hub-ann-media-badge {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.6rem;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 600;
}

/* ============ ACTION BUTTONS ============ */

.hub-announcement-row-actions {
    display: flex;
    gap: 0.3rem;
    flex-shrink: 0;
    padding-top: 0.2rem;
}

.hub-ann-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 7px;
    font-size: 0.78rem;
    transition: all 0.2s ease;
    color: #c0b8ae;
}

.hub-ann-action-btn:hover {
    background: #f3f4f6;
    transform: scale(1.1);
}

.hub-ann-action-btn.edit:hover   { color: #3b82f6; background: #eff6ff; }
.hub-ann-action-btn.archive:hover { color: #f59e0b; background: #fffbeb; }
.hub-ann-action-btn.restore:hover { color: #22c55e; background: #f0fdf4; }
.hub-ann-action-btn.delete:hover  { color: #dc2626; background: #fef2f2; }
.hub-ann-action-btn.stats:hover   { color: #0d9488; background: #f0fdfa; }

/* ============ ANNOUNCEMENT ANALYTICS OVERLAY ============ */

.ann-analytics-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 24px;
}
.ann-analytics-overlay.active { opacity: 1; }

.ann-analytics-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 860px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0,0,0,0.3);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.ann-analytics-overlay.active .ann-analytics-modal {
    transform: translateY(0) scale(1);
}

/* Header */
.ann-analytics-header {
    background: linear-gradient(145deg, #1E6332 0%, #28804a 40%, #1a5a2c 100%);
    color: #fff;
    padding: 22px 28px 20px;
    flex-shrink: 0;
}
.ann-analytics-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.ann-analytics-header-left {
    font-size: 0.82rem;
    font-weight: 700;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 7px;
}
.ann-analytics-close {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s;
}
.ann-analytics-close:hover { background: rgba(255,255,255,0.25); }

.ann-analytics-header-ann {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.ann-analytics-header-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 4px;
}
.ann-analytics-header-meta {
    font-size: 0.78rem;
    opacity: 0.7;
}

/* Loading */
.ann-analytics-loading {
    text-align: center;
    padding: 3rem;
    color: #1E6332;
    font-size: 0.9rem;
}
.ann-analytics-loading i { margin-right: 6px; }

/* Body */
.ann-analytics-body {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-height: 0;
    flex: 1;
}

/* KPI Cards */
.ann-an-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}
.ann-an-kpi {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #f0ede8;
    background: #fafaf8;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ann-an-kpi:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.ann-an-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.ann-an-kpi-data { min-width: 0; }
.ann-an-kpi-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
}
.ann-an-kpi-pct {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8a8580;
    margin-left: 4px;
}
.ann-an-kpi-label {
    font-size: 0.72rem;
    color: #8a8580;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Progress Bars */
.ann-an-progress-section {
    padding: 16px 20px;
    background: #fafaf8;
    border-radius: 14px;
    border: 1px solid #f0ede8;
}
.ann-an-progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.ann-an-progress-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4a4540;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ann-an-progress-value {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1a1a1a;
}
.ann-an-progress-bar {
    height: 10px;
    border-radius: 5px;
    background: #e8e4df;
    overflow: hidden;
}
.ann-an-progress-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.ann-an-progress-fill.reach {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.ann-an-progress-fill.ack {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

/* Snapshot Notice */
.ann-an-snapshot-notice {
    font-size: 0.75rem;
    color: #6b7280;
    background: #f8f7f5;
    border: 1px solid #ece9e3;
    border-left: 3px solid #f59e0b;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ann-an-snapshot-notice i { color: #f59e0b; flex-shrink: 0; }

/* Lifecycle Info Strip */
.ann-an-lifecycle {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: #f8f7f5;
    border: 1px solid #ece9e3;
    border-radius: 10px;
    flex-wrap: wrap;
}
.ann-an-lifecycle-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    padding: 4px 10px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #f0ede8;
}
.ann-an-lifecycle-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ann-an-lifecycle-label {
    color: #8a8580;
    font-weight: 500;
}
.ann-an-lifecycle-val {
    color: #3a3530;
    font-weight: 600;
}

/* Daily Trend Chart */
.ann-an-chart-section {
    background: #fafaf8;
    border: 1px solid #f0ede8;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 16px;
}
.ann-an-chart-header {
    font-size: 0.78rem;
    font-weight: 700;
    color: #4a4540;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ann-an-chart-wrap {
    position: relative;
    height: 180px;
}

/* Filter Tabs + Table */
.ann-an-table-section {
    flex-shrink: 0;
}
.ann-an-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}
.ann-an-filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.ann-an-filter-tab {
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid #e8e4df;
    background: #fff;
    font-size: 0.74rem;
    font-weight: 600;
    color: #6b6560;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ann-an-filter-tab span {
    background: #f0ede8;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
}
.ann-an-filter-tab:hover { border-color: #1E6332; color: #1E6332; }
.ann-an-filter-tab.active {
    background: #1E6332;
    border-color: #1E6332;
    color: #fff;
}
.ann-an-filter-tab.active span {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.ann-an-showing-count {
    font-size: 0.72rem;
    color: #8a8580;
    font-weight: 500;
}

/* User Search */
.ann-an-search-wrap {
    position: relative;
    margin-bottom: 10px;
}
.ann-an-search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a8580;
    font-size: 0.82rem;
}
.ann-an-search {
    width: 100%;
    padding: 8px 12px 8px 34px;
    border: 1px solid #e8e4df;
    border-radius: 10px;
    font-size: 0.82rem;
    font-family: inherit;
    outline: none;
    background: #fafaf8;
    transition: border-color 0.2s;
}
.ann-an-search:focus {
    border-color: #1E6332;
    background: #fff;
}
.ann-an-search::placeholder { color: #b5b0a8; }

/* User Table */
.ann-an-table-wrap {
    min-height: 120px;
    max-height: 400px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #f0ede8;
    border-radius: 12px;
}
.ann-an-table-wrap::-webkit-scrollbar { width: 5px; }
.ann-an-table-wrap::-webkit-scrollbar-track { background: transparent; }
.ann-an-table-wrap::-webkit-scrollbar-thumb { background: #d5d0c8; border-radius: 3px; }

.ann-an-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.ann-an-table thead th {
    position: sticky;
    top: 0;
    background: #f8f6f3;
    padding: 10px 14px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: #8a8580;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #e8e4df;
    z-index: 1;
}
.ann-an-user-row td {
    padding: 10px 14px;
    border-bottom: 1px solid #f5f2ef;
    vertical-align: middle;
}
.ann-an-user-row:last-child td { border-bottom: none; }
.ann-an-user-row:hover td { background: #fafaf8; }

/* User cell */
.ann-an-user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.ann-an-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E6332, #28a745);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}
.ann-an-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.ann-an-user-info strong {
    font-size: 0.82rem;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ann-an-user-info span {
    font-size: 0.68rem;
    color: #8a8580;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status pill */
.ann-an-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}
.ann-an-status-pill.acked { background: #f0fdf4; color: #16a34a; }
.ann-an-status-pill.seen { background: #fefce8; color: #b45309; }
.ann-an-status-pill.not-seen { background: #f8fafc; color: #94a3b8; }

/* Row tinting */
.ann-an-user-row.not-seen td { opacity: 0.6; }

/* Pagination */
.ann-an-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 0 2px;
}
.ann-an-pg-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e8e4df;
    background: #fff;
    color: #1E6332;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s;
}
.ann-an-pg-btn:hover:not(:disabled) { background: #1E6332; color: #fff; border-color: #1E6332; }
.ann-an-pg-btn:disabled { opacity: 0.35; cursor: default; }
.ann-an-pg-info {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b6560;
}

/* ============ INFO BOX ============ */

.hub-settings-info {
    background: linear-gradient(135deg, #fafaf8, #f5f3f0);
    border: 1px solid #e2ddd6;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    font-size: 0.82rem;
    color: #7c7872;
    margin-bottom: 1.15rem;
    line-height: 1.5;
}

.hub-settings-info i {
    color: #C08B3E;
    margin-right: 0.4rem;
}

/* ============ WIDGET DEFAULTS — DRAG & DROP ============ */

.hub-widget-defaults-sort {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hub-sort-item {
    display: flex;
    align-items: center;
    padding: 0.7rem 0.6rem;
    border-bottom: 1px solid #f0ece6;
    transition: all 0.15s ease;
    border-radius: 8px;
    cursor: grab;
    user-select: none;
}

.hub-sort-item:last-child {
    border-bottom: none;
}

.hub-sort-item:hover {
    background: #fafbf9;
    transform: translateX(2px);
}

.hub-sort-item-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1;
    min-width: 0;
}

.hub-sort-grip {
    color: #c0b8ae;
    font-size: 0.82rem;
    cursor: grab;
    padding: 2px 4px;
    transition: color 0.15s;
}

.hub-sort-item:hover .hub-sort-grip {
    color: #1E6332;
}

.hub-sort-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.87rem;
    color: #3d3a37;
    cursor: pointer;
    font-weight: 500;
}

.hub-sort-toggle input[type="checkbox"] {
    accent-color: #1E6332;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.hub-sort-toggle i {
    color: #8a8580;
    width: 18px;
    text-align: center;
    font-size: 0.82rem;
}

/* Hub drag visual feedback */
.hub-sort-dragging {
    opacity: 0.3;
    background: #f0faf4;
}

.hub-sort-drop-above {
    box-shadow: 0 -3px 0 0 #1E6332;
}

.hub-sort-drop-below {
    box-shadow: 0 3px 0 0 #1E6332;
}

/* ============ LOADING / EMPTY STATES ============ */

.hub-settings-loading {
    text-align: center;
    padding: 2.5rem;
    color: #8a8580;
    font-size: 0.88rem;
}

.hub-settings-loading i {
    color: #1E6332;
    margin-right: 0.4rem;
}

.hub-settings-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #8a8580;
}

.hub-settings-empty i {
    font-size: 2rem;
    color: #d5d0c8;
    margin-bottom: 0.75rem;
    display: block;
}

.hub-settings-empty p {
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
}
