:root {
    --bg-color: #1e1e1e;
    --text-color: #d4d4d4;
    --border-color: #333;
    --accent-color: #0e639c;
    --accent-hover: #1177bb;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: 10px 20px;
    background-color: #252526;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: normal;
}

#run-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 2px;
    transition: background-color 0.2s;
}

#run-btn:hover {
    background-color: var(--accent-hover);
}

#main-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

#editor-container {
    width: 50%;
    border-right: 1px solid var(--border-color);
}

#output-container {
    width: 50%;
    padding: 20px;
    overflow-y: auto;
    font-family: 'Consolas', 'Courier New', monospace;
    white-space: pre-wrap;
    background-color: #1e1e1e;
    color: #ffffff;
}

.output-success {
    color: #ffffff;
}

.error-message {
    color: #f48771;
}

footer {
    padding: 10px 20px;
    background-color: #252526;
    border-top: 1px solid var(--border-color);
    text-align: right;
    font-size: 0.9rem;
    flex-shrink: 0;
}

footer a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    opacity: 0.8;
}

footer a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.separator {
    margin: 0 10px;
    color: var(--text-color);
    opacity: 0.5;
}

/* SweetAlert2 Custom Styles */
.swal2-icon-small {
    font-size: 12px !important;
    width: 3em !important;
    height: 3em !important;
    margin: 1.5em auto .5em !important;
}

.about-content {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.about-content a:hover {
    text-decoration: underline;
}

.about-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #333;
    text-align: right;
}