
	/* Basic Reset and Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f9; /* Light background for the page */
    color: #333;
    line-height: 1.6;
}

/* Container for Centering and Max Width */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Headings */
h1 {
    text-align: center;
    color: #007bff; /* Primary blue color */
    margin-bottom: 30px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

h2 {
    color: #333;
    margin-top: 0;
}

/* Textarea Input */
#csv-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in width calculation */
    font-size: 14px;
    resize: vertical; /* Allow vertical resizing */
}

/* Button Styling */
#convert-button, #copy-code-button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin-top: 10px;
    background-color: #28a745; /* Green for action */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#convert-button:hover, #copy-code-button:hover {
    background-color: #218838;
}

#copy-code-button {
    background-color: #6c757d; /* Grey for secondary action */
}

#copy-code-button:hover {
    background-color: #5a6268;
}

/* Output Sections */
.output-preview {
    padding: 15px;
    border: 1px dashed #ccc;
    border-radius: 4px;
    min-height: 100px; /* Ensure space before content */
    overflow-x: auto; /* Handle wide tables */
    background-color: #fff;
}

/* Code Block Styling */
pre {
    background-color: #212529; /* Dark background for code block */
    color: #e83e8c; /* Highlight color for code */
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto; /* Ensure horizontal scroll for long lines */
    white-space: pre-wrap; /* Optional: Wrap code lines */
    word-break: break-all;
    font-size: 14px;
}

code {
    font-family: 'Consolas', 'Monaco', monospace;
}

/* Placeholder text style */
.placeholder {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 30px 0;
}

/* Basic Table Styling for the output preview */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Separator */
hr {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 30px 0;
}