/*----------------------------------------------------------------留言板------------------------------------------------------------*/



        .message-form {
            background: white;
            padding-top: 25px;
            margin-bottom: 30px;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #555;
        }
        .form-control {
            width: 100%;
            padding: 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
            box-sizing: border-box;
        }
        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }
        .btn {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 12px 20px;
            font-size: 16px;
            cursor: pointer;
            border-radius: 4px;
            transition: background-color 0.3s;
        }
        .btn:hover {
            background-color: #45a049;
        }
        .messages-container {
            background: white;

        }
        .message {
            border-bottom: 1px solid #eee;
            padding: 20px 0;
        }
        .message:last-child {
            border-bottom: none;
        }
        .message-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        .message-name {
            font-weight: bold;
            color: #333;
        }
        .message-date {
            color: #999;
            font-size: 0.9em;
        }
        .message-content {
            color: #444;
            line-height: 1.6;
        }
        .no-messages {
            color: #777;
            text-align: center;
            padding: 20px;
        }
        .toast {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 25px;
            color: white;
            border-radius: 4px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            animation: fadeIn 0.3s;
            display: none;
        }
        .toast.success {
            background-color: #4CAF50;
        }
        .toast.error {
            background-color: #f44336;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }


.form-control, 
textarea.form-control {
    font-family: -apple-system, BlinkMacSystemFont, 
                 "Segoe UI", "Microsoft YaHei", 
                 sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

/* 专门优化文本域显示 */
textarea.form-control {
    min-height: 120px;
    padding: 12px; /* 增加内边距 */
    line-height: 1.6; /* 更适合多行文本 */
}