/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.woocommerce-my-account-wrapper .my-points-link a:before {
    color: rgba(0 0 0 / 0);
    background-image: url("../img/points-alt-icon.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: center;
}
.woocommerce-my-account-wrapper .my-points-link a:hover:before {
    color: rgba(0 0 0 / 0);
    background-image: url("../img/points-icon.webp");
}

.neogeo-japan-points .card {
    display: flex;
    flex-flow: column;
    gap: 20px;
}

.neogeo-japan-points .card-header,
.neogeo-japan-points .card-body {
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
}

.neogeo-japan-points .card-header h2 {
    font-weight: 700;
    margin: 0;
    color: #000000;
}   

.neogeo-japan-points .points-balance {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.neogeo-japan-points .points-icon img {
    width: 24px;
    height: 24px;
}

.neogeo-japan-points .points-amount {
    font-weight: 600;
    color: #000000;
}

.neogeo-japan-points .points-progress {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.neogeo-japan-points .tier-progress {
    display: flex;
    flex-flow: column;
    gap: 40px;
    margin-top: 20px;
}

.neogeo-japan-points .progress-header{
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
}

.neogeo-japan-points .expire-date{
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.neogeo-japan-points .expire-date .label {
    text-align: end;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    font-size: 12px;
}

.neogeo-japan-points .expire-date .date {
    font-size: 12px;
    text-align: end;
}

.neogeo-japan-points .level-info .level {
    text-transform: uppercase;
    font-weight: 900;
    color: #000000;
    margin-bottom: -5px;
}

.neogeo-japan-points .level-info .level-name {
    color: #000000;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 0px !important;
}

.neogeo-japan-points .card-progress-bar .progress-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin-top: 20px;
    margin-left: 20px;
    margin-bottom: 30px;
}

.neogeo-japan-points .card-progress-bar .progress-bar {
    height: 15px;
    background: #e0e0e0;
    border-radius: 20px;
    position: relative;
    margin-right: 40px;
}

.neogeo-japan-points .card-progress-bar .progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6a00, #ee0953);
    transition: width 0.6s ease;
    border-radius: 20px;
}

.neogeo-japan-points .card-progress-bar .step {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 50%;
    z-index: 10;
    background-size: cover;
    background-repeat: no-repeat;
    filter: grayscale(100%) contrast(100%);
    border: 6px solid #FFFFFF;
}

.neogeo-japan-points .card-progress-bar .step::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: transparent;
    border-radius: 50%;
    border: 2px dashed #9f9f9f;
}

.neogeo-japan-points .card-progress-bar .step.active {
    filter: grayscale(0%) contrast(100%);
}

.neogeo-japan-points .card-progress-bar .step.active::after {
    border-color: #fb0101;
}

.neogeo-japan-points .transactions-table {
    overflow-x: auto;
}

.neogeo-japan-points table {
    min-width: 768px;
}

.neogeo-japan-points table th {
    font-size: 14px;
}

.neogeo-japan-points .pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.neogeo-japan-points .pagination-info {
    font-size: 14px;
    color: #666;
}

.neogeo-japan-points .pagination-links {
    display: flex;
    gap: 5px;
}

.neogeo-japan-points .page-link {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-radius: 3px;
    min-width: 36px;
    text-align: center;
}

.neogeo-japan-points .page-link:hover {
    background: #f5f5f5;
    border-color: #999;
}

.neogeo-japan-points .page-link.current-page {
    background: #000000;
    color: white;
    border-color: #000000;
    font-weight: bold;
}

.neogeo-japan-points .page-link.disabled {
    color: #ccc;
    cursor: default;
}

.neogeo-japan-points .page-link.disabled:hover {
    background: #fff;
    border-color: #ddd;
}

.neogeo-japan-points .active .amount {
    color: #45bf89;
    font-weight: 600;
}

.neogeo-japan-points .blocked .amount,
.neogeo-japan-points .expired .amount {
    color: #e16866;
    font-weight: 600;
}

.neogeo-japan-points .active .badge {
    color: #45bf89;
    background: #45bf891a;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.neogeo-japan-points .blocked .badge,
.neogeo-japan-points .expired .badge {
    color: #e16866;
    background: #e168661a;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.product-grid-item .neogeo-product-points {
    font-weight: 400;
    line-height: 1em;
    font-size: 11px;
    color: #444;
    width: 100%;
    margin-top: -10px;
    margin-bottom: 5px;
}

.single-product-points {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.single-product-points span {
    color: #0e3fa9;
    font-weight: 700;
}

.single-product-points img {
    width: 20px;
    height: 20px;
}

.checkout-product-points {
    color: #000000;
}

.checkout-product-points span {
    color: #0e3fa9;
    font-weight: 700;
}

.checkout-product-points img {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}

.checkout-redeem-points {
    color: #000000;
}

.checkout-redeem-points .redeem-points-balance {
    color: #000000;
    margin-bottom: 15px;
}

.checkout-redeem-points .redeem-points-form {
    color: #000000;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.checkout-redeem-points .redeem-points-balance span {
    color: #0e3fa9;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {

}

@media(max-width: 1024px) {
    .neogeo-japan-points .points-progress {
        grid-template-columns: 1fr;
    }
}