/* Testimonials By Zorketing Frontend Styles */

.zorketing-testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.zorketing-testimonial-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #ebebeb;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.zorketing-product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
    margin: -24px -24px 20px -24px;
}

.zorketing-rating {
    color: #FF6B6B;
    font-size: 20px;
    margin-bottom: 10px;
}

.zorketing-review-heading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.zorketing-review-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.zorketing-author-box {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.zorketing-author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.zorketing-author-details {
    display: flex;
    flex-direction: column;
}

.zorketing-author-name {
    font-weight: bold;
    color: #333;
}

.zorketing-date {
    font-size: 12px;
    color: #999;
}

/* Review Form */
.zorketing-review-form-wrapper {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e1e1e1;
}

.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 30px;
    color: #ccc;
    cursor: pointer;
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: #FF6B6B;
}

.notice-success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.notice-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}
