/* ==========================================================================
   USER CONTROL PANEL
   ========================================================================== */

body:has(.ucp-page)
.column-left
.content-bg
> .content-header {
    display: none !important;
}


.ucp-page {
    padding: 18px 0 8px;

    color: #cbd0d5;
}


.ucp-page *,
.ucp-page *::before,
.ucp-page *::after {
    box-sizing: border-box;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.ucp-hero {
    position: relative;

    display: flex;
    align-items: stretch;
    justify-content: space-between;

    min-height: 158px;
    margin-bottom: 18px;
    padding: 28px 28px 27px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 86% 20%,
            rgba(204, 191, 126, .08),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            rgba(18, 22, 25, .98),
            rgba(12, 16, 19, .98)
        );

    border: 1px solid rgba(210, 199, 143, .12);
    border-radius: 4px;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, .14);
}


.ucp-hero::before {
    content: "";

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    width: 3px;

    background:
        linear-gradient(
            180deg,
            #e3d88f,
            rgba(227, 216, 143, .34)
        );
}


.ucp-hero__content {
    position: relative;
    z-index: 2;

    max-width: 560px;
    padding-right: 30px;
}


.ucp-eyebrow,
.ucp-section-kicker {
    color: #bbae72;

    font-size: 10px;
    line-height: 13px;
    font-weight: 700;

    letter-spacing: .8px;
    text-transform: uppercase;
}


.ucp-title {
    margin: 8px 0 7px;

    color: #f1f3f4;

    font-size: 31px;
    line-height: 34px;
    font-weight: 700;
}


.ucp-description {
    max-width: 520px;
    margin: 0;

    color: #7f898f;

    font-size: 13px;
    line-height: 19px;
}


/* BALANCE */

.ucp-balance {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(130px, 1fr) 108px;
    grid-template-rows: auto auto;

    align-self: center;

    min-width: 275px;
    min-height: 70px;

    overflow: hidden;

    background: rgba(7, 10, 12, .74);

    border: 1px solid rgba(255, 255, 255, .065);
    border-radius: 4px;
}


.ucp-balance__label {
    grid-column: 1;
    grid-row: 1;

    padding: 12px 14px 0;

    color: #667078;

    font-size: 8px;
    line-height: 10px;

    text-transform: uppercase;
    letter-spacing: .4px;
}


.ucp-balance__value {
    grid-column: 1;
    grid-row: 2;

    padding: 1px 14px 12px;

    color: #ddd083;

    font-size: 20px;
    line-height: 24px;
    font-weight: 700;

    white-space: nowrap;
}


.ucp-balance__value span {
    font-size: 14px;
}


.ucp-balance__button {
    grid-column: 2;
    grid-row: 1 / 3;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 13px;

    color: #272819 !important;
    background:
        linear-gradient(
            180deg,
            #ddd18d,
            #c9bd78
        );

    border-left: 1px solid rgba(255, 255, 255, .08);

    font-size: 10px;
    line-height: 14px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        filter .18s ease,
        transform .18s ease;
}


.ucp-balance__button:hover {
    color: #1e2115 !important;

    filter: brightness(1.06);
}


/* ==========================================================================
   SECTION
   ========================================================================== */

.ucp-section {
    margin-bottom: 18px;
    padding: 20px 18px 18px;

    background:
        linear-gradient(
            180deg,
            rgba(12, 16, 19, .97),
            rgba(9, 13, 16, .98)
        );

    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 4px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, .10);
}


.ucp-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 15px;
    padding: 0 0 13px;

    border-bottom: 1px solid rgba(255, 255, 255, .045);
}


.ucp-section-head h2 {
    margin: 4px 0 0;

    color: #e4e8ea;

    font-size: 19px;
    line-height: 24px;
    font-weight: 700;
}


.ucp-section-head p {
    margin: 4px 0 0;

    color: #69747b;

    font-size: 10px;
    line-height: 15px;
}


.ucp-account-state {
    display: inline-flex;
    align-items: center;

    min-height: 27px;
    padding: 0 10px;

    color: #68bb81;
    background: rgba(42, 121, 71, .11);

    border: 1px solid rgba(79, 170, 108, .18);
    border-radius: 20px;

    font-size: 9px;
    line-height: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .35px;
}


.ucp-account-state::before {
    content: "";

    width: 6px;
    height: 6px;

    margin-right: 6px;

    background: #55c47a;
    border-radius: 50%;

    box-shadow:
        0 0 0 3px rgba(85, 196, 122, .08);
}


/* ==========================================================================
   ACCOUNT STATS
   ========================================================================== */

