<style>
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --nav-color: #f0f0f0;
    --highlight: #ff3e3e;
}

body.dark-mode {
    --bg-color: #1e1e1e;
    --text-color: #ffffff;
    --nav-color: #2c2c2c;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: background-color 0.3s, color 0.3s;
}

.login-container, .success-container {
    background-color: var(--nav-color);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.logo-section {
    margin-bottom: 30px;
}

.logo {
    width: 80px;
    height: 80px;
    background-color: var(--highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
}

h2 {
    color: var(--highlight);
    margin: 0 0 10px;
    font-size: 28px;
}

.tagline {
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 30px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 2px solid #ccc;
    border-radius: 30px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    background-color: white;
    transition: border-color 0.3s;
}

body.dark-mode input[type="text"],
body.dark-mode input[type="password"] {
    background-color: #3a3a3a;
    color: white;
    border-color: #555;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: var(--highlight);
}

input[type="submit"] {
    background-color: var(--highlight);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #d63031;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

body.dark-mode .error-message {
    background-color: #5a1e1e;
    color: #f8d7da;
    border-color: #721c24;
}

.dark-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-btn {
    cursor: pointer;
    padding: 5px 10px;
    background: var(--highlight);
    color: white;
    border: none;
    border-radius: 15px;
    transition: background 0.3s;
    font-size: 14px;
}

.toggle-btn:hover {
    background: #d63031;
}

.restaurant-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    opacity: 0.5;
}

.restaurant-icons span {
    font-size: 24px;
}

.success-message {
    color: var(--text-color);
    margin: 20px 0;
}

.redirect-text {
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 20px;
}
</style>
</head>
<body>
<div class="dark-toggle">
<span>🌙</span>
<button class="toggle-btn" onclick="toggleMode()">Toggle Mode</button>
</div>