/* =============================================
   SkillForge — ChatGPT Custom Instructions Wizard
   ============================================= */

.ci-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.ci-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fff;
}

.ci-checkbox-item:hover {
    border-color: #6B3FA0;
    background: #f9f5ff;
}

.ci-checkbox-item input[type=checkbox] {
    accent-color: #6B3FA0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ci-preference-group {
    margin-bottom: 24px;
}

.ci-pref-label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.ci-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ci-option-btn {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
    color: #333;
}

.ci-option-btn:hover {
    border-color: #6B3FA0;
    background: #f9f5ff;
}

.ci-option-btn.selected {
    border-color: #6B3FA0;
    background: #f3eeff;
    color: #6B3FA0;
    font-weight: 600;
}

.ci-output-block {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.ci-output-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.ci-output-pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: #333;
}

.ci-copy-btn {
    font-size: 14px;
    padding: 6px 14px;
}

.ci-how-to-link {
    margin-top: 6px;
    font-size: 15px;
}

.ci-how-to-link a {
    color: #6B3FA0;
    text-decoration: none;
}

.ci-how-to-link a:hover {
    text-decoration: underline;
}

.sf-output-header {
    text-align: center;
    margin-bottom: 2rem;
}

.sf-output-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sr-next-steps {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.sr-next-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
