body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #121212;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin-top: 20px;
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

h1 {
    color: #00ff00;
    margin-bottom: 20px;
}

input, button {
    padding: 10px;
    margin: 5px;
    font-size: 16px;
    border-radius: 4px;
    border: none;
}

input {
    width: calc(100% - 20px);
    background-color: #2a2a2a;
    color: #fff;
}

button {
    background-color: #00ff00;
    color: #121212;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #00cc00;
}

.login-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

#login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#login-form input {
    width: calc(100% - 20px);
}

#login-form button {
    width: calc(100% - 20px);
}

#search-section .search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#search-section input, #search-section button {
    width: 70%;
    box-sizing: border-box;
}

#search-section button {
    width: 20%;
}

.result {
    text-align: left;
    margin-top: 20px;
    width: 100%;
}

section {
    margin-bottom: 20px;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 5px;
    background-color: #1a1a1a;
}

h2 {
    cursor: pointer;
    user-select: none;
    display: inline-block;
    position: relative;
}

h2::after {
    content: " [Show]";
    color: #ff0000;
    font-size: 0.6em; /* Smaller font size */
    margin-left: 5px; /* Small space between text and [Show/Hide] */
}

h2.collapsed::after {
    content: " [Show]";
}

h2:not(.collapsed)::after {
    content: " [Hide]";
    color: #00ff00;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #D3D3D3;
    background-color: #121212;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #333;
    padding: 8px;
    text-align: left;
    word-wrap: break-word;
}

th {
    background-color: #333;
    color: #fff;
}

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

.pacman {
    width: 0;
    height: 0;
    border-right: 25px solid transparent;
    border-top: 25px solid #00ff00;
    border-left: 25px solid #00ff00;
    border-bottom: 25px solid #00ff00;
    border-radius: 25px;
    animation: chomp 0.5s infinite;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: #00ff00;
    border-radius: 50%;
    margin-left: 10px;
    animation: moveDots 1s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

.dot:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes chomp {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(45deg); }
    100% { transform: rotate(0deg); }
}

@keyframes moveDots {
    0% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
    100% { transform: translateX(0); }
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1e1e1e;
    color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

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

.popuptext {
    margin-bottom: 20px;
}

.popup-btn {
    background-color: #00ff00;
    color: #121212;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.popup-btn:hover {
    background-color: #00cc00;
}

/* Mobile Styles */
@media (max-width: 600px) {
    .search-bar {
        flex-direction: column;
    }

    input, button {
        width: 100%;
        box-sizing: border-box;
    }

    h2 {
        font-size: 1em;
    }

    .container {
        width: 100%;
        padding: 10px;
    }
}
