/* SheetGen Plugin Styles
   Scoped to .sheetgen-wrap so nothing bleeds into the theme */

.sheetgen-wrap *,
.sheetgen-wrap *::before,
.sheetgen-wrap *::after {
    box-sizing: border-box;
}

.sheetgen-wrap {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    max-width: 520px;
    margin: 40px auto;
    padding: 0 16px;
}

/* ── Card ── */
.sg-card {
    background: #1a1a2e;
    border-radius: 16px;
    border: 1px solid #2a2a45;
    padding: 36px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

/* ── Step bar ── */
.sg-steps {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}
.sg-step-bar {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: #7c6af7;
}
.sg-step-bar.inactive {
    background: #2a2a45;
}

/* ── Typography ── */
.sg-label {
    display: block;
    color: #ccccee;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ── Text input ── */
.sg-input {
    width: 100%;
    background: #0f0f1a;
    border: 1px solid #2a2a45;
    border-radius: 8px;
    padding: 12px 14px;
    color: #f0eeff;
    font-size: 15px;
    outline: none;
    margin-bottom: 24px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.sg-input:focus { border-color: #7c6af7; }
.sg-input::placeholder { color: #555577; }

/* ── Radio cards ── */
.sg-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
}
.sg-type-option { position: relative; }
.sg-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.sg-type-option label {
    display: block;
    border: 2px solid #2a2a45;
    background: #0f0f1a;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    color: #f0eeff;
}
.sg-type-option input:checked + label {
    border-color: #7c6af7;
    background: rgba(124,106,247,0.1);
}
.sg-type-title {
    font-weight: 700;
    font-size: 15px;
    color: #f0eeff;
}
.sg-type-sub {
    color: #8888aa;
    font-size: 12px;
    margin-top: 4px;
}

/* ── Feature list ── */
.sg-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.sg-feature {
    display: flex;
    gap: 12px;
    background: #0f0f1a;
    border-radius: 10px;
    padding: 14px;
    border: 1px solid #2a2a45;
    align-items: flex-start;
}
.sg-feature-icon { font-size: 22px; line-height: 1; }
.sg-feature-title {
    color: #f0eeff;
    font-weight: 600;
    font-size: 14px;
}
.sg-feature-desc {
    color: #8888aa;
    font-size: 12px;
    margin-top: 3px;
}

/* ── Tailored note ── */
.sg-note {
    color: #8888aa;
    font-size: 12px;
    margin-bottom: 20px;
    padding: 12px;
    background: #0f0f1a;
    border-radius: 8px;
    border: 1px solid #2a2a45;
}
.sg-note span { color: #7c6af7; font-weight: 600; }

/* ── Buttons ── */
.sg-btn-primary {
    width: 100%;
    background: #7c6af7;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
    text-align: center;
}
.sg-btn-primary:hover { background: #6a58e0; }

.sg-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.sg-btn-back {
    background: transparent;
    color: #8888aa;
    border: 1px solid #2a2a45;
    border-radius: 10px;
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s;
}
.sg-btn-back:hover { border-color: #7c6af7; color: #f0eeff; }

/* ── Success screen ── */
.sg-success { text-align: center; }
.sg-success-icon { font-size: 52px; margin-bottom: 16px; }
.sg-success h3 {
    color: #f0eeff;
    margin: 0 0 8px;
    font-size: 22px;
}
.sg-success p { color: #8888aa; font-size: 14px; margin-bottom: 28px; }
.sg-success strong { color: #7c6af7; }

.sg-quickstart {
    background: #0f0f1a;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: left;
    border: 1px solid #2a2a45;
}
.sg-quickstart-title {
    color: #ccccee;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.sg-quickstart-step {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    align-items: flex-start;
}
.sg-quickstart-num {
    color: #7c6af7;
    font-weight: 700;
    font-size: 13px;
    min-width: 18px;
}
.sg-quickstart-text { color: #8888aa; font-size: 13px; }

.sg-btn-outline {
    width: 100%;
    background: transparent;
    color: #7c6af7;
    border: 1px solid #7c6af7;
    border-radius: 10px;
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
    text-align: center;
}
.sg-btn-outline:hover {
    background: rgba(124,106,247,0.1);
    color: #7c6af7;
    text-decoration: none;
}

/* ── No-gate footer ── */
.sg-no-gate {
    color: #444466;
    font-size: 12px;
    margin-top: 16px;
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .sg-card { padding: 24px 20px; }
    .sg-type-grid { grid-template-columns: 1fr; }
    .sg-btn-row { grid-template-columns: 1fr; }
}
