/* General Reset & Body Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #f4f4f4;
    --text-color: #333;
    --card-bg-color: #fff;
    --border-color: #ddd;
    --header-bg-color: #2c3e50;
    --header-text-color: #ecf0f1;
    --link-color: #2980b9;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
    flex: 1;
}

header {
    background-color: var(--header-bg-color);
    color: var(--header-text-color);
    padding: 2rem;
    text-align: center;
}

header h1 {
    margin-bottom: 0.5rem;
}

header a {
    color: inherit;
    text-decoration: none;
}

.test-case {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.test-case h2 {
    margin-top: 0;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.scenario-list li {
    background: var(--card-bg-color);
    padding: 1rem;
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    border-radius: 5px;
}

.scenario-list a {
    text-decoration: none;
    color: var(--link-color);
    font-weight: bold;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group select, .form-group button {
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
}

#event-log {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #2d3436;
    color: #dfe6e9;
    border-radius: 5px;
    height: 200px;
    overflow-y: scroll;
    font-family: monospace;
}

.drag-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

#draggable {
    width: 100px;
    height: 100px;
    background-color: #e74c3c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

#droppable {
    width: 200px;
    height: 100px;
    border: 2px dashed #95a5a6;
    display: flex;
    align-items: center;
    justify-content: center;
}

#droppable.dropped {
    background-color: #2ecc71;
    color: white;
}

.hover-box {
    padding: 1rem;
    background-color: #3498db;
    color: white;
    text-align: center;
}
