body {
  background-color: #f7f7f7;
  font-family: Arial, sans-serif;
}

.logo-container {
  margin-top: 0px;
}

.logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  margin: 8px auto;
  display: block;
}

.scan-counter {
  background-color: #f1f1f1;
  border-radius: 12px;
  margin: 20px auto;
  padding: 15px;
  width: 90%;
  max-width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scan-counter p {
  font-size: 14px;
  margin: 0;
}

#scanCount {
  font-size: 32px;
  font-weight: bold;
  color: #000;
  margin-top: 5px;
}

.logout-btn {
  background-color: black;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  font-weight: bold;
  font-size: 15px;
  width: 100%;
  cursor: pointer;
}

.container {
  max-width: 400px;
  margin: 80px auto;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 12px;
  margin: 10px auto;
  display: block;
}

.scans-box {
  background: #0CC1E0;
  color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px #ddd;
  margin-bottom: 20px;
}


.big-number {
  font-size: 40px;
  font-weight: bold;
}

.qr-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.qr-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
  word-break: break-word;
}

.qr-item a {
  color: #0077cc;
  word-break: break-all;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
  text-decoration: underline;
}

.update-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.update-form input[type="text"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 14px;
}

.update-form button {
  background-color: #00c4f0;
  border: none;
  padding: 12px;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.last-scan {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
}

.total-scans-box {
  background-color: #0CC1E0;
  border-radius: 10px;
  padding: 8px;
  max-width: 200px;
  margin: 10px auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: white;
  text-align: center;
}

.total-scans-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.total-scans-number {
  font-size: 48px;
  font-weight: bold;
  letter-spacing: 1px;
}

.change-password-box {
  max-width: 300px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 12px;
  background-color: #f8f8f8;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.change-password-box h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.change-password-box input {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.change-password-box button {
  background-color: black;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.login-container {
  max-width: 350px;
  margin: 80px auto;
  padding: 30px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.login-logo {
  width: 100px;
  margin-bottom: 10px;
}

.login-container h2 {
  margin-bottom: 25px;
  font-size: 22px;
  color: #222;
}

.login-form input {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.login-form button {
  width: 100%;
  padding: 12px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

.error-message {
  margin-top: 10px;
  color: red;
  font-size: 14px;
}

.container input,
.container button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  box-sizing: border-box;
}

.container button {
  background-color: #00c8f8;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.container button:hover {
  background-color: #00aad4;
}

.logout-btn {
  background-color: black !important;
  color: white !important;
}


.back-link {
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: none;
  color: #00c8f8;
  font-size: 14px;
}

.back-link:hover {
  text-decoration: underline;
}

.message {
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}
@media (max-width: 480px) {
  .qr-item {
    padding: 16px;
  }

  .update-form button {
    font-size: 13px;
    padding: 10px;
  }

  .update-form input[type="text"] {
    font-size: 13px;
    padding: 10px;
  }
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
  box-sizing: border-box;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #999;
  user-select: none;
}

.scan-toggle-btn {
  background-color: #00c4f0 !important;
  border: none !important;
  padding: 10px !important;
  color: white !important;
  font-weight: bold !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-size: 12px !important;
  width: 80% !important;
  margin-top: 8px !important;
}

.btn-action-btn {
  background-color: #00c4f0 !important;
  border: none !important;
  padding: 14px !important;
  color: white !important;
  font-weight: bold !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-size: 18px !important;
  width: 100% !important;
  margin-top: 8px !important;
}