/* 全局样式 */
body {
    background: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    padding: 20px 0;
}

/* 容器样式 */
.container {
    max-width: 800px;
    margin: 0 auto;
}

/* 反馈容器 */
.feedback-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-top: 20px;
}

/* 反馈头部 */
.feedback-header {
    text-align: center;
    margin-bottom: 32px;
}

.feedback-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feedback-title i {
    font-size: 2rem;
    color: #409eff;
}

.feedback-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #303133;
    margin: 0;
}

.feedback-subtitle {
    font-size: 1rem;
    color: #606266;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* 反馈表单 */
.feedback-form {
    max-width: 600px;
    margin: 0 auto;
}

/* 反馈类型选择器 */
.feedback-type-selector {
    margin-bottom: 24px;
}

/* 覆盖Element UI的默认样式，使按钮水平排列 */
.feedback-type-selector .el-radio-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.feedback-type-selector .el-radio-button {
    margin: 0 8px 8px 0;
}

/* 按钮内部样式 */
.feedback-type-selector .el-radio-button__inner {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

/* 不同类型按钮的颜色 */
.feedback-type-selector .el-radio-button.suggestion .el-radio-button__inner {
    color: #1890ff;
    border-color: #d9ecff;
}

.feedback-type-selector .el-radio-button.bug .el-radio-button__inner {
    color: #f5222d;
    border-color: #ffd9d9;
}

.feedback-type-selector .el-radio-button.praise .el-radio-button__inner {
    color: #52c41a;
    border-color: #e6f7e6;
}

.feedback-type-selector .el-radio-button.other .el-radio-button__inner {
    color: #722ed1;
    border-color: #f2e5ff;
}

/* 选中状态样式 */
.feedback-type-selector .el-radio-button.is-active.suggestion .el-radio-button__inner {
    background-color: #e6f7ff;
    border-color: #1890ff;
    color: #1890ff;
}

.feedback-type-selector .el-radio-button.is-active.bug .el-radio-button__inner {
    background-color: #fff1f0;
    border-color: #f5222d;
    color: #f5222d;
}

.feedback-type-selector .el-radio-button.is-active.praise .el-radio-button__inner {
    background-color: #f6ffed;
    border-color: #52c41a;
    color: #52c41a;
}

.feedback-type-selector .el-radio-button.is-active.other .el-radio-button__inner {
    background-color: #f9f0ff;
    border-color: #722ed1;
    color: #722ed1;
}

/* 图标样式 */
.feedback-type-selector .el-radio-button__inner i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* 用户信息行 */
.user-info-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.user-info-item {
    flex: 1;
    min-width: 200px;
}

/* 表单标签 */
.el-form-item__label {
    font-weight: 500;
    color: #303133;
    font-size: 0.95rem;
}

/* 文本域 */
.el-textarea__inner {
    border-radius: 8px;
    resize: vertical;
    min-height: 120px;
    font-size: 0.95rem;
}

/* 反馈须知 */
.feedback-notice {
    background: #fafafa;
    border-left: 4px solid #409eff;
    border-radius: 0 8px 8px 0;
    padding: 20px;
    margin: 24px 0;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.notice-header i {
    color: #409eff;
    font-size: 1.2rem;
}

.notice-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #303133;
    margin: 0;
}

.feedback-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feedback-notice li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #606266;
    line-height: 1.6;
}

.feedback-notice li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #409eff;
    font-weight: bold;
}

/* 提交按钮容器 */
.submit-button-container {
    text-align: center;
    margin-top: 32px;
}

/* 提交按钮 */
.el-button--primary {
    background-color: #409eff;
    border-color: #409eff;
    border-radius: 8px;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.el-button--primary:hover {
    background-color: #66b1ff;
    border-color: #66b1ff;
}

/* 表单校验错误提示 */
.el-form-item.is-error .el-form-item__error {
    color: #f56c6c;
    font-size: 0.85rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .feedback-container {
        padding: 24px;
        margin: 10px;
    }
    
    .feedback-title h2 {
        font-size: 1.5rem;
    }
    
    .feedback-title i {
        font-size: 1.5rem;
    }
    
    .feedback-subtitle {
        font-size: 0.9rem;
    }
    
    /* 反馈类型选择器在移动端的样式 */
    .feedback-type-selector .el-radio-group {
        flex-direction: column;
    }
    
    .feedback-type-selector .el-radio-button {
        margin: 0 0 8px 0;
        width: 100%;
    }
    
    .feedback-type-selector .el-radio-button__inner {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        gap: 12px;
    }
    
    .user-info-row {
        flex-direction: column;
    }
    
    .user-info-item {
        min-width: 100%;
    }
    
    .el-radio-group.is-large .el-radio-button__inner {
        padding: 16px 20px;
    }
    
    .type-button {
        padding: 12px 16px;
    }
    
    .type-button i {
        font-size: 1.2rem;
    }
    
    .type-button span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .feedback-container {
        padding: 16px;
        margin: 5px;
    }
    
    .feedback-form {
        padding: 0;
    }
    
    .el-form-item__label {
        font-size: 0.9rem;
    }
    
    .el-input__inner {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    .el-textarea__inner {
        font-size: 0.9rem;
        min-height: 100px;
    }
    
    .feedback-notice {
        padding: 16px;
    }
    
    .notice-header h3 {
        font-size: 1rem;
    }
    
    .feedback-notice li {
        font-size: 0.9rem;
    }
    
    .el-button--primary {
        padding: 10px 32px;
        font-size: 0.9rem;
    }
}

/* 加载状态 */
.el-button--loading {
    opacity: 0.8;
    cursor: not-allowed;
}

/* 表单元素焦点样式 */
.el-input__inner:focus,
.el-textarea__inner:focus {
    border-color: #409eff;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
}

/* 复选框样式 */
.el-checkbox__label {
    font-size: 0.9rem;
    color: #606266;
}

/* 字数统计 */
.el-textarea__count {
    font-size: 0.8rem;
    color: #909399;
}

/* 表单项间距 */
.el-form-item {
    margin-bottom: 20px;
}

/* 反馈底部信息样式 */
.feedback-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #ebeef5;
    color: #909399;
    font-size: 0.9rem;
}

.feedback-footer p {
    margin: 8px 0;
    line-height: 1.5;
}

.feedback-footer .copyright-info {
    font-weight: 500;
}

.feedback-footer .contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.feedback-footer a {
    color: #409eff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.feedback-footer a:hover {
    color: #66b1ff;
    text-decoration: underline;
}

/* 移动端底部样式 */
@media (max-width: 768px) {
    .feedback-footer {
        margin-top: 24px;
        padding-top: 16px;
        font-size: 0.8rem;
    }
    
    .feedback-footer .contact-info {
        flex-direction: column;
        gap: 4px;
    }
}