.orange-text {
    color: #E87123;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    width: 100%;
    max-width: 100%;
    height: 90vh;
}

.loading-block {
    padding: 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.pulls-container {
    display: grid;
    grid-template-columns: 270px 1fr;
    grid-template-areas: "left right";
    gap: 20px;
    padding: 12px;
    max-width: 100%;
    width: 100%;
}

@media screen and (max-width: 1350px) {
    .pulls-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "left"
            "right";
        height: auto;
    }
}

.history-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(34, 34, 34, 0.95);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 18px;
    color: #ff8139;
    pointer-events: all;
}

.history-overlay.hidden {
    display: none;
}

.sidebar {
    background-color: #2B2B2B;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.statistics-content {
    position: relative;
    background-color: #2B2B2B;
    border-radius: 8px;
    flex: 1;
    min-width: 0;
    width: 100%;
}

.section-title {
    margin: 0 16px;
    font-weight: bold;
    justify-self: start;
}


.no-pulls-data,
.recent-procurements {
    margin: 16px;
    padding: 16px;
    background-color: #1E1E1E;
    border-radius: 0.75rem;
}

.procurement-banners {
    padding: 10px 10px 3px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.banner-item {
    background-color: #1E1E1E;
    border-radius: 0.4em;
    width: 157px;
    height: 52px;
    overflow: hidden;
    border: 1px solid #444;
    transition: all 0.3s ease;
    cursor: pointer;
}

.recent-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
}

.recent-item {
    position: relative;
    display: inline-block;
    margin: 4px;
}

.recent-item img {
    display: block;
    border-radius: 50%;
}

.recent-item span {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 12px;
    font-weight: 500;
    color: white;
    padding: 2px 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.banner-item.small {
    width: 120px;
    height: 40px;
}

.banner-item.active {
    border-color: #ff8139;
    transition: all 0.3s ease;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.import-button {
    flex: 1;
    align-items: center;
    background-color: #1E1E1E;
    border: 1px solid #444;
    border-radius: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-card {
    flex: 1;
    justify-items: start;
    background-color: #1E1E1E;
    border: 1px solid #444;
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.import-button:hover,
.banner-card:hover{
    border-color: #ccc;
    transition: all 0.3s ease;
}

.banner-card .title {
    color: #ff8139;
    font-weight: 500;
}
.banner-card.active {
    border-color: #ff8139;
    transition: all 0.3s ease;
}

.small-item-preview {
    border-radius: 50%;
    width: 32px;
}

.banner-card h4 { margin: 0; }

.pity-sr,
.pity-ssr {font-size: 1.05rem;}

.stats {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.stat-box {
    display: flex;
    flex: 1;
    justify-content: space-between;
    background-color: #1E1E1E;
    border-radius: 0.75rem;
    padding: 1rem;
    flex-direction: row;
    height: 75px;
    align-items: center;
}

.important-notes {margin-bottom: 0.75em}
.important-notes:last-child {margin-bottom: 0}

.modal-header {
    padding: 28px 30px 8px;
}

.stat-box .description {
    flex-wrap: unset;
    align-items: flex-start;;
}

.stat-box .value {
    font-size: 1.5rem;
    font-weight: 500;
}

.stat-box .description .hint {
    font-size: 0.8rem;
    color: #707070;
}

.table-container {
    border-radius: 0.75rem;
}
.table-history-container {
    padding: 4px 16px 16px;
}
.table-overflow{
    overflow-x: auto!important;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 710px;
}

th, td {
    padding: 0.6rem!important;
    text-align: left!important;
}
th {
    height: 30px!important;
}
thead.tr { background-color: #1E1E1E!important; }
tr { background-color: #1E1E1E; }

.badge {
    padding: 0.2rem 0.5rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-weight: bold;
}
.sr { color: #C199FD; }
.ssr { color: #FFC870; }
.pull-mo {width: 128px}
.table-item .ssr {font-weight: 500;}
td .banner-item {cursor: default!important;}

.pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    margin-bottom: 6px;
}

.page-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #ccc;
    border-radius: 0.4rem;
    background-color: #1E1E1E;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.page-btn:hover:not(:disabled) {
    background-color: #2a2a2a;
    border-color: #999;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.guide-container {
    margin: 40px auto;
    border-radius: 10px;
    padding: 30px;
}

.steps {
    position: relative;
    padding-left: 40px;
}

.steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 19px;
    width: 2px;
    z-index: 1;
    background: #0c0c0c;
}

.step {
    position: relative;
    margin-bottom: 30px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: -40px;
    top: 0;
    width: 40px;
    height: 40px;
    background: #0c0c0c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

.step-content {
    padding: 15px 20px;
}

.step-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #ccc;
}

.step-description {
    color: #9f9f9f;
    font-size: 15px;
}

.textarea-container {
    margin: 3px;
    padding: 3px;
    height: 30px;
    width: 92%!important;
    background-color: #323232;
    color: #fff;
    outline: 0;
    border: 0;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .guide-container {
        padding: 20px 15px;
    }

    .steps {
        padding-left: 30px;
    }

    .steps::before {
        left: 14px;
    }

    .step-number {
        left: -30px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}
