:root {
    --primary-color: #00ff41;
    --background-color: #121212;
    --text-color: #e0e0e0;
    --dark-grey: #1e1e1e;
    --medium-grey: #2a2a2a;
    --light-grey: #3a3a3a;
}

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

body {
    font-family: 'Roboto Mono', monospace;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
    background-color: var(--dark-grey);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    text-align: center;
}

header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

header p {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

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

input[type="text"],
select {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--medium-grey);
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    color: var(--text-color);
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
}

input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--light-grey);
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid var(--background-color);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid var(--background-color);
}


button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

button[type="submit"]:hover {
    background-color: var(--text-color);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

button[type="submit"]:disabled {
    background-color: var(--light-grey);
    color: var(--medium-grey);
    cursor: not-allowed;
}

.hidden {
    display: none;
}

#console-container {
    margin-top: 2rem;
    background-color: #000;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    padding: 1rem;
    text-align: left;
    height: 200px;
    overflow-y: auto;
}

#console-output p {
    margin-bottom: 0.5em;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-break: break-all;
    color: var(--primary-color);
}

#console-output p .success {
    color: #28a745;
}

#console-output p .error {
    color: #dc3545;
}


.progress-bar-container {
    width: 100%;
    background-color: var(--light-grey);
    border-radius: 4px;
    margin-top: 1rem;
    overflow: hidden;
}

#progress-bar {
    width: 0;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
}

#result {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--medium-grey);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
}

#result h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

footer {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--light-grey);
}

