/* Reviews Page Styles - Farmostr */

/* Page Title */
.reviews-page-title {
    font-size: 1.75rem;
    color: #000000CC;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 2rem;
}

/* Review Form Card */
.review-form-card {
    background: linear-gradient(135deg, rgba(48, 115, 76, 0.08) 0%, rgba(48, 115, 76, 0.04) 100%);
    border: 2px solid #30734C;
    border-radius: 16px;
    padding: 1.75rem;
    position: sticky;
    top: 100px;
}

.review-form-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: #30734C;
}

.review-form-header i {
    font-size: 1.75rem;
}

.review-form-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.25rem;
    color: #344863;
}

.review-textarea {
    border: 2px solid #E0E9FF;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.review-textarea:focus {
    color: #212529;
    background-color: #fff;
    border-color: #30734C;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(48, 115, 76, 0.15);
}

.review-textarea::placeholder {
    color: #7D879C;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Review Card */
.review-card {
    background: #fff;
    border: 2px solid #F3F5FA;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #30734C 0%, #4a9e6a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card:hover {
    border-color: #30734C;
    box-shadow: 0 8px 24px rgba(48, 115, 76, 0.12);
    transform: translateY(-2px);
}

.review-card:hover::before {
    opacity: 1;
}

.review-content {
    position: relative;
    padding-left: 0.5rem;
}

.review-quote-icon {
    position: absolute;
    top: -8px;
    right: 0;
    color: #30734C;
    opacity: 0.15;
    font-size: 3rem;
    line-height: 1;
}

.review-text {
    color: #344863;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.review-footer {
    border-top: 1px solid #F3F5FA;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(48, 115, 76, 0.15) 0%, rgba(48, 115, 76, 0.08) 100%);
    border-radius: 50%;
    color: #30734C;
    font-size: 1.75rem;
}

.review-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.review-author-name {
    color: #344863;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.review-date {
    color: #7D879C;
    font-size: 0.875rem;
}

/* Empty Reviews Alert */
.empty-reviews-alert {
    margin-top: 2rem;
    padding: 2.5rem;
    color: #344863;
    background-color: rgba(48, 115, 76, 0.08);
    border: 2px solid #30734C;
    border-radius: 16px;
    text-align: center;
}

.empty-reviews-icon {
    font-size: 3.5rem;
    color: #30734C;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.empty-reviews-alert .alert-heading {
    color: #344863;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.empty-reviews-alert p {
    color: #7D879C;
    font-size: 1rem;
}

/* Button Styles */
.button-buy {
    background-color: #30734C;
    border-color: #30734C;
    color: #fff;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.button-buy:hover {
    background-color: #245c3b;
    border-color: #245c3b;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(48, 115, 76, 0.25);
}

.button-buy:focus {
    background-color: #245c3b;
    border-color: #245c3b;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(48, 115, 76, 0.25);
}

.button-buy:active {
    background-color: #1d4a2f;
    border-color: #1d4a2f;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .review-form-card {
        position: static;
        margin-bottom: 2rem;
    }
    
    .reviews-page-title {
        font-size: 1.5rem;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .review-card {
        padding: 1.25rem;
    }
    
    .review-form-card {
        padding: 1.25rem;
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .review-quote-icon {
        font-size: 2.5rem;
    }
    
    .empty-reviews-alert {
        padding: 1.5rem;
    }
    
    .empty-reviews-icon {
        font-size: 2.5rem;
    }
}
