.login-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  font-family: Arial, sans-serif;
}

.login-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #ccc;
  width: 320px;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.login-close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
}

.login-close:hover {
  color: #000;
}

.login-input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-button {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.login-button:hover {
  background-color: #0056b3;
}

.login-container {
  position: fixed;
  top: 8px;
  left: 55px;
  z-index: 2000;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-button-wrapper {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-button {
  width: 40px;
  height: 40px;
  background-color: #f0f0f0 !important;
  border: none;
  padding: 0;
  margin: 0;
  line-height: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #999 !important;
  transition: background-color 0.2s ease;
}

.icon-button:hover {
  background-color: #e0e0e0 !important;
}

.icon-button svg {
  width: 24px;
  height: 24px;
}

.logout-form {
  display: inline;
}

@media (max-width: 480px) {
  .login-modal-content {
    width: 90%;
    margin: 20% auto;
    padding: 16px;
  }

  .login-input,
  .login-button {
    font-size: 16px;
    padding: 12px;
  }

  .login-close {
    font-size: 28px;
  }

  .login-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    left: 55px;
    top: 8px;
  }
