body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f4f7f6;
}

.container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
}

.input-section {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 10px;
}

#editor-container {
    height: 200px;
    background: #fff;
}

button {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    align-self: flex-start;
}

button:hover {
    background-color: #2980b9;
}

.search-section {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.search-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.search-group input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.problem-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    position: relative;
}

.problem-card .timestamp {
    font-size: 0.85em;
    color: #7f8c8d;
    margin-bottom: 8px;
}

.problem-card .text {
    white-space: pre-wrap;
}

.problem-card .actions {
    margin-top: 10px;
}

.btn-edit {
    background-color: #f39c12;
    padding: 5px 10px;
    font-size: 14px;
}

.edit-area {
    width: 100%;
    height: 80px;
    margin-bottom: 5px;
}

.btn-save {
    background-color: #27ae60;
}
