/* 留言反馈页面样式 */

/* 页面标题区域 */
.feedback-hero {
    background: linear-gradient(135deg, #660874 0%, #8B5A96 50%, #E6E6FA 100%);
    padding: 8rem 0 4rem;
    color: white;
    text-align: center;
}

.feedback-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.feedback-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 引导说明区域 */
.feedback-intro {
    padding: 4rem 0;
    background: #f8f9fa;
}

.intro-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.intro-icon {
    font-size: 4rem;
    color: #660874;
    margin-bottom: 2rem;
}

.intro-card h2 {
    color: #660874;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.intro-card p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.intro-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8B0000;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.2rem;
    color: #8B5A96;
}

/* 数字留言墙 */
.message-wall {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    color: #660874;
    font-weight: bold;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.wall-container {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wall-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="wall" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(102,8,116,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23wall)"/></svg>');
}

.messages-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.message-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    animation: messageFloat 6s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.message-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.2);
}

.message-card:nth-child(1) { animation-delay: 0s; }
.message-card:nth-child(2) { animation-delay: 1.5s; }
.message-card:nth-child(3) { animation-delay: 3s; }
.message-card:nth-child(4) { animation-delay: 4.5s; }

@keyframes messageFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.message-author {
    font-weight: bold;
    color: #660874;
}

.message-time {
    color: #999;
    font-size: 0.8rem;
}

.message-content {
    color: #333;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* 留言表单 */
.feedback-form {
    padding: 4rem 0;
    background: #f8f9fa;
}

.form-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-card h3 {
    color: #660874;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #8B0000;
    box-shadow: 0 0 0 0.2rem rgba(139, 0, 0, 0.25);
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-text {
    color: #666;
    font-size: 0.9rem;
}

.form-check-input:checked {
    background-color: #8B0000;
    border-color: #8B0000;
}

.btn-primary {
    background: #660874;
    border-color: #660874;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #8B5A96;
    border-color: #8B5A96;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 8, 116, 0.3);
}

/* 问卷区域 */
.survey-section {
    padding: 4rem 0;
    background: white;
}

.survey-card {
    background: linear-gradient(135deg, #8B0000, #DC143C);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.survey-content {
    flex: 1;
}

.survey-icon {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 1.5rem;
}

.survey-content h3 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.survey-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.survey-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-outline-primary {
    border-color: #FFD700;
    color: #FFD700;
}

.btn-outline-primary:hover {
    background: #FFD700;
    border-color: #FFD700;
    color: #8B0000;
}

.btn-outline-secondary {
    border-color: white;
    color: white;
}

.btn-outline-secondary:hover {
    background: white;
    border-color: white;
    color: #8B0000;
}

.survey-qr {
    flex-shrink: 0;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.qr-placeholder i {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.qr-placeholder p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* Toast 提示 */
.toast {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.toast-header {
    background: #8B0000;
    color: white;
    border-bottom: none;
}

.toast-header .btn-close {
    filter: invert(1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .feedback-title {
        font-size: 2rem;
    }
    
    .intro-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wall-container {
        height: 400px;
    }
    
    .message-card {
        max-width: 250px;
        padding: 1rem;
    }
    
    .survey-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .survey-actions {
        justify-content: center;
    }
    
    .form-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .feedback-hero {
        padding: 6rem 0 3rem;
    }
    
    .feedback-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-card {
        padding: 2rem;
    }
    
    .intro-icon {
        font-size: 3rem;
    }
    
    .message-card {
        max-width: 200px;
        font-size: 0.9rem;
    }
} 