@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.bng-wrap { max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem 4rem; font-family: 'Roboto', sans-serif; }

.bng-intro { text-align: center; margin-bottom: 2rem; }
.bng-intro-title { font-family: 'Roboto', sans-serif; font-size: 28px; font-weight: 700; color: #0d1b3e; margin: 0 0 1rem; line-height: 1.3; }
.bng-intro-text { font-family: 'Roboto', sans-serif; font-size: 16px; color: #0d1b3e; line-height: 1.7; margin: 0 0 0.75rem; }
.bng-intro-tip { font-family: 'Roboto', sans-serif; font-size: 16px; color: #0d1b3e; font-weight: 500; margin: 1rem 0 0; }

.bng-hero { border-left: 4px solid #2255ee; padding: 0.5rem 0 0.5rem 1.25rem; margin-bottom: 1.75rem; }
.bng-title { font-family: 'Roboto', sans-serif; font-size: 26px; font-weight: 700; color: #0d1b3e; margin: 0 0 0.3rem; }
.bng-sub { font-family: 'Roboto', sans-serif; font-size: 16px; color: #0d1b3e; margin: 0; }

.bng-card { background: #fff; border: 2px solid #c0c8e8; border-radius: 12px; padding: 1.5rem; margin-bottom: 1rem; box-shadow: 0 2px 8px rgba(34,85,238,0.07); }
.bng-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 1rem; }
.bng-input { flex: 2; min-width: 160px; height: 44px; padding: 0 14px; border: 2px solid #c0c8e8; border-radius: 8px; font-family: 'Roboto', sans-serif; font-size: 16px; color: #0d1b3e; background: #fff; outline: none; }
.bng-input:focus { border-color: #2255ee; box-shadow: 0 0 0 3px rgba(34,85,238,0.1); }
.bng-select { flex: 1; min-width: 150px; height: 44px; padding: 0 12px; border: 2px solid #c0c8e8; border-radius: 8px; font-family: 'Roboto', sans-serif; font-size: 15px; color: #0d1b3e; background: #fff; outline: none; cursor: pointer; }
.bng-select:focus { border-color: #2255ee; }
.bng-btn { height: 44px; padding: 0 26px; background: #2255ee; color: #fff; border: none; border-radius: 8px; font-family: 'Roboto', sans-serif; font-size: 16px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.bng-btn:hover { background: #1a44cc; }
.bng-btn:active { transform: scale(0.98); }

.bng-style-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.bng-pill { padding: 7px 16px; border-radius: 20px; border: 2px solid #c0c8e8; font-family: 'Roboto', sans-serif; font-size: 14px; cursor: pointer; color: #0d1b3e; background: #fff; transition: all 0.15s; user-select: none; font-weight: 500; }
.bng-pill.active { background: #2255ee; color: #fff; border-color: #2255ee; }
.bng-pill:hover:not(.active) { border-color: #2255ee; color: #2255ee; }

.bng-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 1rem; }
.bng-name-card { background: #f0f3ff; border: 2px solid #c0c8e8; border-radius: 10px; padding: 14px 16px; cursor: pointer; transition: all 0.15s; }
.bng-name-card:hover { border-color: #2255ee; background: #e6ebff; }
.bng-name-text { font-family: 'Roboto', sans-serif; font-size: 18px; font-weight: 700; color: #0d1b3e; margin: 0 0 6px; }
.bng-badge { font-size: 11px; padding: 2px 8px; border-radius: 10px; display: inline-block; font-family: 'Roboto', sans-serif; }
.bng-badge-short { background: #e6eeff; color: #2255ee; }
.bng-badge-brand { background: #e1f5ee; color: #0f6e56; }
.bng-badge-bold { background: #faece7; color: #993c1d; }
.bng-badge-trust { background: #eeedfe; color: #534ab7; }
.bng-copy-hint { font-family: 'Roboto', sans-serif; font-size: 12px; color: #aaa; margin-top: 5px; }
.bng-counter { font-family: 'Roboto', sans-serif; font-size: 14px; color: #0d1b3e; margin-top: 0.75rem; }
.bng-regen { color: #2255ee; cursor: pointer; text-decoration: underline; }
.bng-empty { text-align: center; padding: 2.5rem; color: #aaa; font-size: 15px; font-family: 'Roboto', sans-serif; }
.bng-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #0d1b3e; color: #fff; padding: 10px 22px; border-radius: 8px; font-family: 'Roboto', sans-serif; font-size: 13px; opacity: 0; transition: opacity 0.2s; pointer-events: none; z-index: 9999; }
.bng-toast.show { opacity: 1; }