/**
 * Review Submit Page Styles
 *
 * @package NONKE_SPA
 * @since 1.0.0
 */

/* ==========================================================================
   口コミ投稿フォーム
   ========================================================================== */
.p-reviewForm {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.1);
}

.p-reviewForm__inner {
    max-width: 600px;
    margin: 0 auto;
}

.p-reviewForm__message {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    font-weight: 700;
}

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

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

.p-reviewForm__form {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 8px;
}

.p-reviewForm__group {
    margin-bottom: 30px;
}

.p-reviewForm__label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}

.p-reviewForm__label .required {
    color: #ff4444;
}

.p-reviewForm__input,
.p-reviewForm__select,
.p-reviewForm__textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: #fff;
}

.p-reviewForm__input:focus,
.p-reviewForm__select:focus,
.p-reviewForm__textarea:focus {
    outline: none;
    border-color: #303c09;
}

.p-reviewForm__rating {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.p-reviewForm__stars {
    display: flex;
    gap: 8px;
}

.p-reviewForm__rating input[type="radio"] {
    display: none;
}

.p-reviewForm__star {
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.p-reviewForm__star i {
    color: #ddd;
    font-size: 24px;
    transition: color 0.2s;
}

.p-reviewForm__star i.filled {
    color: #ffd700;
}

.p-reviewForm__ratingText {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.p-reviewForm__submit {
    text-align: center;
    margin-top: 40px;
}

/* ハニーポット（スパム対策） */
.p-reviewForm__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .p-reviewForm {
        padding: 60px 0;
    }
    
    .p-reviewForm__form {
        padding: 30px 20px;
    }
    
    .p-reviewForm__star i {
        font-size: 20px;
    }
}