/* Modern container for the name generator */
.neg-generator-container {
    max-width: 480px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
}

.neg-generator-header {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #0073aa;
    letter-spacing: 1px;
}

.neg-name-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin: 1.5rem 0 0 0;
}

.neg-name-item {
    background: linear-gradient(135deg, #e3f0ff 0%, #f8f9fa 100%);
    color: #222;
    padding: 18px 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: "Segoe UI", sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: 1px solid #e0e7ef;
}

.neg-name-item:hover {
    background: #d0eaff;
    transform: scale(1.07);
    box-shadow: 0 4px 16px rgba(0,115,170,0.10);
}

#neg-refresh-btn {
    background: linear-gradient(90deg, #0073aa 60%, #00b4d8 100%);
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 1.5rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,115,170,0.10);
    transition: background 0.2s, box-shadow 0.2s;
}

#neg-refresh-btn:hover {
    background: linear-gradient(90deg, #005f8d 60%, #0096c7 100%);
    box-shadow: 0 4px 16px rgba(0,115,170,0.15);
}

/* Selection bar styles */
.neg-selection-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}
.neg-select {
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid #d0d7de;
    font-size: 1.05rem;
    background: #f8f8fa;
    color: #222;
    font-family: inherit;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
}
.neg-select:focus {
    border: 1.5px solid #0073aa;
    box-shadow: 0 2px 8px rgba(0,115,170,0.10);
}
@media (max-width: 600px) {
    .neg-selection-bar {
        flex-direction: column;
        gap: 0.7rem;
        align-items: stretch;
    }
    .neg-select {
        width: 100%;
        font-size: 1rem;
    }
}

/* Search bar styles */
.neg-search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.neg-search-input {
    width: 100%;
    max-width: 320px;
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid #d0d7de;
    font-size: 1.05rem;
    background: #f8f8fa;
    color: #222;
    font-family: inherit;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
}
.neg-search-input:focus {
    border: 1.5px solid #0073aa;
    box-shadow: 0 2px 8px rgba(0,115,170,0.10);
}

/* Copy button styles */
.neg-copy-btn {
    margin-left: 10px;
    background: #e3f0ff;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    color: #0073aa;
    vertical-align: middle;
}
.neg-copy-btn:hover, .neg-copy-btn:focus {
    background: #b6e0fe;
    color: #005f8d;
}
.neg-copy-btn:active {
    background: #a0d2f6;
}
@media (max-width: 600px) {
    .neg-search-input {
        max-width: 100%;
        font-size: 1rem;
    }
    .neg-copy-btn {
        font-size: 1em;
        padding: 4px 8px;
    }
}

@media (max-width: 600px) {
    .neg-generator-container {
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
    .neg-name-list {
        grid-template-columns: 1fr;
    }
}
