/* Modal for All-Matchups Rrs Scatter and individual matchups selected from this view */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal {
    background: #0b1222;
    border: 1px solid #1f2937;
    border-radius: 14px;
    padding: 12px;
    width: 980px;
    max-width: 95vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    transform: scale(.96);
    opacity: 0;
    transition: transform .15s ease, opacity .15s ease;
}
.modal-backdrop.show .modal {
    transform: scale(1);
    opacity: 1;
}

/* Title */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.modal-title {
    font-weight: 700;
}

/* Close button */
.modal-close {
    background: #374151;
    border: 1px solid #1f2937;
    color: white;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
}

.lambda-label-and-range-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

/* Wavelength range dropdown */
.lambda-range-selector {
    color: white;
    background: rgba(11, 18, 34, 1);
    border: 1px solid #253149;
    border-radius: 8px;
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-align-last: center;
  }
  .lambda-range-selector:focus {
    outline: none;
    border-color: #6f8dff;
    box-shadow: 0 0 6px rgba(111, 141, 255, 0.4);
  }

/* Wavelength slider */
.lambda-wrap {
    display: flex;
    align-items: center;
    margin-left: 6px;
    margin-right: 6px;
}
.lambda-label {
    font-size: 12px;
    color: #e5e7eb;
    font-weight: 700;
    min-width: 66px;
}
.lambda-unit {
    font-size: 12px;
    color: #a5b4fc;
    margin-left: 5px;
}
.lambda-slider {
    margin: 12px 18px 12px;
}

/* Wavelength Input */
.lambda-wave-length {
    margin-top: 0px !important;
    width: 60px !important;
}
