/* L2D Azure AI Theme - Shared Styles */
/* Base Styles */
body {
    font-family: "Segoe UI", "Open Sans", sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    line-height: 1.6;
}

.main-content {
    flex: 1;
    padding: 30px;
    transition: all 0.3s ease-in-out;
    max-width: 1100px;
    /* When sidebar is open: center content in remaining space (100vw - 280px) */
    margin-left: max(280px, calc(50vw - 550px + 140px));
    margin-right: auto;
}

.main-content.expanded {
    /* When sidebar is closed: center content in full viewport */
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
}

/* Header/Nav Bar */
.top-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 5px;
    /* border-bottom: 1px solid var(--border); */
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--third-dark);
    margin: 0;
}

.nav-actions {
    display: flex;
    gap: 5px;
}

/* Text Buttons */
.text-button {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background-color: transparent;
    color: var(--text-primary);
    border: none;
    cursor: pointer;
    transition: color 0.2s, transform 0.1s;
    text-decoration: none;
    font-size: 20px;
    font-weight: 1000;
    white-space: nowrap;
}

.text-button:hover {
    color: var(--secondary);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Footer */
.footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 14px;
}
