/* ===== Share Your Experience - Frontend Styles ===== */

/* --- Section Header --- */
.sye-section {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f4;
    border-radius: 12px;
}

.sye-section-header {
    text-align: center;
    margin-bottom: 36px;
}

.sye-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 13px;
    color: #7fb8a4;
    font-weight: 600;
    margin: 0 0 10px;
}

.sye-section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 12px;
    line-height: 1.1;
    font-family: Georgia, 'Times New Roman', serif;
}

.sye-section-subtitle {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
}

/* --- Form Card --- */
.sye-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.sye-form-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 28px;
}

/* --- Form Groups --- */
.sye-form-group {
    margin-bottom: 22px;
}

.sye-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.sye-input,
.sye-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    outline: none;
}

.sye-input::placeholder,
.sye-textarea::placeholder {
    color: #9ca3af;
}

.sye-input:focus,
.sye-textarea:focus {
    border-color: #7fb8a4;
    box-shadow: 0 0 0 3px rgba(127,184,164,0.15);
}

.sye-textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- Star Rating Input --- */
.sye-stars-input {
    display: flex;
    gap: 6px;
    cursor: pointer;
}

.sye-star {
    font-size: 28px;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s, transform 0.1s;
    line-height: 1;
    user-select: none;
}

.sye-star:hover,
.sye-star.active {
    color: #f59e0b;
}

.sye-star:hover {
    transform: scale(1.15);
}

/* --- Submit Button --- */
.sye-submit-btn {
    width: 100%;
    padding: 15px 24px;
    background: #7fb8a4;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
    letter-spacing: 0.02em;
    margin-top: 8px;
}

.sye-submit-btn:hover {
    background: #6aa892;
    transform: translateY(-1px);
}

.sye-submit-btn:active {
    transform: translateY(0);
}

.sye-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* --- Messages --- */
.sye-success-msg {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.sye-error-msg {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* ===== Reviews Display Grid ===== */
.sye-reviews-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.sye-reviews-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.sye-review-display-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    border: 1px solid #f3f4f6;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sye-review-display-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.sye-review-stars {
    margin-bottom: 14px;
}

.sye-star-filled { color: #f59e0b; font-size: 18px; }
.sye-star-empty  { color: #d1d5db; font-size: 18px; }

.sye-review-text {
    font-size: 15px;
    color: #374151;
    line-height: 1.65;
    margin: 0 0 20px;
    font-style: italic;
}

.sye-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sye-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #7fb8a4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.sye-review-name {
    display: block;
    font-size: 14px;
    color: #111827;
    font-weight: 600;
}

.sye-review-company {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

.sye-no-reviews {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    padding: 40px;
}

@media (max-width: 600px) {
    .sye-form-card { padding: 24px 18px; }
    .sye-reviews-display-grid { grid-template-columns: 1fr; }
}
