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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    padding: 0 30px 20px 30px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #0056b3; /* Darker blue for the border */
}

.inline-header {
    text-align: center;
    display: inline; /* Make h1 behave like an inline element */
    font-weight: 900;
    color: #333;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin: 0; /* Adjust spacing between the elements */
    padding-bottom: 3px;
}

.centered-container {
    max-width: 1000px; /* Match the container width */
    margin: 20px auto 0 auto; /* Center horizontally and add top margin */
    text-align: left; /* Align text to the left to match container */
    padding: 0 30px; /* Match the container's left and right padding */
    display: flex; /* Use flexbox for alignment */
    justify-content: flex-start; /* Align content with the start (left) */
    align-items: baseline; /* Aligns items to the baseline for better text alignment */
}

h1 {
    text-align: center;
    font-weight: 900;
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 10px;
    padding-bottom: 3px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px #0056b3;
}

h2 {
    color: #333;
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 8px;
    text-transform: uppercase;
}

/* Darker blue tint for text */
.info-text {
    color: #0056b3; /* Darker blue */
    font-size: 1.1rem;
}

strong {
    color: #333;
}

.header-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.header-info p {
    flex: 1;
    margin-right: 20px;
}

.header-info p:last-child {
    margin-right: 0;
}

.code-block {
    background-color: #f1f1f1;
    padding: 15px;
    font-family: monospace;
    white-space: pre-wrap;
    border-left: 4px solid #0056b3; /* Darker blue for the code block border */
    margin-bottom: 20px;
}

.loading {
    color: #999;
    font-style: italic;
}

/* Buttons Styling */
#download_button,
#download_button2,
#copy_button,
#upload_button,
#copy_button_mac {
    display: block; /* Make each button a block-level element */
    margin-top: 15px; /* Add space between buttons */
    background-color: #0056b3; /* Button background color */
    color: #fff; /* Button text color */
    padding: 10px 20px; /* Button padding */
    border: none; /* Remove border */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 1rem; /* Font size */
    text-align: center; /* Center the text */
    transition: background-color 0.3s; /* Smooth background color transition */
    width: 250px; /* Optional: define a fixed width */
}

#download_button:hover,
#download_button2:hover,
#copy_button:hover,
#upload_button:hover,
#copy_button_mac:hover {
    background-color: #003f7f; /* Darker blue on hover */
}

/* Center the buttons within the container */
.tools-info {
    display: flex;
    flex-direction: column; /* Arrange buttons vertically */
    align-items: center; /* Center buttons horizontally */
}

/* Hide file input */
#fileToUpload {
    display: none;
}
