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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.file-input-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.file-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-weight: 600;
    color: #2c3e50;
}

input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #ccc;
    border-radius: 5px;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: #3498db;
}

.compare-btn, .download-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.compare-btn:hover, .download-btn:hover {
    background-color: #2980b9;
}

.status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.status.error {
    background-color: #ffebee;
    color: #c62828;
}

.status.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.download-section {
    margin-top: 2rem;
    text-align: center;
}

.download-section h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hidden {
    display: none;
}

.result-preview table {
    border-collapse: collapse;
    width: 100%;
}

.result-preview table, .result-preview th, .result-preview td {
    border: 1px solid #ddd;
    padding: 8px;
}

.result-preview th {
    background-color: #f2f2f2;
    text-align: left;
}

/*.sheet-heading {*/
/*    text-align: center;*/
/*    font-size: 24px;*/
/*    font-weight: bold;*/
/*    margin-top: 20px;*/
/*    margin-bottom: 12px;*/
/*}*/

.updated-section {
    background-color: #eaf3ff;
    border-left: 5px solid #007bff;
    padding: 20px;
    margin-bottom: 30px;
}

.deleted-section {
    background-color: #ffeaea;
    border-left: 5px solid #dc3545;
    padding: 20px;
    margin-bottom: 30px;
}

.new-section {
    background-color: #eaffea;
    border-left: 5px solid #28a745;
    padding: 20px;
    margin-bottom: 30px;
}

.sheet-heading {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #2c3e50;
}