/* View-Specific Styles (Dashboard, Settings, etc.) */

.center-absolute {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Settings/Dashboard container */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
}

.gantt-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px 16px 24px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.gantt-wrapper-box {
    margin-bottom: 32px;
    padding-top: 16px;
}

.task-comments-box {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
}

.branding-col {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.comments-list-container {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

.editor-container {
    min-height: 150px;
    height: auto;
    margin-bottom: 12px;
    background: white;
    resize: vertical;
    overflow: hidden; /* Hide the main container scroll, let Quill scroll internally */
    display: flex;
    flex-direction: column;
}

.editor-container .ql-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.editor-container .ql-editor {
    flex: 1;
}

.editor-container-lg {
    min-height: 200px;
    height: auto;
    margin-bottom: 16px;
    background: white;
    resize: vertical;
    overflow-y: auto;
}

.inline-edit-container {
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
}

/* Replaced Inline Styles */
#top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

#app-title-display {
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
    color: var(--text-main);
}

#live-clock {
    font-size: 1.1rem;
    white-space: nowrap;
    color: var(--text-main);
}

.top-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#user-profile-nav {
    margin-right: 24px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    color: white;
}

.nav-icons-container {
    gap: 24px;
}

.editor-container-inline {
    min-height: 150px;
    margin-bottom: 12px;
    resize: vertical;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.task-files-container {
    background: var(--bg-alt);
    border-color: var(--border);
}

.h-24 {
    height: 24px;
}

.search-comments-input {
    width: 250px;
}

.settings-accent-color {
    height: 36px;
    width: 100px;
    cursor: pointer;
}

.help-flex-container {
    height: calc(100vh - 200px);
}

.help-sidebar {
    width: 250px;
    overflow-y: auto;
    flex-shrink: 0;
    border-radius: 12px;
}

.help-content {
    overflow-y: auto;
    border-radius: 12px;
}

/* Settings Sidebar Layout */
.settings-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-top: 16px;
}

.settings-sidebar {
    width: 260px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 24px;
}

.settings-sidebar-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-sidebar-group.hidden {
    display: none !important;
}

.settings-sidebar-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 8px 12px 4px 12px;
}

.settings-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    justify-content: flex-start;
}

.settings-nav-btn:hover {
    background: var(--glass-highlight);
    color: var(--text-main);
    transform: none;
}

.settings-nav-btn.active {
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--primary-glow);
    border-color: transparent;
}

.settings-nav-btn.active svg {
    color: #ffffff;
}

.settings-pane {
    display: block;
}

.settings-pane.hidden {
    display: none !important;
}

