
.gc-history-page {
    --gc-bg: #050907;
    --gc-bg-2: #08120d;
    --gc-bg-3: #0b1710;

    --gc-green: #24e98a;
    --gc-green-light: #8dffc1;
    --gc-green-dark: #0ba95b;

    --gc-white: #f4fff8;
    --gc-text: #dcebe3;
    --gc-muted: #8fa59a;
    --gc-muted-2: #60766b;

    --gc-border: rgba(65, 231, 143, .14);
    --gc-border-strong: rgba(65, 231, 143, .28);

    --gc-red: #ff6675;
    --gc-orange: #ffb85c;

    width: 100%;
    /*max-width: 1180px;*/

    margin: 0 auto;
    padding: 30px 20px 70px;

    box-sizing: border-box;

    color: var(--gc-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}


.gc-history-header {
    position: relative;

    margin-bottom: 22px;
    padding: 30px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 87% 15%,
            rgba(36, 233, 138, .12),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            rgba(11, 23, 16, .98),
            rgba(5, 9, 7, .98)
        );

    border: 1px solid var(--gc-border);
    border-radius: 22px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .25),
        inset 0 1px 0 rgba(255,255,255,.025);
}

.gc-history-header::before {
    content: "";

    position: absolute;

    width: 210px;
    height: 210px;

    right: -95px;
    top: -120px;

    border-radius: 50%;

    border: 1px solid rgba(36,233,138,.12);

    box-shadow:
        0 0 0 25px rgba(36,233,138,.018),
        0 0 0 55px rgba(36,233,138,.012);
}

.gc-history-header-inner {
    position: relative;
    z-index: 2;
}

.gc-history-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 14px;
    padding: 7px 12px;

    border: 1px solid rgba(36,233,138,.18);
    border-radius: 999px;

    background: rgba(36,233,138,.07);

    color: var(--gc-green-light);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.gc-history-badge::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gc-green);

    box-shadow:
        0 0 12px rgba(36,233,138,.8);
}

.gc-history-header h2 {
    margin: 0 0 9px;

    color: var(--gc-white);

    font-size: clamp(27px, 4vw, 39px);
    line-height: 1.1;

    font-weight: 800;
    letter-spacing: -.8px;
}

.gc-history-header h2 span {
    color: var(--gc-green);
}

.gc-history-header p {
    max-width: 760px;

    margin: 0;

    color: var(--gc-muted);

    font-size: 14px;
    line-height: 1.7;
}



.gc-history-filter {
    margin-bottom: 24px;
    padding: 23px;

    background:
        linear-gradient(
            145deg,
            rgba(11,23,16,.96),
            rgba(5,9,7,.96)
        );

    border: 1px solid var(--gc-border);
    border-radius: 20px;

    box-shadow:
        0 16px 45px rgba(0,0,0,.20);
}

.gc-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 18px;
}

.gc-filter-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.gc-filter-icon {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

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

    border-radius: 11px;

    background: rgba(36,233,138,.08);
    border: 1px solid rgba(36,233,138,.13);

    color: var(--gc-green);

    font-size: 17px;
}

.gc-filter-title h3 {
    margin: 0 0 3px;

    color: var(--gc-white);

    font-size: 17px;
    font-weight: 800;
}

.gc-filter-title p {
    margin: 0;

    color: var(--gc-muted);

    font-size: 11px;
}

