﻿.char_avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 166, 77, 0.18);
    background: rgba(8, 12, 20, 0.72);
    padding: 3px;
}

#search_box {
    display: none;
}

.nice_table td:first-child {
    font-weight: normal;
}

.faction-1,
.faction-2 {
    width: 45px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
}

.faction-1 {
    background-image: url(../../../images/factions/1.png);
}

.faction-2 {
    background-image: url(../../../images/factions/2.png);
}

.page-armory {
    display: grid;
    gap: 1.4rem;
}

.page-armory .page-head {
    margin-bottom: 0;
}

.page-armory .page-body {
    display: grid;
    gap: 1.4rem;
}

.page-armory .page-subbody {
    margin-top: 0 !important;
    padding: 0 !important;
    overflow: visible;
}

.page-armory .armory-shell {
    display: grid;
    gap: 1.15rem;
}

.page-armory .armory-hero {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid rgba(255, 166, 77, 0.14);
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(255, 166, 77, 0.14), transparent 32%),
        radial-gradient(circle at left center, rgba(114, 146, 255, 0.12), transparent 36%),
        linear-gradient(145deg, rgba(13, 18, 30, 0.98), rgba(8, 12, 20, 0.98));
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
}

.page-armory .armory-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 166, 77, 0.16);
    background: rgba(255, 166, 77, 0.08);
    color: #ffcf93;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-armory .armory-hero h2 {
    margin: 1rem 0 0;
    max-width: 780px;
    color: #f9f4ec;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.page-armory .armory-hero p {
    max-width: 760px;
    margin: 1rem 0 0;
    color: rgba(235, 229, 219, 0.78);
    font-size: 1rem;
    line-height: 1.75;
}

.page-armory .armory-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
}

.page-armory .armory-utility-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.page-armory .armory-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(244, 230, 212, 0.86);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-armory .armory-highlight {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 166, 77, 0.12);
}

.page-armory .highlight-label {
    display: block;
    color: rgba(255, 205, 148, 0.7);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-armory .highlight-value {
    display: block;
    margin-top: 0.45rem;
    color: #fff2de;
    font-size: 1rem;
    line-height: 1.45;
}

.page-armory .armory-search-form {
    width: 100%;
    margin: 0;
    padding: 1.35rem;
    border: 1px solid rgba(255, 166, 77, 0.14);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(15, 21, 35, 0.96) 0%, rgba(9, 13, 22, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 24px 52px rgba(0, 0, 0, 0.24);
}

.page-armory .armory-search-form__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 1rem;
    align-items: end;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-armory .armory-search-form__eyebrow {
    display: inline-flex;
    color: #ffcb88;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-armory .armory-search-form__intro h3 {
    margin: 0.55rem 0 0;
    color: #fff0dd;
    font-size: clamp(1.2rem, 2.2vw, 1.85rem);
    line-height: 1.08;
}

.page-armory .armory-search-form__intro p {
    margin: 0;
    color: rgba(233, 237, 248, 0.68);
    font-size: 0.92rem;
    line-height: 1.65;
    text-align: right;
}

.page-armory .armory-search-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) minmax(180px, 1fr) minmax(180px, 1fr) auto;
    gap: 1rem;
    align-items: end;
}

