* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #1d1d1d;
    flex-direction: column; /* Adjust body layout to column */
    color: white;
}

/* Header styling */
.header {
    display: flex;
    align-items: center; /* Vertically center logo and title */
    padding: 20px; /* Add some padding around the header */
}

/* Logo styling */
.logo {
    width: 100px; /* Adjust the size of the logo */
    height: 60px; /* Ensure it's a square */
    margin-right: 10px; /* Space between the logo and title */
}

/* Title styling */
.title {
    font-size: 2rem; /* Adjust the size of the title */
    color: #ffffff; /* Set title color */
    font-family: Arial, sans-serif; /* Use a clean font */
    margin: 0; /* Remove default margins */
}


/* Center the search bar between the columns */
.search-container {
    width: 50%;
    margin-bottom: 20px;
    text-align: center;
}

input#searchBar {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1b900;
    background-color: transparent;
    border-radius: 5px;
    color: white;
    font-weight: 400;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.container::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

.container::-webkit-scrollbar-track {
    background: transparent; /* Removes the background of the track */
}

.container::-webkit-scrollbar-thumb {
    background-color: #d1b900; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Roundness of the scrollbar thumb */
}

/* Scrollbar styling for Firefox */
.container {
    scrollbar-color: #d1b900 transparent; /* Thumb color and transparent track */
    scrollbar-width: thin; /* Makes the scrollbar thinner */
}

.column {
    width: 20rem;
    margin: 0 10px;
    text-align: center;
}

h3 {
    margin-bottom: 10px;
}

/* Scrollable container for options */
.options-list {
    border: 1px solid #000;
    border-radius: 5px;
    height: 25rem; /* Fixed height for the container */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #363636;
}

/* Keep the original .option styling */
.option {
    background-color: #8b7b00;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    user-select: none; /* Prevent text selection when clicking */
}

.option:hover {
    background-color: #d1b900;
}

/* Style for selected options */
.selected {
    background-color: #0073ee !important;  /* Selected items have a different color */
    color: white; /* Ensure text stays white */
}

/* Style for greyed-out (disabled) options */
.disabled {
    background-color: #4c4c4c !important;
    color: #999999;  /* Grey text color for disabled options */
    cursor: not-allowed;  /* Change cursor to indicate non-clickable state */
}

/* Ensure disabled items don't respond to hover */
.disabled:hover {
    background-color: #4c4c4c;
}

/* Styling for the Copy to Clipboard button */
#copyButton {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #8b7b00; /* Match other buttons' background */
    color: white;
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center; /* Center the text and icon */
    justify-content: center;
    gap: 10px; /* Space between the text and icon */
    transition: background-color 0.3s ease;
}

#copyButton:hover {
    background-color: #d1b900; /* Match hover color to other buttons */
}

/* Icon inside the copy button */
#copyButton i {
    font-size: 1.2rem; /* Adjust the icon size */
    margin-left: 5px; /* Add some space between text and icon */
}

.controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Icon Button Styling */
.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2.5rem; /* Adjust the size of the icons */
    color: #8b7b00; /* Set the icon color */
    margin: 10px 0; /* Add space between the icons */
    transition: color 0.3s ease;
}

.icon-button:hover {
    color: #d1b900; /* Darker blue on hover */
}

.icon-button:focus {
    outline: none; /* Remove default button outline */
}


.bottom-controls {
    text-align: center;
}

#nextButton {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #8b7b00;
    color: white;
    border: none;
    border-radius: 5px;
}

#nextButton:hover {
    background-color: #d1b900;
}

#submitButton {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #8b7b00;
    color: white;
    border: none;
    border-radius: 5px;
}

#submitButton:hover {
    background-color: #d1b900;
}
/* The Modal (background) */
.modal {
    display: none;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #272727;
    margin: auto;
    padding: 20px;
    border: 1px solid #000000;
    width: 80%;
    max-width: 600px; /* Set a max width for modal */
}

/* Close button */
.close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

/* Preformatted text inside modal */
pre {
    white-space: pre-wrap; /* Ensures the text wraps correctly */
    background-color: #424242;
    padding: 10px;
    border-radius: 5px;
}

/* Footer styling */
.footer {
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    color: #ffffff;
    width: 100%;
    margin-top: auto; /* Pushes the footer to the bottom */
    position: relative;
}


.footer p {
    margin: 0;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.5rem; /* Size of icons */
    color: #007bff; /* Icon color */
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #0056b3; /* Darker blue on hover */
}

