/* YITH Points Display Styles (Si�u nh? g?n v� t?i uu mobile) */
.yith-points-display {
    background: #f8f9fa;
    padding: 8px; /* Gi?m padding */
    margin: 6px 0; /* Gi?m margin */
    border-radius: 6px; /* Gi?m border-radius */
    transition: all 0.3s ease;
    border: 1px solid #e9ecef; /* Vi?n m?ng nh? */
}

.yith-points-display:hover {
    border-color: #0c8242;
}

.points-main-info {
    display: flex;
    align-items: center;
    gap: 8px; /* Gi?m kho?ng c�ch gi?a c�c ph?n t? */
}

.points-toggle-header {
    background: none;
    border: none;
    color: #333;
    padding: 0;
    font-size: 12px; /* Gi?m font ch? */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    margin-bottom: 0px !important;
}

.points-toggle-header:hover {
    color: #0c8242;
}

.points-earn {
    color: inherit;
    font-size: 12px; /* Gi?m font ch? */
    line-height: inherit;
}

.points-earn strong {
    color: #0c8242;
    font-weight: 700;
}

.points-toggle-header .toggle-icon {
    transition: transform 0.3s ease;
    font-size: 12px; /* Gi?m font ch? */
    color: #0c8242;
    margin-left: 5px; /* Gi?m margin */
}

.points-toggle-header.expanded .toggle-icon {
    transform: rotate(180deg);
}

.points-details {
    margin-top: 8px; /* Gi?m margin */
    padding-top: 8px; /* Gi?m padding */
    border-top: 1px solid #dee2e6;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 300px;
    }
}

.points-explanation p {
    margin: 0 0 6px 0; /* Gi?m margin */
    line-height: 1.4; /* Gi?m line-height */
    color: #555;
    font-size: 12px; /* Gi?m font ch? */
}

.points-explanation strong {
    color: #333;
}

.points-login-prompt {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 10px; /* Gi?m padding */
    border-radius: 4px; /* Gi?m border-radius */
    margin: 10px 0; /* Gi?m margin */
    font-size: 12px; /* Gi?m font ch? */
}

.points-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px; /* Gi?m gap */
    margin-top: 8px; /* Gi?m margin */
}

.btn-login,
.btn-register {
    display: block;
    padding: 8px 12px; /* Gi?m padding d? n�t nh? g?n */
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px; /* Gi?m font ch? */
    transition: all 0.3s ease;
    text-align: center;
}

.btn-login {
    background: #0c8242;
    color: white;
}

.btn-login:hover {
    background: #8dc63f;
    color: white;
}

.btn-register {
    background: #8dc63f;
    color: white;
}

.btn-register:hover {
    background: #0c8242;
    color: white;
}

.points-user-info {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px; /* Gi?m padding */
    border-radius: 4px;
    margin: 10px 0;
    font-size: 12px; /* Gi?m font ch? */
}

.points-user-info p {
    margin: 3px 0; /* Gi?m margin */
    color: #155724;
    font-size: 12px;
}

.points-conversion-info {
    background: #e2f3ff;
    border: 1px solid #bee5eb;
    padding: 10px; /* Gi?m padding */
    border-radius: 4px;
    margin-top: 10px;
}

.points-conversion-info h4 {
    margin: 0 0 6px 0; /* Gi?m margin */
    color: #0c5460;
    font-size: 12px; /* Gi?m font ch? */
}

.points-conversion-info ul {
    margin: 0;
    padding-left: 12px; /* Gi?m padding-left */
    color: #0c5460;
}

.points-conversion-info li {
    margin: 3px 0; /* Gi?m margin */
    font-size: 12px; /* Gi?m font ch? */
}

/* Shortcode Styles */
.points-simple {
    color: #0c8242;
    font-weight: 700;
    font-size: 14px; /* Gi?m font ch? */
}

.points-icon-only {
    background: #0c8242;
    color: white;
    padding: 4px 8px; /* Gi?m padding */
    border-radius: 10px; /* Gi?m border-radius */
    font-size: 11px; /* Gi?m font ch? */
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Tinh ch?nh Responsive */
@media (min-width: 769px) {
    /* �?m b?o v?n hi?n th? ngang tr�n desktop n?u c?n v� k�ch thu?c tuong d?i nh? g?n */
    .points-auth-buttons {
        flex-direction: row;
    }
    .btn-login,
    .btn-register {
        display: inline-block;
        width: auto;
    }
}

/* Product Support Info - Free ship & Hotline */
.product-support-info {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.support-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    /* Filter to convert SVG to green #0c8242 */
    filter: invert(31%) sepia(91%) saturate(830%) hue-rotate(111deg) brightness(91%) contrast(95%);
}

.support-text {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.support-text br {
    display: block;
    content: "";
    margin: 2px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-support-info {
        padding: 12px;
        margin: 15px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .support-item {
        gap: 10px;
        width: 100%;
        min-width: auto;
    }

    .support-icon {
        width: 32px;
        height: 32px;
    }

    .support-text {
        font-size: 13px;
    }
}