/**
 * Scoped style overrides for the Site Reviews plugin's submission form,
 * so it matches the Horizons Theme look instead of the plugin's raw default
 * styling. Only touches elements inside .horizons-review-form so nothing
 * else on the site is affected.
 */

.horizons-review-form .glsr-form-group {
    margin-bottom: 1.25rem;
}

.horizons-review-form .glsr-label,
.horizons-review-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #1c2b22;
}

.horizons-review-form input[type="text"],
.horizons-review-form input[type="email"],
.horizons-review-form input[type="url"],
.horizons-review-form textarea,
.horizons-review-form select {
    width: 100%;
    border: 1px solid rgba(28, 43, 34, 0.15);
    border-radius: 0.75rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    background: #fff;
    color: #1c2b22;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.horizons-review-form input[type="text"]:focus,
.horizons-review-form input[type="email"]:focus,
.horizons-review-form input[type="url"]:focus,
.horizons-review-form textarea:focus,
.horizons-review-form select:focus {
    outline: none;
    border-color: #c8a24a;
    box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.15);
}

.horizons-review-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Star rating widget */
.horizons-review-form .glsr-star-rating,
.horizons-review-form .glsr-form-rating {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.horizons-review-form .glsr-star-rating svg,
.horizons-review-form .glsr-star-rating i,
.horizons-review-form .glsr-icon {
    color: #c8a24a;
}

/* Submit button, restyled to match the theme's gold pill buttons */
.horizons-review-form button[type="submit"],
.horizons-review-form .glsr-button-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: none;
    border-radius: 9999px;
    background: #c8a24a;
    color: #1c2b22;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.horizons-review-form button[type="submit"]:hover,
.horizons-review-form .glsr-button-submit:hover {
    background: #b6903d;
    transform: translateY(-1px);
}

/* Success / error messages */
.horizons-review-form .glsr-success-message {
    border-radius: 0.75rem;
    padding: 0.9rem 1.1rem;
    background: rgba(200, 162, 74, 0.12);
    color: #1c2b22;
    font-size: 0.9rem;
}
