.gpc-review-form-wrap {
    max-width: 650px;
    width: 100%;
}

.gpc-review-message {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 2px;
    font-size: 15px;
    line-height: 1.4;
}

.gpc-review-success {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.gpc-review-error {
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.gpc-review-form {
    width: 100%;
}

.gpc-star-fieldset {
    border: 0;
    margin: 0 0 22px;
    padding: 0;
}

.gpc-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.gpc-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gpc-stars label {
    display: inline-block;
    color: #cfcfcf;
    cursor: pointer;
    font-size: 42px;
    line-height: 1;
    transition: color 0.18s ease;
}

.gpc-stars input:checked ~ label,
.gpc-stars label:hover,
.gpc-stars label:hover ~ label {
    color: #ffc400;
}

.gpc-review-form input[type="text"],
.gpc-review-form input[type="date"],
.gpc-review-form textarea {
    display: block;
    width: 100%;
    margin: 0 0 18px;
    padding: 0 14px;
    min-height: 63px;
    border: 1px solid #cfd6df;
    border-radius: 0;
    background: #fff;
    color: #1f2933;
    font-size: 16px;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
}

.gpc-review-form textarea {
    min-height: 170px;
    padding-top: 18px;
    resize: vertical;
}

.gpc-review-form input::placeholder,
.gpc-review-form textarea::placeholder {
    color: #d1d5db;
    opacity: 1;
}

.gpc-review-form input:focus,
.gpc-review-form textarea:focus {
    border-color: #ff6b00;
}

.gpc-review-form button[type="submit"] {
    display: inline-block;
    padding: 17px 32px;
    border: 0;
    border-radius: 3px;
    background: #ff6b00;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.22);
    transition: background 0.2s ease, transform 0.2s ease;
}

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

@media (max-width: 767px) {
    .gpc-stars label {
        font-size: 34px;
    }

    .gpc-review-form input[type="text"],
    .gpc-review-form input[type="date"],
    .gpc-review-form textarea {
        min-height: 56px;
        font-size: 15px;
    }
}
