* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.cyber-lab-app {
    width: 100%;
    max-width: 800px;
    background-color: #1e1e1e;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 20px;
}

.form-group {
    margin-bottom: 16px;
    position: relative;
}

.search-input, .code-input {
    width: 100%;
    background-color: #121212;
    border: 1px solid #333333;
    color: #e0e0e0;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
}

.search-input:focus, .code-input:focus {
    border-color: #666666;
}

.code-input {
    min-height: 110px;
    resize: vertical;
    font-family: monospace;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1e1e1e;
    border: 1px solid #333333;
    border-radius: 4px;
    max-height: 180px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.dropdown-list.active {
    display: block;
}

.dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    color: #b0b0b0;
}

.dropdown-item:hover {
    background-color: #2a2a2a;
    color: #ffffff;
}

.execute-btn {
    width: 100%;
    padding: 10px;
    background-color: #2d2d2d;
    color: #e0e0e0;
    border: 1px solid #444444;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.execute-btn:hover:not(:disabled) {
    background-color: #3d3d3d;
    color: #ffffff;
}

.execute-btn:disabled {
    background-color: #1a1a1a;
    color: #555555;
    border-color: #222222;
    cursor: not-allowed;
}

.response-container {
    margin-top: 20px;
}

.response-container label {
    font-size: 12px;
    color: #888888;
}

.editor-wrapper {
    background-color: #121212;
    border: 1px solid #333333;
    border-radius: 4px;
    margin-top: 6px;
    overflow: hidden;
}

.editor-header {
    background-color: #1a1a1a;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #888888;
    border-bottom: 1px solid #2a2a2a;
}

.action-btn {
    background-color: transparent;
    border: 1px solid #444444;
    color: #b0b0b0;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
    margin-left: 4px;
}

.action-btn:hover {
    background-color: #2a2a2a;
    color: #ffffff;
}

.output-box {
    padding: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #cccccc;
    white-space: pre-wrap;
    word-break: break-word;
}

.output-box.error {
    color: #ff6b6b;
    border: 1px solid #5a2222;
    background-color: #2a1515;
}

.embedded-code-box {
    display: none;
    border-top: 1px solid #333333;
}

.code-content {
    padding: 12px;
    font-family: monospace;
    font-size: 12px;
    color: #d4d4d4;
    background-color: #0a0a0a;
    white-space: pre-wrap;
    word-break: break-all;
}
