/* ==========================================================================
   Affiliateprime Companion - Review Box Block CSS
   ========================================================================== */

   .af-review-box {
    margin: 30px 0;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    font-family: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.af-review-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Header (Title & Stars) */
.af-rb-header {
    background: #f8f9fa;
    padding: 20px 25px;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.af-rb-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
}
.af-rb-stars {
    color: #ffb400; /* Gold */
    font-size: 1.2rem;
    letter-spacing: 2px;
}
.af-rb-stars .empty {
    color: #dbdbdb;
}

/* Summary */
.af-rb-summary {
    padding: 20px 25px 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
}

/* Pros and Cons Lists */
.af-rb-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 25px;
}
@media (max-width: 600px) {
    .af-rb-lists {
        grid-template-columns: 1fr;
    }
}
.af-rb-pros h4, .af-rb-cons h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.af-rb-pros h4 { color: #198754; }
.af-rb-cons h4 { color: #dc3545; }

.af-rb-pros ul, .af-rb-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.af-rb-pros li, .af-rb-cons li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #555;
}
.af-rb-pros li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #198754;
    font-weight: bold;
}
.af-rb-cons li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

/* Footer (API Price & Button) */
.af-rb-footer {
    background: #fafafa;
    border-top: 1px solid #eaeaea;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.af-rb-price-box {
    display: flex;
    flex-direction: column;
}
.af-rb-list-price {
    font-size: 0.9rem;
    color: #888;
    text-decoration: line-through;
}
.af-rb-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #B12704; /* Amazon red format */
}
.af-rb-btn {
    background: #ff9900;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}
.af-rb-btn:hover {
    background: #e68a00;
    transform: translateY(-2px);
    color: #fff;
}

/* Themes */
.af-review-box.theme-dark {
    background: #1e1e1e;
    border-color: #333;
    color: #e0e0e0;
}
.af-review-box.theme-dark .af-rb-header, 
.af-review-box.theme-dark .af-rb-footer {
    background: #252525;
    border-color: #333;
}
.af-review-box.theme-dark .af-rb-title { color: #fff; }
.af-review-box.theme-dark .af-rb-summary,
.af-review-box.theme-dark .af-rb-pros li, 
.af-review-box.theme-dark .af-rb-cons li { color: #ccc; }

.af-review-box.theme-glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
}
.af-review-box.theme-glass .af-rb-header, 
.af-review-box.theme-glass .af-rb-footer {
    background: rgba(255, 255, 255, 0.2);
}
