.page-title {
    color: var(--global-palette1);
    text-align: center;
    margin: 0 0 .5em !important;
}
.btn-primary a {
    text-decoration: none;
    color: black;
    display: block;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    border: none;
    padding: 0.4em 1em;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    margin: 1rem auto;
    background-color: var(--global-palette1);
    width: 45%;
}
@media screen and (max-width: 1100px) {
    .btn-primary a {
        width: 50%;
    }
}
@media screen and (max-width: 800px) {
    .btn-primary a {
        width: 70%;
    }
}
.btn-primary a:hover {
    background: var(--global-palette-btn-bg-hover);
    color: black;
}
.separator {
    border: 0;
    height: 2px;
    background: #f51eba;
    margin: 20px auto !important;
    max-width: 160px;
    border-top: 2px solid #f51eba;
}
.tab-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

}
.tab-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #222;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
.tab-pill-background {
    position: absolute;
    top: 0;
    left: 5px;
    height: calc(100%);
    width: calc(50% - 5px);
    background-color: var(--global-palette1);
    border-radius: 40px;
    transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 0;
}
.tab {
    padding: 5px 20px;
    border-radius: 40px;
    cursor: pointer;
    z-index: 1;
    color: #999;
    transition: color 0.3s ease-in-out;
}
.tab.active {
    color: black;
}
.tab-content {
    display: none;
}
.tab-content.active-content {
    display: block;
}
.loading-area-wrapper {
    position: relative;
    margin: 60px 0 !important;
    /* height: 100px; */
}
.loading-area{
    border-radius: 5px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.loader {
    border: 4px solid #777771;
    border-top: 4px solid #00ffba;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: auto;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.series-card {
    border: 3px solid #F51EFB;
    border-radius: 10px;
    margin: 20px auto;
    padding: 15px;
    max-width: 1024px;
}
.series-item-meta p {
    margin: 0;
    color: #999;
}
.series-item-meta p > span:first-child {
    font-size: 0.9rem;
    color: #777;
}
.series-card-content {
    text-align: center;
}
.series-card-action-btn {
    width: 100%;
    margin: 10px 0;
}
.series-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.series-image-wrapper img {
    border-radius: 8px;
    max-height: 500px;
}
.series-card-title {
    margin-bottom: 0 !important;
    font-size: 1.3rem;
    font-weight: 600;
}
.series-card-action-btn {
    width: 100%;
    margin: 10px 0;
    display: block;
    text-align: center;
    border-radius: 3px;
    background: var(--global-palette-btn-bg);
    color: var(--global-palette-btn);
    padding: 0.4em 1em;
    border: 0;
    font-size: 1.125rem;
    line-height: 1.6;
    display: inline-block;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0px 0px 0px -7px rgba(0, 0, 0, 0);
}
.series-card-action-btn:hover {
    color: var(--global-palette-btn-hover);
    background: var(--global-palette-btn-bg-hover);
    box-shadow: 0px 15px 25px -7px rgba(0,0,0,0.1);
}
@media only screen and (max-width: 1000px) {
    .sidebar {
        padding-top: 100px;
    }
}
@media only screen and (max-width: 768px) {
    .sidebar {
        padding-top: unset;
    }
}
@media only screen and (min-width: 1000px) {
    .ra-page-with-sidebar-wrapper {
        padding-top: 80px !important;
    }
}
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 60px 0;
}
.pagination-num-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    /* margin: 0 20px; */
}
.pagination-arrow, .pagination-num {
    width: 40px;
    height: 40px;
    background-color: #333;
    border: 2px solid #333;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-decoration: none;
}
.pagination-arrow > * {
    position: absolute;
}
.pagination-num:not(:disabled):hover, .pagination-arrow:not(:disabled):hover {
    background-color: var(--global-palette1);
    cursor: pointer;
    color: black;
    border-color: var(--global-palette1);
}
.pagination-num-active {
    background-color: #00b282 !important;
    color: black;
    border-color: #00b282 !important;
}
.pagination-arrow.disabled {
    background-color: #333;
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
@media only screen and (max-width: 500px) {
    .pagination-num {display:none}
    .pagination-num.pagination-num-active,.pagination-num.pagination-num-active + .pagination-num,.pagination-num:has(+ .pagination-num.pagination-num-active) {display: flex;}
    .pagination-num.pagination-num-active:first-child + .pagination-num + .pagination-num {display: flex}
    .pagination-num:has(+ .pagination-num:has(+ .pagination-num.pagination-num-active:last-child)) {display: flex}
}