/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Feb 11 2026 | 09:00:30 */
  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
h2 {font-size:4px;}

        .containerScartek {
			width : 90%;
            max-width: 1400px;
            margin: 0 auto;
        }


        .fen_arrondie {
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            padding: 4px;
            margin-bottom: 4px;

        }

        .card {
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            padding: 32px;
            margin-bottom: 24px;
            overflow:auto;
        }

        h1 {
            color: #312e81;
            font-size: 2.5rem;
            margin-bottom: 8px;
        }

        .subtitle {
			color: #312e81;
            margin-bottom: 24px;
        }

        .input-group {
            display: flex;
            gap: 12px;
            margin-bottom: 16px;
        }

        input[type="text"] {
            flex: 1;
            padding: 12px 16px;
            border: 2px solid #d1d5db;
            border-radius: 8px;
            font-size: 16px;
            transition: border-color 0.2s;
        }

        input[type="text"]:focus {
            outline: none;
            border-color: #4f46e5;
        }

        button {
            padding: 12px 24px;
            background: #4f46e5;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background 0.2s;
        }

        button:hover:not(:disabled) {
            background: #4338ca;
        }

        button:disabled {
            background: #9ca3af;
            cursor: not-allowed;
        }

        .spinner {
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .error {
            display: none;
            align-items: center;
            gap: 8px;
            padding: 16px;
            background: #fef2f2;
            border: 1px solid #fecaca;
            border-radius: 8px;
            color: #991b1b;
        }

        .error.show {
            display: flex;
        }

        .examples {
            padding: 16px;
            background: #eff6ff;
            border: 1px solid #bfdbfe;
            border-radius: 8px;
            margin-top: 16px;
        }

        .examples strong {
            color: #1e3a8a;
        }

        .examples ul {
            margin-top: 8px;
            list-style: none;
        }

        .examples li {
            margin: 4px 0;
            font-size: 14px;
            color: #1e40af;
        }

        .examples code {
            background: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-family: monospace;
        }

        .results {
            display: none;
        }

        .results.show {
            display: block;
        }

        .molecule-info {
            margin-bottom: 24px;
            padding-bottom: 24px;
            border-bottom: 2px solid #e5e7eb;
        }

        .molecule-header {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 24px;
            align-items: start;
        }

        .molecule-details h2 {
            font-size: 2rem;
            color: #111827;
            margin-bottom: 12px;
        }

        .molecule-meta {
            display: flex;
            gap: 24px;
            font-size: 14px;
            flex-wrap: wrap;
        }

        .molecule-meta span {
            color: #6b7280;
        }

        .molecule-meta strong {
            font-family: monospace;
            font-weight: 600;
        }

        .complexity-simple { color: #059669; }
        .complexity-modéré { color: #d97706; }
        .complexity-complexe { color: #dc2626; }

        .molecule-structure {
            background: #f9fafb;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            padding: 16px;
            min-width: 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .structure-image {
            width: 100%;
            max-width: 300px;
            height: auto;
            margin-bottom: 12px;
        }

        .structure-label {
            font-size: 12px;
            color: #6b7280;
            text-align: center;
        }

        .routes-title {
            font-size: 1.5rem;
            font-weight: bold;
            color: #111827;
            margin-bottom: 16px;
        }

        .route-card {
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            margin-bottom: 16px;
            overflow: hidden;
            width : 100%;
        }

        .route-header {
            padding: 20px;
            background: linear-gradient(135deg, #eef2ff 0%, #f3e8ff 100%);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: background 0.2s;
        }

        .route-header:hover {
            background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
        }

        .route-header-left {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .route-number {
            width: 48px;
            height: 48px;
            background: #4f46e5;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            font-weight: bold;
        }

        .route-info h4 {
            font-size: 1.25rem;
            color: #111827;
            margin-bottom: 4px;
        }

        .route-meta {
            display: flex;
            gap: 12px;
            font-size: 14px;
            color: #6b7280;
        }

        .feasibility {
            color: #4f46e5;
            font-weight: 600;
        }

        .chevron {
            width: 24px;
            height: 24px;
            transition: transform 0.3s;
        }

        .chevron.expanded {
            transform: rotate(180deg);
        }

        .route-content {
            display: none;
            padding: 24px;
            background: white;
        }

        .route-content.show {
            display: block;
        }

        .synthesis-diagram {
            background: #fafafa;
            border: 2px dashed #d1d5db;
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 24px;
            overflow-x: auto;
        }

        .diagram-title {
            font-size: 14px;
            font-weight: 600;
            color: #4f46e5;
            margin-bottom: 16px;
            text-align: center;
        }

        .reaction-scheme {
            display: flex;
            justify-content: space-around;
            align-items: center;
            gap: 20px;
            min-width: fit-content;
            padding: 20px 0;
        }

        .molecule-box {
            background: white;
            border: 2px solid #4f46e5;
            border-radius: 8px;
            padding: 16px;
            min-width: 200px;
            text-align: center;
        }

        .molecule-box.target {
            border-color: #059669;
            background: #f0fdf4;
        }

        .molecule-box.intermediate {
            border-color: #0891b2;
            background: #ecfeff;
        }

        .molecule-name {
            font-weight: 600;
            color: #111827;
            margin-bottom: 8px;
            font-size: 14px;
        }

        .molecule-smiles {
            font-family: monospace;
            font-size: 11px;
            color: #6b7280;
            word-break: break-all;
        }

        .arrow {
            font-size: 32px;
            color: #4f46e5;
            font-weight: bold;
        }

        .reaction-conditions {
            background: #fef3c7;
            border: 1px solid #fbbf24;
            border-radius: 6px;
            padding: 8px 12px;
            font-size: 12px;
            color: #92400e;
            max-width: 200px;
            text-align: center;
        }

        .steps-section {
            margin-bottom: 24px;
        }

        .steps-section h5 {
            font-weight: 600;
            color: #111827;
            margin-bottom: 12px;
        }

        .step {
            background: #f9fafb;
            padding: 16px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            margin-bottom: 16px;
        }

        .step-header {
            display: flex;
            gap: 12px;
        }

        .step-number {
            width: 32px;
            height: 32px;
            background: #4f46e5;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: bold;
            flex-shrink: 0;
        }

        .step-content p {
            font-weight: 500;
            color: #111827;
            margin-bottom: 8px;
        }

        .step-details {
            font-size: 14px;
        }

        .step-details p {
            margin: 4px 0;
        }

        .step-details span {
            color: #6b7280;
        }

        .step-details code {
            font-size: 12px;
            background: white;
            padding: 2px 6px;
            border-radius: 4px;
            font-family: monospace;
        }

        .pros-cons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .pros, .cons {
            padding: 16px;
            border-radius: 8px;
        }

        .pros {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
        }

        .pros h5 {
            color: #166534;
            margin-bottom: 8px;
        }

        .pros ul {
            color: #15803d;
            font-size: 14px;
        }

        .cons {
            background: #fefce8;
            border: 1px solid #fef08a;
        }

        .cons h5 {
            color: #854d0e;
            margin-bottom: 8px;
        }

        .cons ul {
            color: #a16207;
            font-size: 14px;
        }

        .pros ul, .cons ul {
            list-style: none;
            margin-left: 0;
        }

        .pros ul li, .cons ul li {
            margin: 4px 0;
        }

        @media (max-width: 1024px) {
            .molecule-header {
                grid-template-columns: 1fr;
            }

            .reaction-scheme {
                flex-direction: column;
                align-items: stretch;
            }

            .arrow {
                transform: rotate(90deg);
            }
        }

        @media (max-width: 768px) {
            .pros-cons {
                grid-template-columns: 1fr;
            }
            
            h1 {
                font-size: 2rem;
            }
        }
        .routesContainer {
            display : flex;
            justify-content: space-between;
            width : 100%;
            overflow: auto;
            border: 2px solid blue;



        }
        #mydivComments {
            position: fixed;
            top: 150px;
            left: 200px;
            z-index: 200;
            background-color: #2196F3;
            border: 1px solid #d3d3d3;
            text-align:left;
        }


        #mydivCommentsheader {
            padding: 10px;
            cursor: move;
            z-index: 10;
            font-size:16px;
            background-color: #130b8c;
            color: #fff;
        }	 
        
        #mydivZoom {
            position: fixed;
            top: 150px;
            left: 200px;
            z-index: 200;
            background-color: #2196F3;
            border: 1px solid #d3d3d3;
            text-align:left;
        }

        #mydivZoomheader {
            padding: 10px;
            cursor: move;
            z-index: 10;
            font-size:16px;
            background-color: #130b8c;
            color: #fff;
        }	 
        

        .resizable {
            position: relative;
        }
        .resizer {
            /* All resizers are positioned absolutely inside the element */
            position: absolute;
        }

/* Placed at the right side */
.resizer-r {
    cursor: col-resize;
    height: 100%;
    right: 0;
    top: 0;
    width: 5px;
}

/* Placed at the bottom side */
.resizer-b {
    bottom: 0;
    cursor: row-resize;
    height: 5px;
    left: 0;
    width: 100%;
}             

.modele_local_comments {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
}
.controls {
            display: flex;
            gap: 10px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .steps-navigation {
            display: flex;
            gap: 10px;
            margin-bottom: 30px;
            overflow-x: auto;
            padding: 10px 0;
        }

        .step-tab {
            padding: 12px 20px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            background: white;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            font-weight: 600;
            color: #666;
        }

        .step-tab:hover {
            border-color: #667eea;
            background: #f0f0ff;
        }

        .step-tab.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
        }

        .steps-container {
            position: relative;
            min-height: 400px;
            
        }

        .complements-container {
            position: relative;
            min-height: 200px;
            background-color: #4f46e5; /* #15803d;*/
            border-radius: 20px;
            margin: 10px 0px 0px 0px;
            width: 100%;
            padding : 10px;

        }
        .step-card {
            display: none;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 24px;
            background: #fafafa;
            transition: all 0.3s ease;
        }

        .step-card.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .step-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .step-title {
            font-size: 18px;
            font-weight: 700;
            color: #667eea;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 16px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        label {
            font-weight: 600;
            color: #555;
            font-size: 13px;
        }

        input, textarea {
            padding: 10px 12px;
            border: 2px solid #e0e0e0;
            border-radius: 6px;
            font-size: 14px;
            font-family: inherit;
            transition: all 0.3s ease;
        }

        input:focus, textarea:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        textarea {
            resize: vertical;
            min-height: 60px;
        }

        .result-section {
            margin-top: 40px;
            padding-top: 30px;
            border-top: 2px solid #e0e0e0;
        }

        .result-title {
            font-size: 20px;
            font-weight: 700;
            color: #333;
            margin-bottom: 15px;
        }

        .json-output {
            background: #2d2d2d;
            color: #f8f8f2;
            padding: 20px;
            border-radius: 8px;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
            font-size: 13px;
            line-height: 1.6;
        }

        .empty-state {
            text-align: center;
            padding: 40px;
            color: #999;
        }

        @media (max-width: 768px) {
            .container {
                padding: 24px;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }
        }