/* Leadmagnet Content Generator - Main Styles */
.lm-sg-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    width: 100% !important;
    padding: 50px;
}

.lm-sg-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.lm-sg-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
}

.lm-sg-subtitle {
    color: #666;
    margin-bottom: 25px;
}

/* Tab Navigation */
.lm-sg-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.lm-sg-tab-btn {
    background: #f4f4f4;
    border: 1px solid #ddd;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    color: #555;
}

.lm-sg-tab-btn:hover {
    background: #ebebeb;
}

.lm-sg-tab-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Form Elements */
#lm-sg-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

#lm-sg-form textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    font-size: 15px;
    margin-bottom: 20px;
    resize: vertical;
    background: #fff;
}

#lm-sg-form textarea:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

#lm-sg-submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

#lm-sg-submit:hover {
    background: #333;
}

#lm-sg-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Status Messages */
.lm-sg-status {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.lm-sg-status:not(:empty) {
    display: block;
}

.lm-sg-status.loading {
    background: #f0f7ff;
    color: #0056b3;
    border: 1px solid #cfe2ff;
}

.lm-sg-status.error {
    background: #fff8f8;
    color: #d63638;
    border: 1px solid #f1d7d7;
}

.lm-sg-status.success {
    background: #f3faf5;
    color: #1e7e34;
    border: 1px solid #d4edda;
}

/* Results Area */
.lm-sg-results {
    margin-top: 40px;
    border-top: 2px solid #f0f0f0;
    padding-top: 30px;
}

.lm-sg-result-block {
    margin-bottom: 30px;
}

.lm-sg-result-block h3 {
    font-size: 18px;
    margin-bottom: 12px;
    border-left: 4px solid #000;
    padding-left: 12px;
}

.lm-sg-result-block ol {
    padding-left: 20px;
    margin-bottom: 0;
}

.lm-sg-result-block ol li {
    margin-bottom: 8px;
    font-size: 15px;
}

.lm-sg-box {
    white-space: pre-wrap;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    line-height: 1.6;
    font-size: 15px;
}

/* Tags / Hashtags */
.lm-sg-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lm-sg-tag {
    background: #eee;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
}

/* Thumbnail specific highlight */
#lm_thumbnail_text {
    font-weight: 700;
    color: #000;
    font-size: 18px;
    text-align: center;
    border: 2px dashed #ccc;
}