body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#info-panel {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 320px;
    background: rgba(20, 20, 30, 0.85);
    border-radius: 10px;
    padding: 20px;
    z-index: 10;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h2 {
    margin-top: 0;
    font-size: 1.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.control-group {
    margin-bottom: 20px;
}

.control-group p {
    margin: 0 0 10px 0;
    font-weight: bold;
    font-size: 0.9em;
}

.asset-form {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.asset-form label {
    display: block;
    font-size: 0.8em;
    margin-bottom: 5px;
    color: #ccc;
}

.asset-form input, .asset-form select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #222;
    color: #fff;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row .custom-major-category {
    flex-grow: 1;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

#add-asset-btn {
    background-color: #444;
    margin-bottom: 10px;
}

button:hover {
    background-color: #0056b3;
}

#add-asset-btn:hover {
    background-color: #555;
}

.remove-btn {
    padding: 5px 10px;
    background-color: #dc3545;
    font-size: 0.8em;
    width: auto;
    margin-top: 5px;
}

.remove-btn:hover {
    background-color: #c82333;
}

#tooltip {
    position: fixed;
    display: none;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    border-radius: 5px;
    pointer-events: none;
    z-index: 100;
    font-size: 0.9em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#tooltip h3 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    border-bottom: 1px solid #555;
    padding-bottom: 5px;
}

#tooltip ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Hide arrows from number input */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}