/* My Points Tab Styles */

.points-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    margin-top: 40px;
}

/* Balance Card */
.points-balance-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 463px;
    height: 68px;
    padding: 5px 20px;
    background-color: rgba(63, 63, 234, 0.1);
    border: 1px solid #2020B3;
    border-radius: 8px;
    flex-shrink: 0;
}

.points-balance-card .balance-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    color: #2020B3;
    text-align: center;
}

.points-balance-card .balance-text .balance-value {
    font-weight: 700;
}

.points-balance-card .balance-icon {
    width: 20px;
    height: 20px;
    color: #2020B3;
}

/* Points List */
.points-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
    width: 537px;
    flex-shrink: 0;
}

/* Points Row */
.points-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.points-row-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.points-row-label {
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    color: #000;
    text-align: right;
}

.points-row-value {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.points-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 20px;
    background-color: rgba(63, 63, 234, 0.1);
    border-radius: 19px;
}

.points-badge span {
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    color: #2020B3;
    text-align: center;
}

.points-chevron {
    width: 10px;
    height: 5px;
    color: #2020B3;
    transition: transform 0.3s ease;
}

/* Accordion Open State */
.points-row.open .points-chevron {
    transform: rotate(180deg);
}

.points-divider {
    width: 100%;
    height: 1px;
    background-color: #E8E8E8;
}

/* Accordion Container */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    /* Smooth animation */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.points-row.open .accordion-container {
    max-height: 500px;
    opacity: 1;
}

/* Accordion Content */
.points-accordion-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #585858;
    border-radius: 4px;
}

/* Accordion Item Row */
.accordion-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.accordion-item-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: #000;
    text-align: left;
}

.accordion-item-value {
    font-size: 13px;
    font-weight: 500;
    line-height: 15px;
    color: #000;
    width: 138px;
    text-align: left;
}

.accordion-item-value .separator {
    color: #C5C5C5;
    margin: 0 4px;
}

.accordion-divider {
    width: 100%;
    height: 1px;
    background-color: #E8E8E8;
    margin: 3px 0;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .points-container {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .points-balance-card {
        width: 100%;
        max-width: 463px;
    }

    .points-list {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .points-container {
        margin-top: 12px;
        flex-direction: column;
        gap: 16px;
    }

    .points-balance-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 12px 16px;
    }

    .points-balance-card .balance-text {
        font-size: 16px;
    }

    .points-list {
        width: 100%;
        gap: 12px;
    }

    .points-row-label {
        font-size: 14px;
    }

    .points-badge span {
        font-size: 16px;
    }
}

