* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    padding: 20px;
}

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

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.upload-section {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.file-label {
    display: inline-block;
    padding: 12px 20px;
    background-color: #3498db;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-label:hover {
    background-color: #2980b9;
}

.file-label input {
    display: none;
}

.file-name {
    margin-top: 10px;
    font-size: 14px;
    color: #7f8c8d;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#convert-btn {
    background-color: #2ecc71;
    color: white;
}

#convert-btn:hover:not(:disabled) {
    background-color: #27ae60;
}

#download-btn {
    background-color: #9b59b6;
    color: white;
}

#download-btn:hover:not(:disabled) {
    background-color: #8e44ad;
}

#copy-btn {
    background-color: #f39c12;
    color: white;
}

#copy-btn:hover:not(:disabled) {
    background-color: #d35400;
}

.result-container {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.result-header {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.result-header h2 {
    font-size: 18px;
    color: #2c3e50;
}

.result-content {
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
    background-color: #f8f9fa;
}

pre {
    white-space: pre-wrap;
    font-family: 'Courier New', Courier, monospace;
    color: #34495e;
} 