#isotope-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

#isotope-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 3.5rem;
    font-weight: bold;
    padding: 1rem 1.5rem 1rem 2.5rem;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    background: white;
    min-width: 120px;
    justify-content: center;
}

.isotope-sup {
    position: absolute;
    top: 0.2rem;
    left: 0.3rem;
    font-size: 1.4rem;
    color: #495057;
}

.isotope-sub {
    position: absolute;
    bottom: 0.2rem;
    left: 0.3rem;
    font-size: 1.4rem;
    color: #495057;
}

.isotope-charge {
    position: absolute;
    top: 0.2rem;
    right: 0.3rem;
    font-size: 1.4rem;
    color: #495057;
}

.blank-value {
    color: #6153cc;
    font-weight: bold;
    background: #f0eeff;
    padding: 0 6px;
    border-radius: 4px;
    border-bottom: 2px dashed #6153cc;
}

.revealed-value {
    color: #28a745;
    font-weight: bold;
}

#particle-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1.1rem;
}

#particle-info span {
    padding: 4px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

#answer-input {
    width: 80px;
    padding: 10px;
    font-size: 1.2rem;
    text-align: center;
    border: 2px solid #dee2e6;
    border-radius: 5px;
}

#answer-input:focus {
    outline: none;
    border-color: #6153cc;
}

/* Remove spinner arrows from number input */
#answer-input::-webkit-outer-spin-button,
#answer-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#answer-input {
    -moz-appearance: textfield;
}
