* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #fafafa;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#editor {
    flex: 1;
    width: 100%;
}

/* Стили для номеров строк Monaco Editor */
.monaco-editor .margin {
    background-color: transparent !important;
}

.monaco-editor .line-numbers {
    color: #94a3b8 !important;
    font-size: 13px !important;
    padding-right: 16px !important;
    padding-left: 8px !important;
}

/* Статус бар */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    font-size: 0.75rem;
    color: #64748b;
    position: relative;
    z-index: 10;
}

.status-left,
.status-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.status-item strong {
    color: #2c3e50;
    font-weight: 500;
}

.status-separator {
    color: #cbd5e1;
}

.toggle-button {
    background: none;
    border: none;
    font-size: 1rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.toggle-button:hover {
    background: #e2e8f0;
    color: #2c3e50;
}

/* Информационная панель */
.info-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 2rem;
    z-index: 20;
    transform: translateY(0);
    transition: transform 0.3s ease-out;
}

.info-panel.collapsed {
    transform: translateY(100%);
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.close-button:hover {
    background: #f1f5f9;
    color: #64748b;
}

.info-panel h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.info-panel p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .status-bar {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .status-left,
    .status-right {
        width: 100%;
        justify-content: center;
    }

    .info-panel {
        padding: 1.5rem 1rem;
    }

    .close-button {
        top: 0.5rem;
        right: 0.5rem;
    }

    .info-panel h2 {
        font-size: 1.25rem;
    }

    .info-panel p {
        font-size: 0.875rem;
    }

    .features {
        flex-direction: column;
        gap: 0.75rem;
    }
}