/* Card Layout */

:root {
    --card-background-color: #222222;
    --card-body-background-color: #252525;
    --card-border-color: #323232;
    --card-divider-color: #2c2c2c;
    --card-link-color: #08a2c8;
    --card-content-background-color: #191919;
    --card-header-input-color: #858585;
    --card-link-hover-color: #08a2c8b6;
}

.aa-card,
.user-profile__profile-card {
    background-color: var(--card-background-color);
    border: solid 1px var(--card-border-color);
    border-radius: 10px;
    width: 100%;
    margin-bottom: 10px;
}

.aa-card > div:first-child,
.user-profile__profile-card > div:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.aa-card > div:last-child,
.user-profile__profile-card > div:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.aa-card-row,
.user-profile__profile-card-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.aa-card-header,
.user-profile__card-header {
    background-color: var(--card-background-color);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--card-divider-color);
}

.aa-card-header h3,
.user-profile__card-header h3 {
    color: white;
    font-size: 0.7em;
    margin-bottom: 0;
    text-transform: none;
}

.aa-card-header.bold h3,
.user-profile__card-header.bold h3 {
    font-weight: bold;
}

select.aa-card-header-input,
select.user-profile__card-header-input {
    padding-top: 4px;
    padding-bottom: 4px;
    background-color: var(--card-content-background-color);
    border: 1px solid var(--card-border-color);
    color: var(--card-header-input-color);
}

.aa-card-header a,
.user-profile__card-header a {
    width: fit-content;
    height: fit-content;
}

.aa-card-header a h3,
.user-profile__card-header a h3 {
    color: var(--card-link-color);
}

.aa-card-header a:hover h3,
.user-profile__card-header a:hover h3 {
    color: #0aceff;
    text-decoration: underline;
}

.aa-card-body,
.user-profile__card-body {
    background-color: var(--card-body-background-color);
    width: 100%;
    height: fit-content;
    font-size: 80%;
}

.aa-card-body .card-table-heading,
.user-profile__card-body .card-table-heading {
    display: flex;
    justify-content: flex-end;
    color: white;
    font-size: 0.8rem;
    width: 100%;
    padding: 15px;
    margin: 0;
    border-bottom: 1px solid var(--card-divider-color);
}

.aa-card-body .card-table-heading.featured,
.user-profile__card-body .card-table-heading.featured {
    color: #dfca57;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
}

.aa-card-body .featured-stream,
.user-profile__card-body .featured-stream {
    color: #dfca57;
    margin-left: 20px;
    font-weight: bold;
    font-size: 1rem;
}

.aa-card-body .hive-info,
.user-profile__card-body .hive-info {
    color: #dfca57;
    margin-left: 20px;
    font-weight: bold;
}

.aa-card-body .card-table-row,
.user-profile__card-body .card-table-row {
    --bs-gutter-x: 0;
    display: flex;
    align-items: center;
    color: white;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.aa-card-body .card-table-row:not(:last-child),
.user-profile__card-body .card-table-row:not(:last-child) {
    border-bottom: 1px solid var(--card-divider-color);
}

.aa-card-body .card-table-row-details,
.user-profile__card-body .card-table-row-details {
    --bs-gutter-x: 0;
    display: flex;
    align-items: center;
    color: white;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #272727;
}

.aa-card-body .card-table-row-details:not(:last-child),
.user-profile__card-body .card-table-row-details:not(:last-child) {
    border-bottom: 1px solid var(--card-divider-color);
}

.aa-card-body .card-table-row.speed-boost,
.user-profile__card-body .card-table-row.speed-boost {
    background: linear-gradient(90deg, rgb(73, 56, 2) 0%, rgba(255,255,255,0) 36%, rgba(255,255,255,0) 100%);
}

.aa-card-footer,
.user-profile__card-footer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 15px;
    margin: 0;
    border-top: 1px solid var(--card-divider-color);
}

.aa-card-footer p,
.user-profile__card-footer p {
    color: gray;
    font-size: 0.8rem;
    margin: 0;
}

.aa-card-footer.pagination,
.user-profile__card-footer.pagination {
    font-size: 0.6rem;
    text-align: end;
    padding: 30px;
}

.aa-card-footer.pagination select,
.user-profile__card-footer.pagination select {
    background-color: transparent;
    border-color: transparent;
    border-radius: 0;
    color: gray;
}

.aa-card-footer.pagination button,
.aa-card-header button
.user-profile__card-footer.pagination button,
.user-profile__card-header button {
    background-color: transparent;
    border: none;
    color: gray;
}

.user-profile__card-body .card-table-row a.quest-title {
    color: var(--card-link-color);
}

.user-profile__card-body .card-table-row a.quest-title:hover {
    color: #0aceff;
}

.control-center__arp-summary {
    background-color: var(--card-background-color);
    border: solid 1px var(--card-background-color);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    .aa-card-header h3,
    .user-profile__card-header h3 {
        font-size: 1.2em;
    }

    .aa-card-body,
    .user-profile__card-body {
        font-size: var(--bs-body-font-size);
    }
}