/* -------------------------------------------------------------------------------------------------
   Biblio: zasebna stranica licne citacke statistike. Nasljedjuje opstu paletu sajta.
   ------------------------------------------------------------------------------------------------- */
.sc-shell
{
    max-width: 1240px;
    margin: 30px auto 65px;
    padding: 0 20px;
    color: #f0e6d7;
}

.sc-shell h1
{
    font-size: clamp(24px,3vw,35px);
    color: #e9b96f;
    margin: 0 0 10px;
}

.sc-shell h2
{
    font-size: 19px;
    margin: 0 0 15px;
    color: #ebc48b;
}

.sc-shell p
{
    color: #c9bcb0;
    line-height: 1.65;
}

.sc-head
{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.sc-head form,.sc-goal-form
{
    display: flex;
    gap: 9px;
    align-items: end;
    flex-wrap: wrap;
}

.sc-head label,.sc-goal-form label,.sc-book-row label
{
    display: grid;
    gap: 6px;
    color: #dfd0bd;
    font-size: 13px;
}

.sc-shell input
{
    background: #171512;
    color: #f5e6d1;
    border: 1px solid #604c36;
    padding: 10px;
    border-radius: 8px;
    max-width: 100%;
}

.sc-shell button
{
    background: #bc8d4e;
    color: #17110c;
    border: 0;
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 700;
    cursor: pointer;
}

.sc-shell button:hover
{
    background: #e1b578;
}

.sc-tabs
{
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin: 18px 0 22px;
    border-bottom: 1px solid #504235;
    padding-bottom: 12px;
}

.sc-tabs a
{
    color: #d9c8ae;
    border: 1px solid #584631;
    padding: 9px 18px;
    border-radius: 9px;
    text-decoration: none;
}

.sc-tabs a[aria-current=page]
{
    background: #8c6737;
    color: #fff;
}

.sc-cards
{
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 13px;
    margin: 18px 0;
}

.sc-card,.sc-panel
{
    background: #24201c;
    border: 1px solid #504033;
    border-radius: 13px;
    padding: 21px;
}

.sc-card span
{
    display: block;
    color: #c3b4a5;
    font-size: 12px;
    margin-bottom: 12px;
}

.sc-card strong
{
    font-size: 28px;
    color: #e9b96f;
}

.sc-panel
{
    margin: 20px 0;
}

.sc-chart
{
    height: 235px;
    display: grid;
    grid-template-columns: repeat(12,minmax(0,1fr));
    gap: 10px;
    align-items: end;
}

.sc-bar-col
{
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: center;
    justify-content: end;
    font-size: 12px;
    color: #e3bd83;
    min-width: 0;
}

.sc-bar-track
{
    height: 165px;
    width: 100%;
    display: flex;
    align-items: end;
    background: #342a21;
    border-radius: 6px;
    overflow: hidden;
}

.sc-bar
{
    width: 100%;
    min-height: 0;
    background: linear-gradient(#e0b674,#92672f);
    border-radius: 5px 5px 0 0;
}

.sc-bar-col small
{
    color: #c9b8a1;
}

.sc-info,.sc-feedback,.sc-error
{
    padding: 12px 15px;
    border-radius: 8px;
    background: #32291e;
    border: 1px solid #645138;
}

.sc-feedback
{
    color: #b8e6bd;
}

.sc-error
{
    color: #ffb3ae;
    background: #462725;
}

.sc-book-list
{
    display: grid;
    gap: 10px;
}

.sc-book-row
{
    display: grid;
    grid-template-columns: minmax(170px,2fr) repeat(2,minmax(130px,1fr)) auto;
    align-items: end;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid #4a3b2b;
}

.sc-book-name strong
{
    display: block;
}

.sc-book-name small
{
    display: block;
    color: #b9a998;
    margin-top: 3px;
}

.sc-book-row button
{
    margin-bottom: 0;
}

.sc-ranked
{
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid #4a3b2b;
}

.sc-ranked strong
{
    color: #e7bc7e;
}

.sc-progress
{
    height: 13px;
    background: #483725;
    border-radius: 20px;
    overflow: hidden;
    margin: 16px 0;
}

.sc-progress>div
{
    height: 100%;
    background: #d9a35d;
}

.sc-profile-link
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    margin-top: 16px;
    border: 1px solid #6e5332;
    border-radius: 10px;
    color: #e4bc82;
    text-decoration: none;
    background: #29221b;
}

@media(max-width:850px)
{
    .sc-cards
    {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .sc-book-row
    {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .sc-book-name
    {
        grid-column: 1/-1;
    }
}

@media(max-width:520px)
{
    .sc-chart
    {
        gap: 3px;
    }

    .sc-bar-col small
    {
        font-size: 9px;
    }

    .sc-book-row
    {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .sc-book-row label
    {
        width: 100%;
    }

    .sc-shell
    {
        padding: 0 12px;
    }
}
