/* Review Collection – v1.2 */
.rc-card {
    max-width: 560px;
    margin: 24px auto;
    padding: 28px 32px;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,.12);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
}

/* Field groups */
.rc-row { margin-bottom: 0; }
.rc-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 480px) {
    .rc-row-2col { grid-template-columns: 1fr; }
    .rc-card { padding: 20px 16px; }
}

.rc-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}
.rc-field label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 4px;
}
.rc-req { color: #e53935; margin-left: 2px; }

/* Inputs */
.rc-card input[type="text"],
.rc-card input[type="email"],
.rc-card input[type="tel"],
.rc-card textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color .2s;
    background: #fafafa;
}
.rc-card input:focus,
.rc-card textarea:focus {
    border-color: #1a73e8;
    outline: none;
    background: #fff;
}
.rc-card input.rc-invalid,
.rc-card textarea.rc-invalid {
    border-color: #e53935;
}

/* Star rating */
.rc-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin: 4px 0 2px;
}
.rc-stars input { display: none; }
.rc-stars label {
    font-size: 34px;
    color: #d0d5dd;
    cursor: pointer;
    transition: color .15s;
    line-height: 1;
    padding: 0 2px;
}
.rc-stars input:checked ~ label,
.rc-stars label:hover,
.rc-stars label:hover ~ label { color: #fbbc04; }

/* Button */
button[type="submit"] {
    margin-top: 6px;
    padding: 11px 28px;
    background: #1a73e8;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
}
button[type="submit"]:hover { background: #1558b0; }
button[type="submit"]:disabled { background: #9ab9f0; cursor: not-allowed; }

/* Message */
#rcMsg {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
    text-align: center;
}
#rcMsg.rc-success { color: #1e7e34; }
#rcMsg.rc-error   { color: #c62828; }
