body {
    height: auto;
    min-height: 100vh;
    padding: 20px 0;
}
.container {
    width: 90%;
    max-width: 700px;
    text-align: left;
}
.container h1 {
    text-align: center;
    font-size: 22px;
}
.intro {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}
.step {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    border-left: 5px solid #007bff;
}
.step h2 {
    color: #333;
    font-size: 17px;
    margin: 0 0 12px 0;
    padding: 0;
    border: none;
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.step-icon {
    font-size: 24px;
}
.step p {
    margin: 0 0 12px 0;
    line-height: 1.7;
    color: #444;
}
.step p:last-child {
    margin-bottom: 0;
}

/* Blocs de commandes */
.cmd-block {
    background: #1e1e2e;
    color: #cdd6f4;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 12px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.6;
    overflow-x: auto;
    position: relative;
}
.cmd-block code {
    color: #cdd6f4;
}
.cmd-prompt {
    color: #a6e3a1;
    user-select: none;
}
.cmd-comment {
    color: #6c7086;
    font-style: italic;
}
.cmd-output {
    color: #89b4fa;
}
.cmd-highlight {
    color: #f9e2af;
    font-weight: bold;
}

/* Tabs OS */
.os-tabs {
    display: flex;
    gap: 0;
    margin-top: 12px;
    margin-bottom: 0;
}
.os-tab {
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    background: #e9ecef;
    color: #666;
    transition: all 0.2s;
}
.os-tab.active {
    background: #1e1e2e;
    color: #cdd6f4;
    border-color: #1e1e2e;
}
.os-tab:hover:not(.active) {
    background: #dee2e6;
}
.os-content {
    display: none;
}
.os-content.active {
    display: block;
}
.os-content .cmd-block {
    margin-top: 0;
    border-radius: 0 8px 8px 8px;
}

/* Explication technique */
.tech-note {
    background: linear-gradient(135deg, #e7f3ff 0%, #f0f7ff 100%);
    border: 1px solid #b6d4fe;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 12px 0;
    font-size: 14px;
    line-height: 1.6;
}
.tech-note::before {
    content: "🔧 ";
}

.warn-note {
    background: linear-gradient(135deg, #fff8e6 0%, #fff3cd 100%);
    border: 1px solid #ffc107;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 12px 0;
    font-size: 14px;
    line-height: 1.6;
}
.warn-note::before {
    content: "⚠️ ";
}

/* Schéma de flux */
.flow-schema {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}
.flow-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.flow-box {
    background: white;
    border: 2px solid #007bff;
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
    font-size: 13px;
    flex: 1;
    min-width: 0;
}
.flow-box.success {
    border-color: #28a745;
    background: #e8f5e9;
}
.flow-box.fail {
    border-color: #dc3545;
    background: #fff5f5;
}
.flow-box.warn {
    border-color: #ffc107;
    background: #fff8e6;
}
.flow-arrow {
    color: #007bff;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0;
}
.flow-arrow-down {
    text-align: center;
    color: #007bff;
    font-size: 16px;
    font-weight: bold;
    padding: 2px 0;
}
.flow-label {
    font-size: 11px;
    color: #888;
    text-align: center;
}

.inline-code {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #d63384;
}

.highlight {
    background: #fff3cd;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

/* Résumé */
.summary-box {
    background: linear-gradient(135deg, #d4edda 0%, #e8f5e9 100%);
    border: 1px solid #c3e6cb;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 18px;
}
.summary-box h2 {
    color: #28a745;
    font-size: 17px;
    margin: 0 0 12px 0;
    padding: 0;
    border: none;
    width: auto;
}
.summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.summary-table th {
    background: rgba(40, 167, 69, 0.15);
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #c3e6cb;
}
.summary-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    vertical-align: top;
}
.summary-table tr:last-child td {
    border-bottom: none;
}

/* Limites */
.limits-box {
    background: #fff8e6;
    border: 1px solid #ffc107;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 18px;
}
.limits-box h2 {
    color: #d39e00;
    font-size: 17px;
    margin: 0 0 12px 0;
    padding: 0;
    border: none;
    width: auto;
}
.limits-box p {
    margin: 0 0 10px 0;
    line-height: 1.7;
    color: #444;
}
.limits-box ul {
    margin: 0;
    padding-left: 20px;
    color: #444;
    line-height: 1.8;
}
.limits-box a {
    color: #007bff;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}
.back-link:hover {
    text-decoration: underline;
}

.guide-signature {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f0f4f8;
    border-left: 4px solid #0c4f96;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: -5px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.ezeo-logo-inline {
    height: 32px;
    flex-shrink: 0;
}

.ezeo-logo-footer {
    height: 22px;
    vertical-align: middle;
    margin-left: 4px;
}

.ezeo-description {
    font-size: 0.9rem;
    color: #777;
    margin-top: 6px;
}

.back-links {
    text-align: center;
}

@media (max-width: 500px) {
    .flow-row {
        flex-direction: column;
    }
    .flow-arrow {
        transform: rotate(90deg);
    }
    .os-tab {
        padding: 6px 10px;
        font-size: 12px;
    }
}
