/*
  Running Squiz Matrix
  Developed by Squiz - http://www.squiz.net
  Squiz, Squiz Matrix, MySource, MySource Matrix and Squiz.net are registered Trademarks of Squiz Pty Ltd
  Page generated: 17 June 2026 19:31:07
*/


/* Search Container */
.search-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.search-input-wrapper {
    margin-bottom: 15px;
}

.search-input-wrapper:last-child {
    margin-bottom: 0;
}

.search-input-wrapper label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555555;
}

.search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
    border-color: #6e3694;
    box-shadow: 0 0 0 2px rgba(110, 54, 148, 0.1);
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-top: 4px;
    padding: 0;
    list-style: none;
    background: white;
    border: 2px solid #6e3694;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 250px;
    overflow-y: auto;
}

.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    color: #333333;
    font-size: 14px;
}

.autocomplete-item:first-child {
    border-radius: 2px 2px 0 0;
}

.autocomplete-item:hover,
.autocomplete-item-active {
    background-color: #6e3694;
    color: white;
}

.autocomplete-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child:not(.autocomplete-more) {
    border-radius: 0 0 2px 2px;
}

.autocomplete-more {
    padding: 10px 15px;
    color: #6e3694;
    font-size: 13px;
    font-weight: 600;
    background-color: #f9f9f9;
    text-align: center;
    border-top: 2px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-radius: 0 0 2px 2px;
}

.autocomplete-more:hover {
    background-color: #f3e8f9;
    color: #5a2b78;
}

.autocomplete-more-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 16px;
    text-align: center;
    background-color: #6e3694;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    margin-right: 6px;
    vertical-align: middle;
}

.autocomplete-more:hover .autocomplete-more-icon {
    background-color: #5a2b78;
}

/* Results Container */
#results-container {
    margin-top: 20px;
}

details {
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
}

details:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Item fields — description list for label–value pairs */
details > dl {
    padding: 10px 15px 15px;
    margin: 0;
    line-height: 1.6;
}

/* Two-column grid layout (opt-in via config layout: 'grid') */
details > dl.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

/* Full-width fields span both columns */
details > dl.card-grid .field-group--full {
    grid-column: 1 / -1;
}

details > dl dt {
    font-weight: bold;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #555555;
}

details > dl dd {
    margin-inline-start: 0;
    margin-bottom: 4px;
}

details > dl dd > p {
    margin: 0 0 4px;
}

details > dl dd > ul.field-list {
    list-style-type: disc;
}

details > dl dd > ol.field-list {
    list-style-type: decimal;
}

.field-list {
    display: block;
    margin: 0;
    padding-left: 20px;
}

summary {
    cursor: pointer;
    padding: 15px;
    user-select: none;
    font-weight: 500;
}

summary:hover {
    background-color: #f9f9f9;
}

details[open] summary {
    border-bottom: 1px solid #e0e0e0;
}

/* Pagination - Common Styles */
.pagination-container {
    background: white;
    padding: 20px;
    border-radius: 8px;

    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Top Pagination - Minimal */
.pagination-container-top {
    margin-bottom: 15px;
}

.pagination-top-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-compact-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-compact-controls label {
    font-weight: bold;
    color: #555555;
    font-size: 14px;
}

.page-select {
    padding: 8px 12px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    background: white;
}

.page-select:focus {
    outline: none;
    border-color: #6e3694;
    box-shadow: 0 0 0 2px rgba(110, 54, 148, 0.1);
}

/* Bottom Pagination - Full */
.pagination-container-bottom {
    margin-top: 20px;
}

.per-page-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.per-page-wrapper label {
    font-weight: bold;
    color: #555555;
}

.per-page-select {
    padding: 8px 12px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.per-page-select:focus {
    outline: none;
    border-color: #6e3694;
}

.results-info {
    color: #666666;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.pagination-button {
    padding: 8px 12px;
    border: 1px solid #dddddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.pagination-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-button:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #6e3694;
}

.pagination-button.active {
    background: #6e3694;
    color: white;
    border-color: #6e3694;
}

.pagination-ellipsis {
    padding: 8px 4px;
    color: #999999;
}

/* Loading Indicator */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #666666;
}

.loading-indicator.is-hidden {
    display: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top-color: #6e3694;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    details > dl.card-grid {
        grid-template-columns: 1fr;
    }

    .pagination-controls {
        justify-content: center;
    }

    .autocomplete-dropdown {
        max-height: 200px;
    }
}
