/* 
 * Styles for Combinate
 * Contains component-specific styles and custom UI elements
 */

/* ------------------------------------
 * 1. Review Styles
 * ------------------------------------ */
/* Review Form Styles */
.rating-category {
    margin-bottom: 1.5rem;
}

.rating-value {
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 1.5rem;
    text-align: center;
}

/* Style range inputs (sliders) */
input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: #e9ecef;
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bs-primary);
    cursor: pointer;
    border: none;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bs-primary);
    cursor: pointer;
    border: none;
}

input[type="range"]:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Pros and cons textarea styling */
.review-pros-cons textarea {
    min-height: 120px;
}

/* ------------------------------------
 * 2. Review Display Styles
 * ------------------------------------ */
.review-card {
    border-left: 4px solid var(--bs-primary);
    margin-bottom: 1.5rem;
}

.review-rating {
    font-size: 1.2rem;
    font-weight: 600;
}

.review-category-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.review-category-item {
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-category-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.review-category-value {
    font-weight: 600;
}

.review-pros-cons {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
}

.review-pros, .review-cons {
    flex: 1;
}

.review-pros h6, .review-cons h6 {
    margin-bottom: 0.5rem;
}

.review-pros ul, .review-cons ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.review-recommendation {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.review-recommendation.positive {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.review-recommendation.negative {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* ------------------------------------
 * 3. Rating Summary Styles
 * ------------------------------------ */
.rating-summary {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.rating-summary-score {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-right: 1rem;
}

.rating-summary-details {
    flex: 1;
}

.rating-bar-container {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.rating-bar {
    height: 100%;
    background-color: var(--bs-primary);
}

.rating-distribution {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6c757d;
}

/* ------------------------------------
 * 4. Badge and Verification Styles
 * ------------------------------------ */
/* Verified badge styling */
.verification-badge {
    display: inline-block;
    vertical-align: middle;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.verified-badge svg {
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.5));
}

.verified-badge svg circle {
    stroke: white;
    stroke-width: 1.5px;
}

/* Status icon in dashboard */
.status-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
} 