select {
    width: 120px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.dropdown {
    margin-left: 74px;
    margin-top: 5px;
}

#direct_s {
    appearance: menulist;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    padding-right: 40px;
}

select option {
    background-color: #1b3246;
    color: #fff;
}


body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #0b2a3a;
    overflow: hidden;
    color: #f0f0f0;
}

canvas {
    display: block;
    background: linear-gradient(to bottom, #0b2a3a, #08202b);
}

#ui {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 330px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

#strips {
    position: absolute;
    right: 360px;
    top: 20px;
    width: 330px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.panel {
    background: rgba(20, 35, 50, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.panel-header {
    background: rgba(20, 35, 50, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 7px 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.panel-header h5 {
    margin: 0;
    text-align: center;
}

.panel strong {
    color: #9ad1ff;
}

.SID {
    color: yellow;
}

.panel h3 {
    margin-top: 0;
    font-size: 16px;
    color: #9ad1ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input, select, button {
    font-family: inherit;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    padding: 6px 8px;
    /*margin-top: 4px;*/
    outline: none;
    transition: all 0.2s;
}

input[type="number"], input[type="text"], select {
    width: 120px;
    background: rgba(255, 255, 255, 0.08);
    color: #f0f0f0;
}

input:focus, select:focus {
    background: rgba(255, 255, 255, 0.15);
}

label {
    display: inline-block;
    width: 70px;
    color: #c7e1ff;
}

button {
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(90deg, #0074d9, #00a8ff);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: linear-gradient(90deg, #0094ff, #1ad1ff);
    box-shadow: 0 0 8px rgba(0, 170, 255, 0.4);
}

.status-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

p {
    margin: 8px 0;
    color: #a0b5c5;
    font-size: 12px;
}

.in {
    background-color: #0a212e;
    border-radius: 3px;
    margin: 6px;
    padding: 4px 6px;
}

.pointer {
    cursor: pointer;
}