.ucp-account-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.ucp-stat {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 96px;
    padding: 14px 16px;

    overflow: hidden;

    background: rgba(255, 255, 255, .022);
    border: 1px solid rgba(255, 255, 255, .045);
    border-radius: 4px;

    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.ucp-stat:hover {
    background: rgba(255, 255, 255, .032);
    border-color: rgba(210, 199, 143, .105);
    transform: translateY(-1px);
}

.ucp-stat__label {
    margin: 0 0 12px;

    color: #647079;
    font-size: 9px;
    line-height: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .45px;
}

.ucp-stat__main {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    flex: 1;
    min-height: 34px;

    color: #d8dde0;
}

.ucp-stat__main strong {
    display: block;
    overflow: hidden;
    max-width: 100%;

    font-size: 16px;
    line-height: 21px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.ucp-stat__currency {
    color: #aaa06a;
    font-size: 11px;
    font-weight: 700;
}

.ucp-stat__main--with-icon {
    gap: 12px;
}

.ucp-faction-icon,
.ucp-rank {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    min-width: 34px;
    height: 34px;
    flex: 0 0 34px;
}

.ucp-faction-icon > span,
.ucp-rank > span {
    margin: 0 !important;
}

.ucp-stat__main--rank {
    align-items: center;
    justify-content: center;
    min-height: 34px;
}


/* ==========================================================================
   DETAILS
   ========================================================================== */

.ucp-account-details {
    display: grid;
    grid-template-columns: 1.5fr 1fr .7fr;

    gap: 1px;

    margin-top: 12px;

    overflow: hidden;

    background: rgba(255, 255, 255, .045);

    border: 1px solid rgba(255, 255, 255, .045);
    border-radius: 4px;
}


.ucp-detail {
    min-width: 0;
    padding: 12px 14px;

    background: #0d1215;
}


.ucp-detail span {
    display: block;

    margin-bottom: 4px;

    color: #5f6970;

    font-size: 8px;
    line-height: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .4px;
}


.ucp-detail strong {
    display: block;

    overflow: hidden;

    color: #aeb6bb;

    font-size: 11px;
    line-height: 15px;
    font-weight: 600;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ==========================================================================
   LOGIN HISTORY
   ========================================================================== */

.ucp-section--history {
    padding-bottom: 14px;
}


.ucp-table-wrap {
    overflow-x: auto;

    border: 1px solid rgba(255, 255, 255, .045);
    border-radius: 4px;
}


.ucp-table {
    width: 100%;

    margin: 0 !important;

    border-collapse: collapse;

    table-layout: fixed;

    background: transparent !important;
}


.ucp-table thead th {
    height: 38px;
    padding: 0 12px !important;

    color: #717b82;
    background: rgba(255, 255, 255, .025) !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .05) !important;

    font-size: 8px;
    line-height: 11px;
    font-weight: 700;

    text-align: left !important;
    text-transform: uppercase;
    letter-spacing: .4px;
}


.ucp-table thead th:nth-child(1) {
    width: 7%;
}


.ucp-table thead th:nth-child(2) {
    width: 19%;
}


.ucp-table thead th:nth-child(3),
.ucp-table thead th:nth-child(4) {
    width: 25%;
}


.ucp-table thead th:nth-child(5) {
    width: 24%;
}


.ucp-table tbody td {
    height: 43px;
    padding: 0 12px !important;

    color: #98a2a9;
    background: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .035) !important;

    font-size: 10px;
    line-height: 14px;

    text-align: left !important;

    transition:
        color .18s ease,
        background .18s ease;
}


.ucp-table tbody tr:last-child td {
    border-bottom: 0 !important;
}


.ucp-table tbody tr:hover td {
    color: #c8ced2;
    background: rgba(255, 255, 255, .018) !important;
}


.ucp-log-number {
    color: #5f6970 !important;
}


.ucp-ip {
    display: inline-flex;
    align-items: center;

    min-height: 24px;
    padding: 0 8px;

    color: #8f999f;
    background: rgba(255, 255, 255, .025);

    border: 1px solid rgba(255, 255, 255, .045);
    border-radius: 3px;

    font-family: Consolas, "Courier New", monospace;
    font-size: 9px;
}


.ucp-session-time {
    color: #b7ac73;
}


.ucp-empty {
    height: 84px !important;

    color: #69737a !important;

    text-align: center !important;
}


/* ==========================================================================
   PAGINATION
   ========================================================================== */

.ucp-pagination {
    display: flex;
    justify-content: center;

    padding: 16px 0 2px;
}


.ucp-pagination .pagination {
    margin: 0 !important;
}


/* ==========================================================================
   RESPONSIVE / 1250 SAFETY
   ========================================================================== */

@media (max-width: 1250px) {

    .ucp-hero {
        padding-left: 22px;
        padding-right: 22px;
    }


    .ucp-title {
        font-size: 27px;
        line-height: 31px;
    }


    .ucp-balance {
        min-width: 250px;
    }


    .ucp-account-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .ucp-account-details {
        grid-template-columns:
            1.35fr 1fr .65fr;
    }

}


@media (max-width: 900px) {

    .ucp-hero {
        display: block;
    }


    .ucp-hero__content {
        padding-right: 0;
    }


    .ucp-balance {
        width: 100%;
        margin-top: 20px;
    }


    .ucp-account-details {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 620px) {

    .ucp-account-grid {
        grid-template-columns: 1fr;
    }


    .ucp-section {
        padding-left: 12px;
        padding-right: 12px;
    }


    .ucp-table {
        min-width: 690px;
    }

}
