/* 후기 작성 페이지 전용 스타일 */

.write-review-page {
    padding: 60px 20px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 48px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.page-description {
    font-size: 18px;
    color: #CCCCCC;
    line-height: 1.8;
}

/* 작성 안내 */
.write-guide {
    background: linear-gradient(135deg, #2a1a00 0%, #1a1000 100%);
    border: 3px solid #FFD700;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.write-guide h3 {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 20px;
}

.write-guide ul {
    list-style: none;
    padding: 0;
}

.write-guide li {
    font-size: 16px;
    color: #FFFFFF;
    padding: 10px 0;
    line-height: 1.6;
}

.write-guide strong {
    color: #FF6F0F;
}

/* 후기 작성 폼 */
.review-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    background: linear-gradient(135deg, #1a0000 0%, #2a1010 100%);
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.form-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FFD700;
}

.section-description {
    font-size: 15px;
    color: #CCCCCC;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.required {
    color: #FF0000;
    font-weight: 900;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #FFD700;
    border-radius: 10px;
    background: #0a0000;
    color: #FFFFFF;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6F0F;
    box-shadow: 0 0 15px rgba(255, 111, 15, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.form-hint {
    font-size: 13px;
    color: #FFD700;
    margin-top: 8px;
    opacity: 0.9;
}

/* 라디오 버튼 */
.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    cursor: pointer;
    padding: 12px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.radio-label:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #FF6F0F;
}

.radio-label span {
    color: #FFFFFF;
    font-size: 16px;
}

/* 체크박스 */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    cursor: pointer;
    padding: 10px 15px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FF6F0F;
}

.checkbox-label span {
    color: #FFFFFF;
    font-size: 15px;
}

.checkbox-label.full-width {
    grid-column: 1 / -1;
    padding: 15px 20px;
    background: rgba(255, 111, 15, 0.1);
}

/* 별점 */
.star-rating {
    display: flex;
    gap: 10px;
    font-size: 48px;
    margin-bottom: 15px;
}

.star {
    cursor: pointer;
    transition: all 0.2s ease;
    color: #FFD700;
}

.star:hover {
    transform: scale(1.2);
}

.star.active {
    color: #FF6F0F;
}

.rating-text {
    font-size: 16px;
    color: #FFD700;
    font-weight: 700;
}

/* 글자 수 카운터 */
.char-count {
    text-align: right;
    font-size: 14px;
    color: #888;
    margin-top: 8px;
}

#char-count {
    color: #FF6F0F;
    font-weight: 700;
    font-size: 16px;
}

/* 동의 박스 */
.agreement-box {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #FF6F0F;
    border-radius: 12px;
    padding: 25px;
}

.agreement-box .checkbox-label {
    margin-bottom: 15px;
}

.agreement-box .checkbox-label:last-child {
    margin-bottom: 0;
}

/* 제출 섹션 */
.submit-section {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, #FF0000 0%, #8B0000 100%);
    color: #FFFFFF;
    border: none;
    padding: 20px 80px;
    font-size: 24px;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(255, 0, 0, 0.5);
    font-family: 'Noto Sans KR', sans-serif;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #FF4444 0%, #AA0000 100%);
    transform: scale(1.05);
    box-shadow: 0 8px 35px rgba(255, 0, 0, 0.7);
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-notice {
    font-size: 15px;
    color: #FFD700;
    margin-top: 15px;
}

/* 반응형 */
@media (max-width: 767px) {
    .page-title {
        font-size: 32px;
    }
    
    .page-description {
        font-size: 16px;
    }
    
    .write-guide {
        padding: 20px;
    }
    
    .form-section {
        padding: 25px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .star-rating {
        font-size: 36px;
    }
    
    .submit-btn {
        padding: 18px 50px;
        font-size: 20px;
    }
}

@media (max-width: 479px) {
    .page-title {
        font-size: 28px;
    }
    
    .write-guide li {
        font-size: 14px;
    }
    
    .form-section-title {
        font-size: 20px;
    }
    
    .star-rating {
        font-size: 32px;
        gap: 5px;
    }
    
    .submit-btn {
        padding: 16px 40px;
        font-size: 18px;
        width: 100%;
    }
}
