/* style.css */

body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 350px;
}

.section {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.qr-container {
    text-align: center;
    margin-top: 20px;
}

.qr-code {
    max-width: 200px;
    margin: 10px auto;
}

.result {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}

#show-register,
#show-login,
#logout-button {
  background-color: #e9ecef;
  color: #495057;
}

#show-register:hover,
#show-login:hover,
#logout-button:hover {
  background-color: #dee2e6;
}

#login-section,
#register-section{
    text-align: center;
}
#login-section h1,
#register-section h1{
  margin-bottom: 20px;
}
