.ncg-container {
    max-width: 100%;
    margin: 40px 0;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
    font-family: "Segoe UI", sans-serif;
}

/* Mode toggle matched to previous plugin */
.ncg-mode-toggle {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}
.ncg-mode-toggle label {
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #ddd;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ncg-mode-toggle label:hover {
    background: #eee;
}

/* Output Display matched */
.ncg-output-wrap {
    position: relative;
    margin-bottom: 12px;
}
.ncg-display {
    width: 100%;
    font-size: 24px;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    padding: 20px 85px 20px 20px;
    margin-bottom: 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    min-height: 70px;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    color: #f16123; /* Orange branding */
    letter-spacing: 2px;
    text-align: center;
    justify-content: center;
}
.ncg-display:focus {
    outline: 2px solid #0e4c85; /* Blue focus */
}

/* Copy Button */
.ncg-copy-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0e4c85; 
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.ncg-copy-btn:hover {
    background: rgba(14, 76, 133, 0.05);
}
.ncg-copy-icon {
    width: 18px;
    height: 18px;
    margin-bottom: 2px;
}
.ncg-copy-text {
    font-size: 13px;
    font-family: inherit;
}

/* Translation Wrap */
.ncg-translation-wrap {
    margin-bottom: 25px;
    text-align: center;
}
.ncg-translation-text {
    font-size: 16px;
    font-weight: bold;
    color: #444;
    background: #f1f3f5;
    padding: 12px;
    border-radius: 6px;
    border: 1px dashed #ccc;
    display: inline-block;
    min-width: 60%;
}
.ncg-translation-error {
    color: #d32f2f;
    border-color: #d32f2f;
}

/* Quick Templates */
.ncg-quick-templates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    justify-content: center;
}
.ncg-quick-btn {
    background: #0e4c85;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}
.ncg-quick-btn:hover {
    background: #0b3d6a;
}

/* Selectors */
.ncg-selectors {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    background: #fafafa;
    padding: 15px 10px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.ncg-select-group {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.ncg-select-group label {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #555;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ncg-input-val {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    font-family: monospace;
}
.ncg-input-val:focus {
    outline: 2px solid #f16123;
}

/* Translate Mode Input */
.ncg-label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}
.ncg-block-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 18px;
    font-family: monospace;
    box-sizing: border-box;
}
.ncg-block-input:focus {
    outline: 2px solid #f16123;
}
@media (max-width: 600px) {
    .ncg-selectors {
        flex-direction: column;
    }
}
