/**
 * Webhosting Reviews Manager - Styles
 * Version: 1.0.0
 * Brand Color: Rasengrün (#22c55e)
 */

:root {
    --brand-green: #22c55e;
    --brand-green-dark: #16a34a;
    --brand-green-light: #86efac;
}

.whr-review-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 32px;
    margin: 32px 0;
    max-width: 900px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--brand-green);
}

.whr-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(34, 197, 94, 0.15), 0 15px 30px rgba(0, 0, 0, 0.15);
}

.whr-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 16px;
}

.whr-review-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.whr-review-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-green);
    background: rgba(34, 197, 94, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
}

.whr-review-rating-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.whr-review-rating-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--brand-green);
    line-height: 1;
}

.whr-review-stars {
    display: flex;
    gap: 4px;
}

.whr-star {
    width: 20px;
    height: 20px;
}

.whr-star.filled {
    fill: var(--brand-green);
}

.whr-star.half {
    fill: url(#half-star);
}

.whr-star.empty {
    fill: #d1d5db;
}

.whr-review-description {
    margin-bottom: 24px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    line-height: 1.6;
    color: #4b5563;
    border-left: 4px solid var(--brand-green);
}

.whr-review-description p:last-child {
    margin-bottom: 0;
}

.whr-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.whr-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.whr-feature-item:hover {
    background: rgba(34, 197, 94, 0.05);
    border-color: var(--brand-green-light);
    transform: scale(1.02);
}

.whr-feature-icon {
    width: 32px;
    height: 32px;
    color: var(--brand-green);
    stroke-width: 2;
    flex-shrink: 0;
}

.whr-feature-text {
    display: flex;
    flex-direction: column;
}

.whr-feature-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.whr-feature-label {
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whr-pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.whr-pros, .whr-cons {
    padding: 20px;
    border-radius: 12px;
}

.whr-pros {
    background: rgba(34, 197, 94, 0.05);
    border-left: 4px solid var(--brand-green);
}

.whr-cons {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
}

.whr-pros-title, .whr-cons-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whr-pros-title {
    color: var(--brand-green-dark);
}

.whr-cons-title {
    color: #dc2626;
}

.whr-icon-check, .whr-icon-cross {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.whr-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.whr-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 15px;
    line-height: 1.5;
}

.whr-pros .whr-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-green);
    font-weight: bold;
    font-size: 18px;
}

.whr-cons .whr-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
    font-size: 18px;
}

.whr-review-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
}

.whr-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: var(--brand-green);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.whr-cta-button:hover {
    background: var(--brand-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    color: #ffffff;
}

.whr-arrow-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.whr-cta-button:hover .whr-arrow-icon {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .whr-review-card {
        padding: 24px;
    }
    
    .whr-review-header {
        flex-direction: column;
        text-align: center;
    }
    
    .whr-review-title {
        font-size: 24px;
    }
    
    .whr-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .whr-feature-item {
        padding: 12px;
    }
    
    .whr-pros-cons {
        grid-template-columns: 1fr;
    }
}
