/* StartPack Custom Styles */
/* Tailwind CSS is loaded via CDN in the layout */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

input:focus, textarea:focus {
    outline: none;
}

input::placeholder, textarea::placeholder {
    color: #9ca3af;
}

/* ===================== Left Sidebar (Slack style) ===================== */
/* Independent scroll: sidebar area scrolls separately from main content */
.sidebar-scroll {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Main content area scrolls independently from the fixed sidebar */
html, body {
    height: 100%;
}

body {
    overflow-x: hidden;
}

/* Ensure the main content can scroll independently on desktop */
.md\:ml-64 {
    /* left margin handled by Tailwind; content flows normally and scrolls with body */
}

/* Mobile: hide the hamburger on desktop and show only under md */
@media (max-width: 767px) {
    .md\:ml-64 {
        margin-left: 0 !important;
    }
}

/* ===================== Underline Tabs (design unification) ===================== */
.tabs-underline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    border-bottom: 1px solid #e5e7eb; /* gray-200 */
    margin-bottom: 1.5rem;
}

.tabs-underline > button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280; /* gray-500 */
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.tabs-underline > button:hover {
    color: #374151; /* gray-700 */
}

.tabs-underline > button.active {
    color: #2563eb; /* blue-600 */
    border-bottom-color: #2563eb;
}
