section.introduction {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 20px auto;
	text-align: left;
}

section.key {
    background-color: #8a8a;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 20px auto;
}

pre.key {
	max-height: 300px;
	overflow: auto;
	border: 1px solid;
	padding:5px;
}

form {
    display: flex;
    flex-direction: column;
	margin-top: 20px;
}

input[type="file"] {
    margin-bottom: 20px;
}


[type="submit"]:disabled{
	background-color: #ccc;
    cursor: not-allowed;
}

#resultContainer {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    display: none; /* Initially hidden */
}

#resultContainer.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
	display: block;
}

.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}


.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loaderContainer {
    position: fixed; /* Overlay on top of the page */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black backdrop */
    z-index: 1000; /* Ensure it's on top of all other content */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style the tab container */
.tab {
    display: flex; /* Use flexbox to layout the tab buttons */
    justify-content: flex-start; /* Align tab buttons to the start */
    border: 1px solid #ccc;
	border-bottom: none;
    background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    border-right: 1px solid #ccc; /* Add a border to separate the buttons */
    flex-grow: 1; /*Allow the buttons to grow to fill the container */
    flex-shrink: 0; /* Do not allow the buttons to shrink less than content */
    flex-basis: auto; /* Set the initial size based on content */
}

/* Remove the border for the last button to avoid double borders */
.tab button:last-child {
    border-right: none;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #fff; /* Make active tab background white */
    border-bottom: none; /* Ensure the active tab does not have a bottom border */
}

/* Style the tab content */
.tabcontent {
    display: none; /* Initially hide tab content */
    padding: 1px 20px 20px 20px;
    border: 1px solid #ccc;
    border-top: none;
    background-color: #fff; /* Match the active tab background color */
}
