/* Feedback Page Styles */

.feedback-page {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feedback-header {
    margin-bottom: 2rem;
}

.feedback-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feedback-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
}

.feedback-loading {
    text-align: center;
    padding: 4rem;
    color: var(--text-secondary);
}

.feedback-loading .material-icons-outlined {
    font-size: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Form Container */
.feedback-form-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-hint {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group select,
.form-group textarea {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

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

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 6px;
}

/* File Upload */
.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    color: var(--text-secondary);
}

.file-upload-area:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.file-upload-area.drag-over {
    border-color: var(--accent-primary);
    background: var(--accent-light);
}

.file-upload-area .material-icons-outlined {
    font-size: 36px;
    margin-bottom: 8px;
}

.file-upload-area p {
    font-size: 14px;
}

/* Selected Files */
.selected-files {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.selected-file {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 12px;
}

.selected-file .material-icons-outlined {
    font-size: 20px;
    color: var(--accent-primary);
}

.selected-file .file-name {
    flex: 1;
    font-size: 13px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-file .file-size {
    font-size: 12px;
    color: var(--text-secondary);
}

.selected-file .remove-file {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-file .remove-file:hover {
    color: #ef4444;
}

.selected-file .remove-file .material-icons-outlined {
    font-size: 18px;
    color: inherit;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}

.btn-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-primary);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--accent-hover);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-submit .material-icons-outlined {
    font-size: 18px;
}

/* Info Card */
.feedback-info {
    margin-top: 1.5rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
}

.info-card .material-icons-outlined {
    font-size: 20px;
    color: var(--accent-primary);
}

.info-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.info-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .feedback-page {
        padding: 1rem;
    }

    .feedback-form-container {
        padding: 1rem;
    }
}
