/* ============================================================
   Novel Name Changer — Frontend Styles
   ============================================================ */

#nnc-box {
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4ef 100%);
    border: 1px solid #f4a7c0;
    border-radius: 12px;
    margin-bottom: 28px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(244, 114, 160, 0.15);
    font-family: inherit;
}

#nnc-header {
    background: linear-gradient(90deg, #f472a8, #e05590);
    padding: 10px 18px;
}

#nnc-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#nnc-body {
    padding: 16px 20px 18px;
}

#nnc-promo {
    font-size: 15px;
    color: #8b2252;
    font-weight: 600;
    margin: 0 0 14px;
}

.nnc-step {
    margin-bottom: 12px;
}

.nnc-step label {
    display: block;
    font-size: 13px;
    color: #a0536b;
    margin-bottom: 7px;
    font-weight: 500;
}

.nnc-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

#nnc-original-name,
#nnc-new-name {
    flex: 1;
    min-width: 160px;
    padding: 9px 14px;
    border: 1.5px solid #f4a7c0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}

#nnc-original-name:focus,
#nnc-new-name:focus {
    border-color: #e05590;
}

#nnc-apply-btn,
#nnc-reset-btn {
    padding: 9px 18px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

#nnc-apply-btn {
    background: linear-gradient(90deg, #f472a8, #e05590);
    color: #fff;
}

#nnc-apply-btn:hover {
    background: linear-gradient(90deg, #e05590, #c0355a);
    transform: translateY(-1px);
}

#nnc-reset-btn {
    background: #f0f0f0;
    color: #666;
}

#nnc-reset-btn:hover {
    background: #e0e0e0;
}

#nnc-feedback {
    margin: 10px 0 0;
    font-size: 13px;
    color: #c0355a;
    font-style: italic;
}

/* Highlight replaced names */
.nnc-replaced-name {
    color: #e05590;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 480px) {
    #nnc-input-row {
        flex-direction: column;
        align-items: stretch;
    }
    #nnc-apply-btn,
    #nnc-reset-btn {
        width: 100%;
        text-align: center;
    }
}
