/* Random Name Picker Container */
#random-name-picker {
    width: 250px;  /* Fixed width */
    height: 165px; /* Consistent height with Mystery Pupil tool */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute space evenly */
    padding: 15px; /* Standard padding */
    box-sizing: border-box;
}

/* Pick Name Button */
#pick-name-button {
    background-color: #e0e0e0;
    color: #333;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    margin: 0 0 8px 0;
    width: auto;
    min-width: 80px;
    white-space: nowrap;
}

#pick-name-button:hover {
    background-color: #d0d0d0;
}

/* Add disabled button styling */
#pick-name-button:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Selected Class Display */
#selected-class-name {
    text-align: center;
    margin: 8px 0;
    font-size: 1.1em;
    color: #444;
    font-weight: 700;
}

/* Picked Name Display */
#picked-name {
    flex: 1; /* Take up available space */
    min-height: 80px; /* Match Mystery Pupil's min-height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px; /* Consistent padding */
    font-size: 1.5em;
    font-weight: bold;
    color: #4caf50;
    text-align: center;
    overflow: hidden; /* Prevent overflow */
}

#picked-name.no-class {
    color: #666;
    font-style: italic;
    font-size: 1.2em; /* Increased for better readability */
    opacity: 1;
    visibility: visible;
    margin: 0;
    padding: 10px; /* Consistent padding */
}

/* Additional styles from style.css that need to be transferred */
#random-name-picker #picked-name {
    text-align: center;
    margin: 0; /* No margins */
    padding: 10px;
    font-size: 1.2em;
}

#random-name-picker #selected-class-name {
    text-align: center;
    margin: 8px 0;
    font-size: 1.1em;
    color: #444;
    font-weight: 700;
}