/* <link rel="stylesheet" href="shared.css"> */

/* Start Server Specific Body */
.start-server-body {
    background: linear-gradient(135deg, #232526,#414345, #2c3e50);
    color: #fff;
    font-family: "Orbitron", Arial, sans-serif;
    text-align: center;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: scroll;
    width: 100vw;
    border-radius: 18px;
    border: 2px solid rgba(0,255,231,0.18);
    box-shadow: 0 8px 48px 8px rgba(0,255,231,0.35), 0 2px 24px 2px rgba(0,255,231,0.18);
}

h1 {
    font-size: 3em;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px #00ffe7, 0 0 40px #00ffe7;
    animation: flicker 1.5s infinite alternate;
}
@keyframes flicker {
    0% { opacity: 1; text-shadow: 0 0 20px #00ffe7, 0 0 40px #00ffe7; }
    100% { opacity: 0.7; text-shadow: 0 0 10px #00ffe7, 0 0 20px #00ffe7; }
}
.subtitle {
    font-size: 2em;
    margin-top: 20px;
    color: #00ffe7;
    text-shadow: 0 0 10px #00ffe7;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { color: #00ffe7; }
    50% { color: #ff00c8; }
    100% { color: #00ffe7; }
}
.population {
    margin-top: 40px;
    font-size: 1.5em;
    color: #ff00c8;
    text-shadow: 0 0 10px #ff00c8;
    letter-spacing: 0.05em;
    display: inline-block;
}
.population span {
    display: inline-block;
    animation: letter-wave 1.2s infinite ease-in-out, pulse 2s infinite;
}
.population span:nth-child(1) { animation-delay: 0s; }
.population span:nth-child(2) { animation-delay: 0.1s; }
.population span:nth-child(3) { animation-delay: 0.2s; }
.population span:nth-child(4) { animation-delay: 0.3s; }
.population span:nth-child(5) { animation-delay: 0.4s; }
.population span:nth-child(6) { animation-delay: 0.5s; }
.population span:nth-child(7) { animation-delay: 0.6s; }
.population span:nth-child(8) { animation-delay: 0.7s; }
.population span:nth-child(9) { animation-delay: 0.8s; }
.population span:nth-child(10) { animation-delay: 0.9s; }
.population span:nth-child(11) { animation-delay: 1.0s; }
.population span:nth-child(12) { animation-delay: 1.1s; }
.population span:nth-child(13) { animation-delay: 1.2s; }
@keyframes letter-wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
.form-container {
    background: #414345;
    padding: 30px;
    border-radius: 10px;
    display: inline-block;
}
/* Start Server Specific Label */
.start-server-label {
    display: block;
    margin: 15px 0 5px;
    font-size: 1.2em;
    color: #00ffe7 !important;
}
/* Start Server Specific Input */
.start-server-input {
    padding: 8px;
    width: 220px;
    border-radius: 5px;
    border: none;
    margin-bottom: 15px;
}
/* Start Server Specific Button */
.start-server-button {
    padding: 10px 30px;
    font-size: 1.1em;
    background: #00ffe7;
    color: #232526;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
/* JSON Table Styling */
.json-table {
    width: 100%;
    border-collapse: collapse;
    background: #414345;
    color: #fff;
    margin-top: 18px;
    border-radius: 8px;
    overflow: auto;
    box-shadow: 0 0 10px #00ffe7;
}
.json-table-header {
    background: #232526;
}
.json-table-header-cell {
    color: #00ffe7;
    font-size: 1.2em;
    padding: 12px;
    border-bottom: 2px solid #00ffe7;
    text-align: left;
    max-width: 1200px;
    min-width: 120px;
}
.json-table-row {
    background: #414345;
    transition: background 0.2s;
}
.json-table-row.alt {
    background: #2c3e50;
}
.json-table-row:hover {
    background: #232526;
}
.json-table-cell {
    padding: 12px;
    border-bottom: 1px solid #2c3e50;
    font-size: 1em;
    text-align: left;
}
/* JSON Table Layout Sections */
.json-top {
    margin-bottom: 24px;
    font-size: 1.15em;
    text-align: left;
    background: #232526;
    color: #00ffe7;
    max-width: 800px;
    min-width: 300px;
    padding: 18px 24px;
    border-radius: 8px;
    box-shadow: 0 0 8px #00ffe7;
    display: inline-block;
}
.json-middle {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin: 18px 0;
}
.json-middle > div {
    flex: 1;
    min-width: 320px;
}
.json-bottom {
    margin-top: 18px;
    text-align: left;
}
#spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(24,24,24,0.75) 0%, rgba(44,44,44,0.65) 100%);
    z-index: 50000;
}
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    display: inline-block;
    border-radius: 50%;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #00cccc;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    /* box-shadow: 0 0 18px #00cccc, 0 0 8px #fff, 0 0 32px #00cccc99; */
    animation: spin-simple-dual 1.2s linear infinite;
    z-index: 50001;
}
@keyframes spin-simple-dual {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.hider-timer {
    display: flex; justify-content: center; font-size: 0.7em; color: #555; background: rgba(255,255,255,0.7); z-index: 9999; width: 100%;
}