* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 30px auto;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: box-shadow 0.4s, background 0.4s;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-weight: 500;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.05);
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76,175,80,0.2);
}

textarea {
    height: 120px;
    resize: vertical;
}

button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.10);
}

button:hover {
    background-color: #45a049;
}

button:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(76, 175, 80, 0.08);
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.history {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.history h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.message {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 4px;
    transition: opacity 0.3s;
    line-height: 1.5;
}

.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.warning {
    background-color: #fcf8e3;
    color: #8a6d3b;
    border: 1px solid #faebcc;
}

.debug-button {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.debug-button:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}

@media (max-width: 600px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .history h2 {
        font-size: 18px;
    }
} 