:root {
    --bg-color: #0f1115;
    --card-bg: #181b21;
    --primary: #3b82f6; /* Blue */
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --text-main: #ffffff;
    --text-secondary: #9ca3af;
    --border-color: #2d333b;
    --input-bg: #22262e;
    --success: #10b981;
    --radius: 16px;
    --font-family: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    min-height: 100vh;
    padding: 24px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    color: var(--text-secondary);
    font-size: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 4px;
}

/* Inputs & Selects */
input[type="number"], select {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    color: var(--text-main);
    font-size: 16px;
    font-family: var(--font-family);
    transition: all 0.2s ease;
    outline: none;
}

input[type="number"]:focus, select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 12px;
    pointer-events: none;
}

select {
    appearance: none;
}

/* Toggle Switch */
.toggle-container {
    background: var(--input-bg);
    padding: 4px;
    border-radius: var(--radius);
    display: flex;
    position: relative;
    border: 1px solid var(--border-color);
}

.toggle-container input {
    display: none;
}

.toggle-btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    z-index: 1;
}

input:checked + .toggle-btn {
    background: var(--card-bg); /* Slightly lighter than input for contrast */
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Double Input */
.input-row {
    display: flex;
    gap: 12px;
}

/* Chips */
.chips-container {
    display: flex;
    gap: 10px;
}

.chip {
    flex: 1;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.chip.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.spacer {
    height: 100px; /* Space for MainButton */
}
