/* MFO and Offers Styling */

.offer-grid { 
    display: grid; 
    grid-template-columns: 150px 1fr 200px; 
    gap: 20px; 
    align-items: center; 
}

.offer-logo img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 12px; 
    width: 120px; 
    height: 80px; 
    object-fit: contain; 
    border: 1px solid var(--gray-light); 
    padding: 5px;
}

.rating-box { 
    margin-top: 10px; 
    font-size: 0.9em; 
    color: #f1c40f; 
    font-weight: 700;
}

.eeat-badge {
    display: flex; 
    align-items: center; 
    gap: 15px; 
    padding: 15px 20px; 
    background: #f0f7ff; 
    border: 1px solid #d0e3ff; 
    border-radius: 12px;
    margin-bottom: 25px;
}

.eeat-icon {
    font-size: 24px;
}

.eeat-text {
    font-size: 0.9em; 
    color: #34495e;
    line-height: 1.4;
}

.offer-calculation {
    margin-top: 15px; 
    padding: 12px; 
    background: #f8fdfa; 
    border-radius: 8px; 
    border: 1px solid #e2f3e7;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calculation-label {
    font-size: 0.85em; 
    color: #666;
}

.calculation-value {
    color: #27ae60; 
    font-size: 1.2em;
    font-weight: 800;
}

.payout-methods {
    margin-top: 12px; 
    font-size: 0.75rem; 
    color: var(--slate-400);
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.offer-subtitle {
    font-size: 0.9em; 
    color: var(--slate-500);
}

.license-info {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
    font-size: 0.75em;
    color: #94a3b8;
    line-height: 1.5;
}

.license-info strong {
    color: #64748b;
}

.offer-info h3 { 
    margin: 0 0 10px 0; 
    color: var(--dark); 
    font-size: 1.4em; 
}

.offer-params { 
    display: flex; 
    gap: 20px; 
    color: var(--slate-500); 
    font-size: 0.9em; 
}

.param-item strong { 
    display: block; 
    color: var(--dark); 
    font-size: 1.1em; 
}

.calculation-box {
    margin-top: 15px; 
    padding: 10px; 
    background: #f9fdf9; 
    border-radius: 6px; 
    border: 1px solid #e8f5e9;
}

.offer-requirements {
    margin-top: 10px; 
    font-size: 0.85rem; 
    color: var(--slate-600);
}

.offer-requirements ul {
    list-style: none; 
    padding: 0; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px;
}

.license-info {
    font-size: 0.75rem; 
    color: var(--slate-400); 
    margin-top: 5px;
}

/* Reviews */
.reviews-section {
    margin-top: 40px; 
}

.review { 
    border-bottom: 1px solid var(--slate-100); 
    padding: 20px 0; 
}

.review:last-child { 
    border-bottom: none; 
}

.review-header { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 10px;
}

.rating-stars { 
    color: var(--warning); 
}

.review-mfo { 
    font-size: 0.85em; 
    color: var(--slate-400); 
    margin-bottom: 5px; 
}

@media (max-width: 768px) {
    .offer-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .offer-logo { margin: 0 auto; }
    .offer-params { justify-content: center; flex-wrap: wrap; }
    .offer-action { margin-top: 15px; }
}

@media (max-width: 600px) {
    .mfo-list-grid {
        grid-template-columns: 1fr;
    }
    .mfo-card-actions {
        grid-template-columns: 1fr;
    }
}

.mfo-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mfo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.mfo-card-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.mfo-card-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--slate-100);
}

.mfo-card-title {
    margin: 0;
    font-size: 1.2rem;
}

.mfo-card-title a {
    text-decoration: none;
    color: var(--dark);
}

.mfo-card-rating {
    color: var(--warning);
    font-size: 0.9rem;
    font-weight: 600;
}

.mfo-card-params {
    flex-grow: 1;
    font-size: 0.95rem;
    color: var(--slate-500);
    margin-bottom: 25px;
}

.mfo-param-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--slate-100);
}

.mfo-param-row:last-child {
    border-bottom: none;
}

.mfo-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-outline {
    background: var(--slate-100);
    color: var(--dark);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--slate-200);
    transform: none;
}