.gc-filter-badge {
    padding: 7px 10px;

    border-radius: 999px;

    background: rgba(36,233,138,.06);
    border: 1px solid rgba(36,233,138,.11);

    color: var(--gc-green-light);

    font-size: 10px;
    font-weight: 800;

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



.gc-history-filter-grid {
    display: grid;

    grid-template-columns: 1.1fr 1.1fr 1.1fr auto;

    gap: 12px;

    align-items: end;
}

.gc-filter-group {
    min-width: 0;
}

.gc-filter-label {
    display: block;

    margin-bottom: 7px;

    color: var(--gc-muted);

    font-size: 10px;
    font-weight: 800;

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

.gc-history-select {
    width: 100%;
    height: 43px;

    padding: 0 12px;

    box-sizing: border-box;

    background: #07100b;

    border: 1px solid var(--gc-border);
    border-radius: 10px;

    outline: none;

    color: var(--gc-text);

    font-family: inherit;
    font-size: 12px;

    cursor: pointer;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.gc-history-select:hover {
    border-color: rgba(36,233,138,.25);
}

.gc-history-select:focus {
    border-color: rgba(36,233,138,.45);

    box-shadow:
        0 0 0 3px rgba(36,233,138,.06);
}



.gc-date-selects {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 6px;
}

.gc-date-selects .gc-history-select {
    padding-left: 8px;
    padding-right: 8px;
}



.gc-history-submit {
    height: 43px;

    padding: 0 19px;

    border: 1px solid rgba(36,233,138,.28);
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            rgba(36,233,138,.17),
            rgba(11,169,91,.10)
        );

    color: var(--gc-green-light);

    font-family: inherit;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.gc-history-submit:hover {
    transform: translateY(-1px);

    border-color: rgba(36,233,138,.55);

    background:
        linear-gradient(
            135deg,
            rgba(36,233,138,.23),
            rgba(11,169,91,.15)
        );

    box-shadow:
        0 8px 22px rgba(36,233,138,.08);
}

.gc-history-submit:active {
    transform: translateY(0);
}



.gc-transactions-card {
    margin-bottom: 24px;
    padding: 23px;

    background:
        linear-gradient(
            145deg,
            rgba(11,23,16,.96),
            rgba(5,9,7,.96)
        );

    border: 1px solid var(--gc-border);
    border-radius: 20px;

    box-shadow:
        0 16px 45px rgba(0,0,0,.20);
}

.gc-transactions-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 17px;
}

.gc-transactions-heading h3 {
    margin: 0 0 4px;

    color: var(--gc-white);

    font-size: 18px;
    font-weight: 800;
}

.gc-transactions-heading p {
    margin: 0;

    color: var(--gc-muted);

    font-size: 11px;
}

.gc-transactions-heading-badge {
    padding: 7px 10px;

    border-radius: 999px;

    background: rgba(36,233,138,.06);
    border: 1px solid rgba(36,233,138,.11);

    color: var(--gc-green-light);

    font-size: 10px;
    font-weight: 800;

    white-space: nowrap;
}



.gc-transaction-list {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.gc-transaction {
    position: relative;

    padding: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(8,18,13,.92),
            rgba(5,9,7,.92)
        );

    border: 1px solid rgba(65,231,143,.10);

    border-radius: 14px;

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

.gc-transaction:hover {
    transform: translateY(-1px);

    border-color: var(--gc-border-strong);

    background:
        linear-gradient(
            145deg,
            rgba(11,23,16,.98),
            rgba(5,9,7,.98)
        );
}

.gc-transaction-main {
    display: grid;

    grid-template-columns: 1.4fr 1fr 190px;

    align-items: center;

    gap: 18px;
}



.gc-transaction-type {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 0;
}

.gc-transaction-icon {
    flex: 0 0 39px;

    width: 39px;
    height: 39px;

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

    border-radius: 11px;

    background: rgba(36,233,138,.07);
    border: 1px solid rgba(36,233,138,.11);

    color: var(--gc-green);

    font-size: 15px;
}

.gc-transaction-type-content {
    min-width: 0;
}

.gc-transaction-type-content strong {
    display: block;

    overflow: hidden;

    color: var(--gc-white);

    font-size: 13px;
    font-weight: 800;

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

.gc-transaction-type-content span {
    display: block;

    margin-top: 3px;

    color: var(--gc-muted);

    font-size: 10px;
}



.gc-transaction-amount {
    text-align: right;
}

.gc-transaction-amount-label {
    display: block;

    margin-bottom: 3px;

    color: var(--gc-muted);

    font-size: 9px;
    font-weight: 800;

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

.gc-transaction-amount-value {
    color: var(--gc-green-light);

    font-size: 14px;
    font-weight: 800;

    white-space: nowrap;
}

.gc-transaction-amount-value img {
    width: auto;
    height: 17px;

    margin-left: 4px;

    vertical-align: middle;
}



.gc-transaction-date {
    text-align: right;
}

.gc-transaction-date-label {
    display: block;

    margin-bottom: 3px;

    color: var(--gc-muted);

    font-size: 9px;
    font-weight: 800;

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

.gc-transaction-date-value {
    color: var(--gc-text);

    font-size: 11px;
    font-weight: 700;
}



.gc-transaction-description {
    margin-top: 13px;
    padding-top: 12px;

    border-top: 1px solid rgba(65,231,143,.07);

    color: var(--gc-muted);

    font-size: 11px;
    line-height: 1.6;
}

.gc-transaction-description::before {
    content: "Details";

    display: inline-block;

    margin-right: 7px;

    color: var(--gc-muted-2);

    font-size: 9px;
    font-weight: 800;

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



.gc-cancel-withdraw {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin-left: 8px;
    padding: 5px 8px;

    border-radius: 7px;

    background: rgba(255,102,117,.06);
    border: 1px solid rgba(255,102,117,.13);

    color: var(--gc-red);

    font-size: 9px;
    font-weight: 800;

    text-decoration: none;

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

.gc-cancel-withdraw:hover {
    background: rgba(255,102,117,.11);

    border-color: rgba(255,102,117,.25);

    color: #ff8792;
}



.gc-history-empty {
    padding: 45px 20px;

    text-align: center;

    border: 1px dashed rgba(65,231,143,.14);
    border-radius: 14px;

    background: rgba(36,233,138,.02);
}

.gc-history-empty-icon {
    width: 50px;
    height: 50px;

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

    margin: 0 auto 13px;

    border-radius: 15px;

    background: rgba(36,233,138,.07);

    color: var(--gc-green);

    font-size: 21px;
}

.gc-history-empty strong {
    display: block;

    margin-bottom: 5px;

    color: var(--gc-white);

    font-size: 14px;
}

.gc-history-empty span {
    color: var(--gc-muted);

    font-size: 12px;
}



.gc-history-totals {
    margin-top: 14px;
    padding: 17px;

    border: 1px solid rgba(36,233,138,.10);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(36,233,138,.045),
            rgba(36,233,138,.018)
        );
}

.gc-history-totals-title {
    margin-bottom: 11px;

    color: var(--gc-white);

    font-size: 12px;
    font-weight: 800;
}

.gc-history-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 9px 0;

    border-bottom: 1px solid rgba(65,231,143,.06);
}

.gc-history-total-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.gc-history-total-value {
    color: var(--gc-green-light);

    font-size: 13px;
    font-weight: 800;

    white-space: nowrap;
}

.gc-history-total-value img {
    width: auto;
    height: 17px;

    margin-left: 5px;

    vertical-align: middle;
}



.gc-history-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 24px;
}

.gc-history-pagination a,
.gc-history-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 34px;

    padding: 0 10px;

    box-sizing: border-box;

    border: 1px solid var(--gc-border);
    border-radius: 9px;

    background: rgba(36,233,138,.025);

    color: var(--gc-muted);

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

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

.gc-history-pagination a:hover {
    transform: translateY(-1px);

    color: var(--gc-green-light);

    border-color: rgba(36,233,138,.3);

    background: rgba(36,233,138,.07);
}



.gc-history-header,
.gc-history-filter,
.gc-transactions-card {
    animation: gcHistoryFade .55s ease both;
}

.gc-history-filter {
    animation-delay: .08s;
}

.gc-transactions-card {
    animation-delay: .16s;
}

@keyframes gcHistoryFade {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}



@media (max-width: 900px) {

    .gc-history-page {
        padding: 22px 15px 55px;
    }

    .gc-history-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gc-filter-group:last-of-type {
        grid-column: 1 / -1;
    }

    .gc-history-submit {
        width: 100%;
    }

    .gc-transaction-main {
        grid-template-columns: 1fr 1fr;
    }

    .gc-transaction-date {
        text-align: left;
    }

}



@media (max-width: 620px) {

    .gc-history-page {
        padding: 15px 10px 40px;
    }

    .gc-history-header {
        padding: 20px 17px;
        border-radius: 17px;
    }

    .gc-history-header h2 {
        font-size: 26px;
    }

    .gc-history-header p {
        font-size: 13px;
    }

    .gc-history-filter,
    .gc-transactions-card {
        padding: 15px;
        border-radius: 16px;
    }

    .gc-filter-heading {
        align-items: flex-start;
    }

    .gc-filter-badge {
        display: none;
    }

    .gc-history-filter-grid {
        grid-template-columns: 1fr;
    }

    .gc-filter-group:last-of-type {
        grid-column: auto;
    }

    .gc-date-selects {
        grid-template-columns: repeat(3, 1fr);
    }

    .gc-history-submit {
        width: 100%;
    }

    .gc-transactions-heading {
        align-items: flex-start;
    }

    .gc-transactions-heading-badge {
        display: none;
    }

    .gc-transaction {
        padding: 14px;
    }

    .gc-transaction-main {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .gc-transaction-amount {
        text-align: left;
    }

    .gc-transaction-date {
        text-align: left;
    }

    .gc-transaction-description {
        margin-top: 11px;
    }

    .gc-cancel-withdraw {
        margin-left: 4px;
    }
}



@media (max-width: 360px) {

    .gc-history-page {
        padding-left: 7px;
        padding-right: 7px;
    }

    .gc-history-header {
        padding: 17px 14px;
    }

    .gc-history-filter,
    .gc-transactions-card {
        padding: 12px;
    }

    .gc-date-selects {
        grid-template-columns: 1fr;
    }

    .gc-history-total-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

}
