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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #121212; /* Dark mode background */
    color: #e0e0e0; /* Dark mode text color */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Layout */
.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

header {
    margin-bottom: 20px;
}

header h1 {
    font-size: 2rem;
    text-align: center;
}

/* Form */
.form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input, button {
    padding: 10px;
    margin: 10px;
    font-size: 1rem;
    border-radius: 5px;
    width: 80%;
    max-width: 400px;
    border: 1px solid #444; 
}

input {
    background-color: #1e1e1e; 
    color: #e0e0e0; 
}

button {
    background-color: #007acc; 
    color: #fff; 
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #005fa3; 
}

/* Result */
.result {
    margin-top: 20px;
    padding: 20px;
    background-color: #1e1e1e; 
    border: 1px solid #444; 
    border-radius: 5px;
    display: none;
}

.result pre {
    text-align: left;
    overflow-x: auto;
    color: #e0e0e0; 
}

/* Footer */
footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #b3b3b3;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }

    input, button {
        font-size: 0.9rem;
        width: 100%;
    }
}


