/* ══ Easy Symbols Cloner — Front-end CSS v1.6 ════════════════════════════════ */
.sc-wrap { max-width: 900px; margin: 0 auto; font-family: inherit; color: #222; }

/* ══ PAGE HEADER ════════════════════════════════════════════════════════════ */
.sc-page-header { margin-bottom: 8px; }
.sc-page-title  { font-size: 2em; margin: 0 0 6px; }
.sc-subtitle    { font-size: 14px; color: #888; margin: 0 0 10px; font-style: italic; }

/* ══ AD SLOTS ════════════════════════════════════════════════════════════════ */
.sc-ad   { margin: 20px 0; text-align: center; min-height: 10px; }
.sc-ad-1 { margin-bottom: 24px; }
.sc-ad-2 { margin-top: 16px; }
.sc-ad-3 { margin-bottom: 16px; }
.sc-ad-4 { margin-bottom: 16px; }
.sc-ad-5 { margin-top: 24px; }

/* ══ HERO: text left | symbol right ════════════════════════════════════════ */
.sc-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: start;
    margin-bottom: 32px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #f7f8ff 0%, #eef0ff 100%);
    border: 1px solid #dde0ff;
    border-radius: 14px;
}
.sc-hero-left  { flex: 1; }
.sc-hero-right { display: flex; flex-direction: column; align-items: center; gap: 0; }

/* Intro & example */
.sc-intro { font-size: 16px; line-height: 1.75; color: #444; margin: 0 0 12px; }
.sc-example {
    background: #fffbe6; border-left: 4px solid #f0c040;
    padding: 10px 14px; border-radius: 0 8px 8px 0;
    font-size: 15px; margin: 0 0 16px; color: #444;
}
.sc-example strong { color: #b08000; }

/* TOC */
.sc-toc { background: #fff; border-left: 4px solid #3c4adf; padding: 12px 18px; border-radius: 0 8px 8px 0; }
.sc-toc strong { font-size: 14px; color: #333; }
.sc-toc ol { margin: 6px 0 0; padding-left: 18px; }
.sc-toc li { margin: 3px 0; font-size: 14px; }
.sc-toc a  { color: #3c4adf; text-decoration: none; }
.sc-toc a:hover { text-decoration: underline; }

/* Symbol badge */
.sc-main-badge {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    background: #fff; border: 2px solid #dde0ff;
    border-radius: 16px; padding: 24px 32px;
    box-shadow: 0 4px 16px rgba(60,74,223,.08);
    min-width: 160px; text-align: center;
}
.sc-badge-sym { font-size: 64px; color: #000; line-height: 1; display: block; }

/* ── ALL BUTTONS: 5px border radius ── */
.sc-copy-btn,
.sc-sym-btn,
#sc-cust-copy {
    border-radius: 5px !important;
}

.sc-copy-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: #3c4adf; color: #fff; border: none;
    padding: 8px 20px; cursor: pointer;
    font-size: 14px; font-weight: 600;
    transition: background .2s, transform .1s;
    white-space: nowrap;
}
.sc-copy-btn:hover  { background: #2a38c7; }
.sc-copy-btn:active { transform: scale(.97); }

.sc-badge-uni { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sc-uni-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #888; }
.sc-badge-uni code {
    font-size: 13px; color: #3c4adf; background: #eef0ff;
    padding: 4px 10px; border-radius: 5px; font-weight: 600;
}

/* ══ SYMBOL GRID ════════════════════════════════════════════════════════════ */
.sc-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 32px; }
.sc-sym-btn {
    font-size: 26px; color: #000 !important;
    background: #f5f6ff; border: 1px solid #dde0ff;
    padding: 10px 14px; cursor: pointer;
    transition: background .15s, transform .1s, border-color .15s;
    min-width: 52px; text-align: center; line-height: 1;
}
.sc-sym-btn:hover  { background: #e8ebff; border-color: #3c4adf; transform: scale(1.1); }
.sc-sym-btn:active { transform: scale(.96); }

/* ══ CUSTOMIZER: two columns ════════════════════════════════════════════════ */
.sc-customizer {
    background: #f7f8ff; border: 1px solid #dde0ff;
    border-radius: 14px; padding: 24px 28px; margin-bottom: 32px;
}
.sc-cust-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

.sc-cust-controls { display: flex; flex-direction: column; gap: 14px; }
.sc-cust-field    { display: flex; flex-direction: column; gap: 5px; }
.sc-cust-field label {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; color: #666;
}
.sc-cust-field select,
.sc-cust-field input[type="number"] {
    padding: 8px 10px; border: 1px solid #cdd0ee; border-radius: 5px;
    background: #fff; font-size: 14px; color: #222; width: 100%; box-sizing: border-box;
}
.sc-cust-field select:focus,
.sc-cust-field input:focus { outline: none; border-color: #3c4adf; box-shadow: 0 0 0 3px rgba(60,74,223,.12); }

.sc-input-unit { display: flex; align-items: center; }
.sc-input-unit input { border-radius: 5px 0 0 5px; border-right: none; flex: 1; }
.sc-unit {
    padding: 8px 12px; background: #eef0ff; border: 1px solid #cdd0ee;
    border-radius: 0 5px 5px 0; font-size: 12px; font-weight: 700;
    color: #555; white-space: nowrap;
}

.sc-color-wrap { display: flex; align-items: center; gap: 10px; }
.sc-color-wrap input[type="color"] {
    width: 44px; height: 38px; border: 1px solid #cdd0ee;
    border-radius: 5px; cursor: pointer; padding: 3px; background: #fff;
}
.sc-color-wrap span { font-size: 13px; font-family: monospace; color: #444; font-weight: 600; }

.sc-padding-row { display: flex; gap: 10px; }
.sc-padding-row .sc-input-unit { flex: 1; }

/* Right column */
.sc-cust-output { display: flex; flex-direction: column; gap: 20px; }
.sc-cust-preview-box,
.sc-cust-code-box { background: #fff; border: 1px solid #dde0ff; border-radius: 10px; padding: 18px 20px; }
.sc-cust-preview-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: #888; margin-bottom: 12px;
}
.sc-cust-stage {
    min-height: 90px; display: flex; align-items: center; justify-content: center;
    background: repeating-conic-gradient(#f0f0f0 0% 25%, #fff 0% 50%) 0 0 / 16px 16px;
    border-radius: 8px; padding: 12px;
}
#sc-cust-preview { display: inline-block; transition: all .2s; font-size: 40px; color: #000; line-height: 1; }

#sc-cust-code {
    width: 100%; font-family: monospace; font-size: 12px;
    background: #f5f6ff; border: 1px solid #dde0ff;
    border-radius: 5px; padding: 10px 12px; box-sizing: border-box;
    resize: vertical; color: #333; line-height: 1.5;
}
#sc-cust-copy {
    margin-top: 10px; background: #3c4adf; color: #fff; border: none;
    padding: 9px 20px; cursor: pointer;
    font-weight: 700; font-size: 13px; transition: background .2s; width: 100%;
}
#sc-cust-copy:hover { background: #2a38c7; }

/* ══ ALT CODES TABLE ════════════════════════════════════════════════════════ */
.sc-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.sc-table th,
.sc-table td { border: 1px solid #dde0ff; padding: 10px 16px; text-align: left; }
.sc-table th { background: #eef0ff; font-weight: 700; color: #333; font-size: 14px; }
.sc-table tr:nth-child(even) td { background: #fafbff; }
.sc-sym-cell { font-size: 22px; color: #000; text-align: center; }
kbd { background: #eee; border: 1px solid #bbb; border-radius: 4px; padding: 2px 7px; font-size: 13px; }

/* ══ TOAST ══════════════════════════════════════════════════════════════════ */
#sc-toast {
    position: fixed; bottom: 28px; left: 50%;
    transform: translateX(-50%) translateY(60px);
    background: #222; color: #fff; padding: 10px 26px;
    border-radius: 5px; font-size: 15px; font-weight: 700;
    opacity: 0; transition: all .3s; pointer-events: none; z-index: 9999;
}
#sc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══ RESPONSIVE ═════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
    .sc-hero       { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
    .sc-hero-right { align-items: flex-start; }
    .sc-cust-cols  { grid-template-columns: 1fr; }
    .sc-sym-btn    { font-size: 22px; padding: 8px 10px; min-width: 44px; }
    .sc-badge-sym  { font-size: 48px; }
    .sc-main-badge { padding: 16px 20px; min-width: unset; width: 100%; box-sizing: border-box; }
}
