* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

h2 {
    color: #2980b9;
    margin-bottom: 20px;
}

h3 {
    color: #3498db;
    margin: 15px 0;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

textarea {
    resize: vertical;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

#reset-btn {
    background-color: #e74c3c;
    margin-left: 10px;
}

#reset-btn:hover {
    background-color: #c0392b;
}

.result-card {
    background-color: #f8f9fa;
}

.result-group {
    margin-bottom: 20px;
}

.result-container {
    position: relative;
    margin-top: 10px;
}

#result {
    width: 100%;
    height: 100px;
    background-color: #fff;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: auto;
    font-family: monospace;
    margin-bottom: 10px;
}

#copy-result {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(52, 152, 219, 0.8);
    padding: 5px 10px;
    font-size: 12px;
}

.details-group {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

table td:first-child {
    width: 100px;
    font-weight: bold;
    color: #555;
}

.overflow-text {
    max-width: 800px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overflow-text:hover {
    white-space: normal;
    word-wrap: break-word;
}
