/* style.css */
body {
    margin: 0;
    padding: 0;
    background-color: #0f0f0f; /* Dark background matching dashboard */
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.header {
    height: 60px;
    background-color: #171717;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    text-decoration: none;
    color: #888;
    font-size: 14px;
    transition: color 0.2s;
}

.logo a:hover {
    color: #fff;
}

.logo span {
    color: #fff;
    font-weight: 600;
    margin-left: 5px;
}

.actions {
    display: flex;
    gap: 10px;
}

.btn {
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #fff;
    color: #000;
}

.btn-primary:hover {
    background-color: #e0e0e0;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #333;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #444;
}

.editor-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* CodeMirror Customization */
.CodeMirror {
    height: 100% !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #171717;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
