/* Auth page vertical centering */
.auth-container { min-height: 100vh; }

/* Permanent Sidebar Layout */
.sidebar {
    width: 280px;
    min-height: 100vh;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    transition: margin-left 0.3s ease;
}

.main-content {
    margin-left: 280px;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -280px;
    }
    .sidebar.show {
        margin-left: 0;
    }
    .main-content {
        margin-left: 0;
    }
}

/* Sidebar header styling */
.sidebar-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff;
}

.sidebar-brand {
    color: #dc3545;
    font-weight: bold;
    text-decoration: none;
}

.sidebar-brand:hover {
    color: #c82333;
    text-decoration: none;
}

.trello-card {
    cursor: move;
}

.trello-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.trello-column {
    min-height: 200px;
}

.card-header {
    font-weight: 600;
}

.badge {
    font-size: 0.7em;
}

/* Project combobox styles */
#project-dropdown .dropdown-menu {
    border-radius: 8px;
}

#project-dropdown #current-project-pill {
    width: auto;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
}

.project-item {
    display: flex;
    align-items: center;
}

.project-item::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.75rem;
    background-color: #6c757d; /* default color; overridden via inline data */
}

.project-item[data-color]::before {
    background-color: attr(data-color color, #6c757d);
}

/* Small responsive tweak */
@media (max-width: 768px) {
    #project-dropdown .dropdown-menu { min-width: 220px; }
}