
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
        display: flex;
        min-height: 100vh;
        background: #1a1a1a;
        color: #fff;
        flex-direction: column;
    }

    .app-title {
        width: 100%;
        text-align: center;
        color: #4CAF50;
        margin-bottom: 20px;
        font-size: 2.5em;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .container {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px;
        gap: 20px;
    }

    .editors-container {
        display: flex;
        width: 100%;
        gap: 20px;
    }

    .editor-section, .preview-section {
        flex: 1;
        background: #2a2a2a;
        border-radius: 10px;
        padding: 20px;
    }

    .editor-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .CodeMirror {
        height: 300px; /* Aumentado la altura del editor */
        border-radius: 5px;
        font-family: 'Courier New', Courier, monospace;
    }

    .preview-container {
        background: #fff;
        min-height: 800px; /* Aumentado la altura del contenedor de vista previa */
        border-radius: 5px;
        overflow: hidden;
    }

    #preview-frame {
        width: 100%;
        height: 800px; /* Aumentado la altura del iframe */
        border: none;
    }

    button {
        background: #4CAF50;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s;
    }

    button:hover {
        background: #45a049;
    }

    .label {
        color: #4CAF50;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .code-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .file-input-container {
        margin-bottom: 20px;
        padding: 20px;
        background: #333;
        border-radius: 10px;
    }

    #folder-input {
        display: none;
    }

    .file-input-label {
        background: #4CAF50;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        display: inline-block;
        margin-bottom: 10px;
    }

    .file-list {
        margin-top: 10px;
        color: #ccc;
    }
