body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Lato', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f0f0;
    color: #333333;
}

.container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
}

h1 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #af1116;
}

h1 span {
    border-right: 2px solid #af1116;
    animation: blink 0.7s step-end infinite;
}

.import-section, .file-input {
    margin-bottom: 20px;
}

.file-input-label {
    display: block;
    margin-bottom: 5px;
    color: #af1116;
    font-size: 14px;
    font-weight: 500;
}

input[type="file"] {
    display: block;
    width: 100%;
    padding: 8px;
    border: 1px solid #af1116;
    border-radius: 4px;
    font-size: 14px;
    background-color: #FFFFFF;
}

.export-block {
    background-color: #FFFFFF;
    border: 1px solid #af1116;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.export-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.export-block h3 {
    margin: 0;
    color: #af1116;
    font-size: 18px;
    font-weight: 500;
}

.mapping-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.mapping-row select, .mapping-row input {
    flex: 1;
    margin-right: 10px;
    padding: 6px;
    border: 1px solid #af1116;
    border-radius: 4px;
    font-size: 14px;
    background-color: #FFFFFF;
}

button, .button {
    background-color: #af1116;
    border: none;
    color: white;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    margin: 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

button:hover, .button:hover {
    background-color: #8a0e12;
}

.deleteExportBlockBtn {
    padding: 4px 8px;
    font-size: 12px;
    background-color: #d91920;
}

.deleteExportBlockBtn:hover {
    background-color: #af1116;
}

.addMappingBtn, .exportJsonBtn, .readJsonBtn {
    background-color: #FFFFFF;
    color: #af1116;
    border: 1px solid #af1116;
}

.addMappingBtn:hover, .exportJsonBtn:hover, .readJsonBtn:hover {
    background-color: #af1116;
    color: white;
}

.customize-option {
    font-style: italic;
}

.button-group {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.checkbox-container {
    margin-bottom: 15px;
}

.fill-empty-cells-checkbox {
    margin-right: 5px;
}

@media (max-width: 600px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    .mapping-row {
        flex-direction: column;
        align-items: stretch;
    }

    .mapping-row select, .mapping-row input {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@keyframes blink {
    0% { border-right-color: #af1116; }
    50% { border-right-color: transparent; }
    100% { border-right-color: #af1116; }
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}