.page-armory .armory-field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.page-armory .armory-field__label {
    color: #ffcb88;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-armory .armory-search-form input[type="text"],
.page-armory .armory-search-form select {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(255, 166, 77, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: #f4f6fb !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none;
}

.page-armory .armory-search-form input[type="text"]:focus,
.page-armory .armory-search-form select:focus {
    border-color: rgba(255, 166, 77, 0.42);
    box-shadow: 0 0 0 4px rgba(255, 166, 77, 0.09);
    outline: 0;
}

.page-armory .armory-search-form input[type="text"]::placeholder {
    color: rgba(244, 246, 251, 0.48);
}

.page-armory .armory-search-form select option {
    color: #11151f;
}

.page-armory .armory-submit,
.page-armory .armory-search-form .nice_button {
    width: 100%;
    min-width: 170px;
    min-height: 56px;
    padding: 0 22px;
    border-radius: 18px;
    justify-content: center;
    text-align: center;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-armory .armory-results {
    padding: 1.35rem !important;
    border: 1px solid rgba(255, 166, 77, 0.12);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(13, 18, 30, 0.96) 0%, rgba(8, 12, 20, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 20px 40px rgba(0, 0, 0, 0.22);
}

.page-armory .armory-results__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-armory .armory-results__status {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.page-armory .armory-results__status-card {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 166, 77, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.page-armory .armory-results__status-card .status-label {
    display: block;
    color: rgba(255, 205, 148, 0.68);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-armory .armory-results__status-card .status-value {
    display: block;
    margin-top: 0.45rem;
    color: #fff2de;
    font-size: 0.98rem;
    line-height: 1.4;
}

.page-armory .armory-results__kicker {
    display: inline-flex;
    color: #ffcb88;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-armory .armory-results__head h3 {
    margin: 0.4rem 0 0;
    color: #fff3e3;
    font-size: 1.45rem;
    line-height: 1.15;
}

.page-armory .armory-results__head p {
    max-width: 420px;
    margin: 0;
    color: rgba(233, 237, 248, 0.68);
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: right;
}

.page-armory #search_box .dataTables_wrapper {
    color: #d6d9e3;
}

.page-armory #search_box .nice_table {
    margin-bottom: 0;
    background: transparent;
}

.page-armory #search_box .nice_table thead th {
    border-bottom: 1px solid rgba(255, 166, 77, 0.14);
    color: #ffcc8a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.page-armory #search_box .nice_table tbody td {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #e9edf8;
    vertical-align: middle;
}

.page-armory #search_box .nice_table tbody tr {
    background: transparent;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-armory #search_box .nice_table tbody tr:hover {
    background: rgba(255, 166, 77, 0.04);
}

.page-armory #search_box .nice_table tbody td:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 166, 77, 0.16);
    background: rgba(255, 166, 77, 0.06);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-armory #search_box .nice_table a {
    color: #ffd39a;
    text-decoration: none;
}

.page-armory #search_box .nice_table a:hover {
    color: #fff1d6;
}

.page-armory .dataTables_wrapper .dataTables_processing {
    margin-top: 0;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 166, 77, 0.14);
    background: rgba(8, 12, 20, 0.95);
    color: #f8f1e7;
}

.page-armory .dataTables_wrapper .row + .row + .row {
    margin: 1rem 0 0;
    text-align: center;
    align-items: center;
}

.page-armory .dataTables_wrapper .row + .row + .row > div {
    padding-left: 0;
    padding-right: 0;
}

.page-armory .dataTables_wrapper .row + .row + .row .dataTables_info {
    padding: 0;
    color: rgba(233, 237, 248, 0.72);
}

.page-armory .dataTables_wrapper .row + .row + .row .dataTables_paginate {
    display: flex;
}

.page-armory .dataTables_wrapper .row + .row + .row .dataTables_paginate .pagination {
    margin: 0 auto;
}

.page-armory .pagination .page-link {
    border-color: rgba(255, 166, 77, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: #f8c784;
}

.page-armory .pagination .page-link:hover,
.page-armory .pagination .page-item.active .page-link {
    border-color: rgba(255, 166, 77, 0.32);
    background: linear-gradient(180deg, #ffb04a 0%, #f48a12 100%);
    color: #17120b;
}

@media (max-width: 1199px) {
    .page-armory .armory-search-form__intro,
    .page-armory .armory-highlights,
    .page-armory .armory-results__status,
    .page-armory .armory-search-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .page-armory .armory-hero,
    .page-armory .armory-search-form,
    .page-armory .armory-results {
        padding: 1.1rem;
        border-radius: 22px;
    }

    .page-armory .armory-search-form__intro,
    .page-armory .armory-highlights,
    .page-armory .armory-results__status,
    .page-armory .armory-search-grid {
        grid-template-columns: 1fr;
    }

    .page-armory .armory-results__head {
        flex-direction: column;
        align-items: start;
    }

    .page-armory .armory-search-form__intro p,
    .page-armory .armory-results__head p {
        text-align: left;
    }

    .page-armory .armory-submit,
    .page-armory .armory-search-form .nice_button {
        min-width: 100%;
    }
}
