:root {
    --primary-color: #0072BB;
    --secondary-color: #00395d;
    --tertiary-color: #96ca50;
}

#standards-container {
    margin: 48px 0;
}

.ps-row {
    margin-bottom: 24px;
}

/* Typography */
.ps-page-title {
    margin: 0 0 24px;
    color: var(--primary-color);
}

.ps-subtitle {
}

.ps-breadcrumb {
    color: grey;
}

/* Buttons */
.ps-button {
    margin-bottom: 6px;
    padding: 6px 12px;
    border: 1px solid var(--primary-color);
    border-radius: 3px;
    display: inline-block;
}

/* Table of Contents */
.ps-toc {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ps-toc li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ps-toc li a {
    display: block;
    padding: 12px;
    background: white;
    border: 1px solid #dadada;
}

.ps-toc.small li a {
    padding: 6px 12px;
}

.ps-toc li a:hover,
.ps-toc li.active a {
    background: #ededed;
}

.ps-toc li.active a {
    pointer-events: none;
}

.ps-toc h3 {
    padding: 0;
    margin: 0;
}

/* Standards Keyword Search */
.ps-standards-search {
    position: relative;
    max-width: 420px;
}
.ps-standards-search input[type="search"] {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 0.9rem; /* space for icon button on right */
    border: 1px solid #ccc;
    border-radius: 6px;
    line-height: 1.3;
}
.ps-standards-search button {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    padding: 0.25rem;
    cursor: pointer;
    color: #666;
}
.ps-standards-search button:hover { color: #000; }
.ps-standards-search .material-icons { font-size: 20px; vertical-align: middle; }


/* Card */
.ps-card-container {
    display: flex;
    flex-wrap: wrap;
}

.ps-card-col {
    margin-bottom: 24px;
}

.ps-card {
    border: 1px solid lightgrey;
    padding: 24px 12px;
    border-radius: 6px;
    height: 100%;
}

.ps-card-title {
    margin-top: 0;
}

.ps-card-row {
    margin-bottom: 24px;
}

/* Language Toggle */
.language-toggle {
    display: inline-flex;
    gap: 0.5rem;
}

.language-toggle .lang-btn {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #555;
    background: #f0f0f0;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.language-toggle .lang-btn:hover {
    background: #e0e0e0;
    color: #000;
}

.language-toggle .lang-btn.active {
    background: #007bff;
    color: #fff;
    pointer-events: none !important;
}


/* Icon List */
.ps-icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ps-icon-list li {
    display: flex;
    align-items: flex-start;
    margin: 0.5em 0;
}
.ps-icon-list .material-icons {
    font-size: 1.2em;
    margin-right: 0.5em;
}

.ps-accordion {
    display: block;
}

/* Tablet width and above */
@media (min-width: 768px) {
    .align-sm-right {
        text-align: right;
    }
}
