* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

:root {

    --bg: #0f172a;
    --card: rgba(255,255,255,0.08);
    --text: white;
    --button: #2563eb;

}

body.light {

    --bg: #f5f5f5;
    --card: white;
    --text: #222;
    --button: #2563eb;

}

body {

    min-height: 100vh;

    background: var(--bg);

    font-family: Segoe UI, sans-serif;

    color: var(--text);

    padding: 40px;

}

.container {

    width: 500px;

    margin: auto;

    padding: 30px;

    border-radius: 20px;

    background: var(--card);

    backdrop-filter: blur(15px);

    color: var(--text);

}

h1 {

    text-align: center;

    margin-bottom: 25px;

}

.form-group {

    margin-bottom: 20px;

}

label {

    display: block;

    margin-bottom: 8px;

}

select {

    width: 100%;

    padding: 12px;

    border: none;

    border-radius: 10px;

}

button {

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 12px;

    cursor: pointer;

    background: var(--button);

    color: white;

    font-size: 1rem;

    font-weight: bold;

    margin-top: 10px;

}

.card {

    margin-top: 25px;

    padding: 20px;

    border-radius: 12px;

    background:
        rgba(255,255,255,0.08);

}

pre {

    white-space: pre-wrap;

    word-wrap: break-word;

}

.toolbar {

    display: flex;

    justify-content: flex-end;

}

#themeToggle {

    width: 60px;

}

.back-button {

    display: inline-block;

    margin-bottom: 20px;

    text-decoration: none;

    color: white;

    background: #2563eb;

    padding: 10px 16px;

    border-radius: 10px;

}

.navbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 30px;

    padding: 20px;

    border-radius: 16px;

    background: rgba(255,255,255,0.08);

}

.logo a {

    color: white;

    text-decoration: none;

    font-size: 22px;

    font-weight: bold;

}

.nav-links {

    display: flex;

    gap: 20px;

}

.nav-links a {

    color: white;

    text-decoration: none;

    font-size: 16px;

}