/* Generator Ghiduri & Manuale Tehnice - seotoolpro.ro */

/* ========== STEPPER ========== */
.gm-stepper {
    display: flex;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 24px;
    margin-bottom: 22px;
}

.gm-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}

.gm-step.active {
    color: #0f172a;
}

.gm-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 700;
    flex-shrink: 0;
}

.gm-step.active .gm-step-num {
    background: #0f172a;
    color: #ffffff;
}

/* ========== PANE ========== */
.gm-pane {
    display: none;
}

.gm-pane.active {
    display: block;
}

/* ========== CARD ========== */
.gm-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.gm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    gap: 12px;
}

.gm-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.gm-card-subtitle {
    font-size: 12.5px;
    color: #64748b;
    display: block;
    margin-top: 3px;
}

/* ========== FIELDS ========== */
.gm-field {
    margin-bottom: 16px;
}

.gm-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.gm-req {
    color: #ef4444;
}

.gm-field input[type="text"],
.gm-field select,
.gm-field textarea {
    width: 100%;
    padding: 9px 12px;
    font-size: 13.5px;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s ease;
    font-family: inherit;
}

.gm-field input[type="text"]:focus,
.gm-field select:focus,
.gm-field textarea:focus {
    border-color: #0284c7;
}

.gm-input-color {
    width: 100%;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 2px;
    cursor: pointer;
    background: #fff;
}

.gm-field-row {
    display: flex;
    gap: 14px;
}

.gm-field-row .gm-field {
    flex: 1;
}

.gm-field-row .flex-2 { flex: 2; }
.gm-field-row .flex-1 { flex: 1; }

/* ========== CAPITOLE ========== */
.gm-chapter-item {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #0f172a;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 16px;
}

.gm-chapter-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gm-chapter-top strong {
    font-size: 13px;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== BUTOANE ========== */
.gm-btn-del {
    background: transparent;
    color: #dc2626;
    border: 1px solid #fca5a5;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gm-btn-del:hover {
    background: #dc2626;
    color: #ffffff;
}

.gm-btn-dashed {
    width: 100%;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.15s ease;
}

.gm-btn-dashed:hover {
    background: #f8fafc;
    border-color: #0f172a;
}

.gm-footer-action {
    display: flex;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
    margin-top: 15px;
}

.gm-footer-action.right       { justify-content: flex-end; }
.gm-footer-action.space-between { justify-content: space-between; }

.gm-btn-primary {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.gm-btn-primary:hover {
    background: #1e293b;
}

.gm-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gm-btn-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.gm-btn-outline-sm {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.gm-btn-outline-sm:hover {
    background: #f8fafc;
    color: #0f172a;
}

.gm-btn-success {
    background: #16a34a;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.gm-btn-success:hover {
    background: #15803d;
}

.gm-header-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* ========== TABS ========== */
.gm-tabs-nav {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 15px;
}

.gm-tab-trigger {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: -1px;
}

.gm-tab-trigger.active {
    color: #0f172a;
    border-bottom-color: #0f172a;
}

/* ========== PREVIEW / CODE ========== */
.gm-preview-wrapper iframe {
    width: 100%;
    height: 560px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #ffffff;
    display: block;
}

.gm-code-wrapper textarea {
    width: 100%;
    height: 560px;
    background: #1e1e1e;
    color: #d4d4d4;
    font-family: SFMono-Regular, Consolas, Monaco, monospace;
    font-size: 12px;
    padding: 14px;
    border: 1px solid #333;
    border-radius: 4px;
    box-sizing: border-box;
    resize: none;
    outline: none;
    line-height: 1.5;
}

/* ========== ABOUT CONTENT ========== */
.gm-about-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 22px;
    color: #334155;
    line-height: 1.7;
    margin-top: 16px;
}

.gm-about-content code {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 1px 6px;
    border-radius: 3px;
    font-family: SFMono-Regular, Consolas, Monaco, monospace;
    font-size: 12.5px;
    color: #0284c7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .gm-field-row {
        flex-direction: column;
        gap: 0;
    }
    .gm-card-header {
        flex-direction: column;
        gap: 10px;
    }
    .gm-header-buttons {
        width: 100%;
    }
    .gm-header-buttons button {
        flex: 1;
    }
    .gm-stepper {
        padding: 12px 16px;
        gap: 8px;
    }
    .gm-step-text {
        display: none;
    }
}