@import url('./theme.css');
@import url('./main-layout.css');

.page-header
{
    text-align: center;
    margin-bottom: 40px;
}

    .page-header h1
    {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }

    .page-header p
    {
        font-size: 1.1rem;
        color: var(--bs-secondary-color);
    }

.scroll-target
{
    scroll-margin-top: 80px;
}

.content-card
{
    background-color: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    /* New rule for the card's title */
    .content-card .card-title
    {
        font-size: 1.25rem;
        font-weight: 500;
        margin-top: -0.5rem; /* Pulls title up slightly for better alignment */
        margin-bottom: 1.25rem;
    }


/* Theme-Specific Shadows */
[data-bs-theme='light'] .content-card
{
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-bs-theme='dark'] .content-card
{
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Refine the table header style */
.content-card .table thead th
{
    border-bottom-width: 1px;
    border-bottom-color: var(--border-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--bs-secondary-color);
}

/* Remove the top border from the table inside the card */
.content-card .table
{
    --bs-table-border-color: var(--border-color);
    border-top: none;
}