/* BmPoints Clickable Rewards - Light & Dark Theme */

/* LIGHT THEME */
html.light-mode .bmpoints-rewards {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

html.light-mode .reward-card {
    background: white !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    max-width: 200px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important;
    transition: all 0.2s ease !important;
}

html.light-mode .reward-card:hover {
    border-color: #2d7c2d !important;
    box-shadow: 0 4px 14px rgba(45, 124, 45, 0.15) !important;
    transform: translateY(-2px) !important;
}

html.light-mode .reward-badge {
    flex-shrink: 0 !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html.light-mode .reward-badge img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
}

html.light-mode .reward-badge .dashicons {
    font-size: 40px !important;
    width: 40px !important;
    height: 40px !important;
    color: #2d7c2d !important;
}

html.light-mode .reward-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

html.light-mode .reward-card h3 {
    margin: 0 !important;
    color: #1f2937 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

html.light-mode .reward-card p {
    margin: 0 !important;
    color: #6b7280 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
}

html.light-mode .claim-reward-btn {
    background: linear-gradient(to bottom, #2d7c2d, #1f5f1f) !important;
    color: white !important;
    border: 1px solid #1a4d1a !important;
    border-right-color: #3d9d3d !important;
    border-bottom-color: #3d9d3d !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0px 3px 6px rgba(45, 124, 45, 0.25) !important;
    white-space: nowrap !important;
    align-self: flex-start !important;
}

html.light-mode .claim-reward-btn:hover {
    background: linear-gradient(to bottom, #3d9d3d, #2d7c2d) !important;
    box-shadow: 0px 5px 10px rgba(45, 124, 45, 0.3) !important;
    transform: translateY(-1px) !important;
}

html.light-mode .claim-reward-btn:active {
    box-shadow: 0px 2px 4px rgba(45, 124, 45, 0.2) !important;
    transform: translateY(0) !important;
}

html.light-mode .claim-reward-btn .dashicons {
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
}

html.light-mode .bmpoints-no-rewards {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    padding: 20px !important;
    text-align: center !important;
    color: #6b7280 !important;
    font-style: italic !important;
}

html.light-mode .bmpoints-claimed-rewards {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
}

html.light-mode .claimed-reward-card {
    flex: 0 1 calc(33.333% - 10px) !important;
    min-width: 250px !important;
    background: white !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

html.light-mode .claimed-reward-card h3 {
    margin: 0 0 8px 0 !important;
    color: #1f2937 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

html.light-mode .claimed-reward-card p {
    margin: 0 0 5px 0 !important;
    color: #6b7280 !important;
    font-size: 13px !important;
    flex: 1 !important;
}

html.light-mode .claimed-reward-card strong {
    color: #1f2937 !important;
    font-weight: 600 !important;
}

html.light-mode .bmpoints-view-claimed-link {
    display: inline-block !important;
    margin-top: 20px !important;
    padding: 10px 20px !important;
    background: white !important;
    border: 1px solid #2d7c2d !important;
    color: #2d7c2d !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}

html.light-mode .bmpoints-view-claimed-link:hover {
    background: #2d7c2d !important;
    color: white !important;
}

html.light-mode .bmpoints-pagination {
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
    margin-top: 20px !important;
    flex-wrap: wrap !important;
}

html.light-mode .bmpoints-page-link {
    padding: 8px 12px !important;
    border: 1px solid #2d7c2d !important;
    color: #2d7c2d !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

html.light-mode .bmpoints-page-link:hover {
    background: #2d7c2d !important;
    color: white !important;
}

html.light-mode .bmpoints-page-number {
    padding: 8px 12px !important;
    background: #2d7c2d !important;
    color: white !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
}

/* DARK THEME */
html.dark-mode .bmpoints-rewards {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

html.dark-mode .reward-card {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 10px !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    max-width: 200px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    transition: all 0.2s ease !important;
}

html.dark-mode .reward-card:hover {
    border-color: #3d9d3d !important;
    box-shadow: 0 4px 14px rgba(61, 157, 61, 0.2) !important;
    transform: translateY(-2px) !important;
}

html.dark-mode .reward-badge {
    flex-shrink: 0 !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html.dark-mode .reward-badge img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
}

html.dark-mode .reward-badge .dashicons {
    font-size: 40px !important;
    width: 40px !important;
    height: 40px !important;
    color: #3d9d3d !important;
}

html.dark-mode .reward-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

html.dark-mode .reward-card h3 {
    margin: 0 !important;
    color: #e0e0e0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

html.dark-mode .reward-card p {
    margin: 0 !important;
    color: #a0a0a0 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
}

html.dark-mode .claim-reward-btn {
    background: linear-gradient(to bottom, #3d9d3d, #2d7c2d) !important;
    color: white !important;
    border: 1px solid #1a4d1a !important;
    border-right-color: #5ab85a !important;
    border-bottom-color: #5ab85a !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0px 3px 6px rgba(61, 157, 61, 0.35) !important;
    white-space: nowrap !important;
    align-self: flex-start !important;
}

html.dark-mode .claim-reward-btn:hover {
    background: linear-gradient(to bottom, #4db84d, #3d9d3d) !important;
    box-shadow: 0px 5px 10px rgba(61, 157, 61, 0.4) !important;
    transform: translateY(-1px) !important;
}

html.dark-mode .claim-reward-btn:active {
    box-shadow: 0px 2px 4px rgba(61, 157, 61, 0.2) !important;
    transform: translateY(0) !important;
}

html.dark-mode .claim-reward-btn .dashicons {
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
}

html.dark-mode .bmpoints-no-rewards {
    background: #252525 !important;
    border: 1px solid #333 !important;
    border-radius: 6px !important;
    padding: 20px !important;
    text-align: center !important;
    color: #a0a0a0 !important;
    font-style: italic !important;
}

html.dark-mode .bmpoints-claimed-rewards {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
}

html.dark-mode .claimed-reward-card {
    flex: 0 1 calc(33.333% - 10px) !important;
    min-width: 250px !important;
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 6px !important;
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

html.dark-mode .claimed-reward-card h3 {
    margin: 0 0 8px 0 !important;
    color: #e0e0e0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

html.dark-mode .claimed-reward-card p {
    margin: 0 0 5px 0 !important;
    color: #a0a0a0 !important;
    font-size: 13px !important;
    flex: 1 !important;
}

html.dark-mode .claimed-reward-card strong {
    color: #e0e0e0 !important;
    font-weight: 600 !important;
}

html.dark-mode .bmpoints-view-claimed-link {
    display: inline-block !important;
    margin-top: 20px !important;
    padding: 10px 20px !important;
    background: transparent !important;
    border: 1px solid #3d9d3d !important;
    color: #3d9d3d !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}

html.dark-mode .bmpoints-view-claimed-link:hover {
    background: #3d9d3d !important;
    color: white !important;
}

html.dark-mode .bmpoints-pagination {
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
    margin-top: 20px !important;
    flex-wrap: wrap !important;
}

html.dark-mode .bmpoints-page-link {
    padding: 8px 12px !important;
    border: 1px solid #3d9d3d !important;
    color: #3d9d3d !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

html.dark-mode .bmpoints-page-link:hover {
    background: #3d9d3d !important;
    color: white !important;
}

html.dark-mode .bmpoints-page-number {
    padding: 8px 12px !important;
    background: #3d9d3d !important;
    color: white !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
}
