.convert-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: 2px solid #28a745;
    color: #28a745;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.convert-btn:hover {
    background: #28a745;
    color: white;
}

.tabs {
    display: flex;
    background: #e9ecef;
    padding: 0 20px;
}

.tab {
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-weight: 500;
}

.tab.active {
    border-bottom-color: #007bff;
    background: white;
}

.rewards-grid,
#rewards-container, 
.rewards-container {
    background: white;
    display: grid;
    gap: 20px;
    padding: 30px;
}

.reward-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    /* REMOVED transition to prevent flickering */
    display: flex;
    flex-direction: column;
    min-height: 400px;
    /* ADDED: Prevent any unwanted animations */
    animation: none !important;
    transform: none !important;
}

.reward-card:hover {
    /* REMOVED transform to prevent flickering */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: rgb(235, 235, 235);
}

/* ADDED: Specific style for redeemed cards to prevent flickering */
.reward-card.redeemed-card {
    background: #f8f9fa;
    opacity: 1;
    animation: none !important;
    transition: none !important;
}

.reward-card.opacity-75 {
    opacity: 0.75;
    /* ADDED: Prevent transition on opacity */
    transition: none !important;
}

.points-badge {
    background: #2d5a34;
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    margin: 15px;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(45, 90, 52, 0.3);
    position: relative;
    /* ADDED: Prevent any animations */
    animation: none !important;
    transition: none !important;
}

/* REMOVED: The ::before pseudo-element that was causing flickering */
.points-badge::after {
    content: ' Redeemable Points';
}

/* ADDED: Specific styling for redeemed badge */
.points-badge.redeemed-badge {
    background: #28a745;
    animation: none !important;
    transition: none !important;
}

.points-badge.redeemed-badge::after {
    content: '';
}

.reward-image {
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    /* ADDED: Prevent any transitions */
    transition: none !important;
}

.reward-image img {
    height: 150px;
    max-width: 100%;
    object-fit: cover;
    display: inline-block;
    /* ADDED: Prevent any transitions */
    transition: none !important;
}

.reward-content {
    padding: 0 20px 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.reward-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.reward-type {
    font-size: 14px;
    color: #007bff;
    font-weight: 500;
    margin-bottom: 8px;
}

.reward-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1;
}

.redeem-btn {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: auto;
}

.redeem-btn:hover {
    background: #0056b3;
}

.redeem-btn:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.need-more-points {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    grid-column: 1 / -1;
}

.error {
    text-align: center;
    padding: 40px;
    color: #dc3545;
    grid-column: 1 / -1;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Grid wrapper */
.rewards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ADDED: Ensure no animations or transitions on reward columns */
.reward-col {
    animation: none !important;
    transition: none !important;
}

@media (max-width: 992px) {
    .rewards-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .rewards-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .reward-card {
        min-height: 350px;
    }
}

/* ADDED: Force disable all animations and transitions globally on reward cards */
.reward-card * {
    animation: none !important;
}

/* ADDED: Specific fix for webkit browsers */
.reward-card {
    -webkit-animation: none !important;
    -webkit-transform: none !important;
    will-change: auto !important;
}

/* ADDED: Prevent hover effects on redeemed cards */
.reward-card.opacity-75:hover,
.reward-card.redeemed-card:hover {
    transform: none !important;
    background: #f8f9fa;
}