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

body, html {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background: #181c24;
    overflow: hidden;
}

#container {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
}
#horizontal-divider {
    height: 12px;
    background: gray;
    cursor: ns-resize;
    z-index: 2;
}
#panel-divider {
    width: 12px;
    background: gray;
    cursor: ew-resize;
    z-index: 2;
}
  
#editor-section {
    width: 45%;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #23272f;
    box-shadow: 2px 0 8px rgba(0,0,0,0.15);
}
#editor {
    flex: 1 1 0;
    min-height: 50px;
    display: flex;
    flex-direction: column;
}

.CodeMirror {
    height: 100% !important;
}

#console-header {
    background-color: #111;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    border-bottom: 1px solid #333;
}
#console {
    flex: 0 0 300px;
    background: #eeeaea;
    color: #f5f5f5;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
#console-body {
    padding: 10px;
    flex: 1;
    font-family: monospace;
    font-size: 16px;
    color: black;
    overflow-y: auto;
}

#run-button {
    background-image: linear-gradient(147deg, rgb(67, 172, 32) 0% , rgb(118, 223, 83) 156%);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.5s ease;
    font-size: 20px;
    box-shadow: 0 2px 4px rgba(46,204,113,0.2);
    font-weight: bold;
    letter-spacing: 1px;
}
#run-button:hover {
    background: linear-gradient(rgb(68, 189, 28), rgb(98, 224, 55));
}

#stop-button {
    background-image: linear-gradient(147deg, #dd531c 0%, #FF2525 74%);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.5s ease;
    font-size: 20px;
    box-shadow: 0 2px 4px rgba(46,204,113,0.2);
    font-weight: bold;
    letter-spacing: 1px;
}
#stop-button:hover {
    background: linear-gradient(147deg, rgb(223, 23, 23) 0%, #e92719 74%);
}

#clear-console {
    background-image: linear-gradient(147deg, #dd531c 0%, #FF2525 74%);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.5s ease;
    font-size: 20px;
    box-shadow: 0 2px 4px rgba(46,204,113,0.2);
    font-weight: bold;
    letter-spacing: 1px;
}
#clear-console:hover {
    background: linear-gradient(147deg, rgb(223, 23, 23) 0%, #e92719 74%);
}

#run-button:active, #stop-button:active, #clear-console:active, #minimize-console:active {
    transform: scale(0.95);
    box-shadow: 2px rgba(46,204,113,0.2) inset;
    transition: 0.1s ease;
}

#console-header button {
    margin-left: 5px;
}
  
#simulator-section {
    flex: 1;
    background-color: #000;
    position: relative;
} 
#simulator {
    width: 100%;
    height: 100%;
    display: block;
}