/* ============================================
   RookyNex Feedback Form
   ============================================ */

.rn-feedback {
    padding: 48px 0 64px;
}

.rn-feedback__header {
    text-align: center;
    margin-bottom: 40px;
}

.rn-feedback__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rn-secondary, #1A1A2E);
    margin: 0 0 8px;
}

.rn-feedback__subtitle {
    font-size: 1.05rem;
    color: var(--rn-text-light, #6b7280);
    margin: 0;
}

/* Form */
.rn-feedback__form {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.rn-feedback__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rn-feedback__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.rn-feedback__field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rn-secondary, #1A1A2E);
}

.rn-feedback__req {
    color: #dc2626;
}

.rn-feedback__field input[type="text"],
.rn-feedback__field input[type="email"],
.rn-feedback__field select,
.rn-feedback__field textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1px solid var(--rn-border, #d1d5db);
    border-radius: 8px;
    background: var(--rn-white, #fff);
    color: var(--rn-secondary, #1A1A2E);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rn-feedback__field input:focus,
.rn-feedback__field select:focus,
.rn-feedback__field textarea:focus {
    outline: none;
    border-color: var(--rn-primary, #6C3CE1);
    box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.1);
}

.rn-feedback__field textarea {
    resize: vertical;
    min-height: 140px;
}

.rn-feedback__field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%236b7280' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Actions */
.rn-feedback__actions {
    margin-top: 4px;
}

.rn-feedback__submit {
    min-width: 180px;
}

.rn-feedback__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Notice */
.rn-feedback__notice {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

.rn-feedback__notice--success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.rn-feedback__notice--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 600px) {
    .rn-feedback__row {
        grid-template-columns: 1fr;
    }

    .rn-feedback {
        padding: 32px 0 48px;
    }

    .rn-feedback__title {
        font-size: 1.5rem;
    }
}
