#login-history,
#wip-list,
#bip-list {
  background-color: #fff;
  width: 65%;
  border: 1px solid black;
  min-width: 250px;
  max-height: 450px;
  overflow: auto;
}

#login-history p {
  margin: 0;
}

#wip-list p,
#bip-list p{
  margin: 0;
  padding-left: 10px;
  padding-bottom: 10px;
}

button[type="submit"],
input[type="submit"],
button,.close-btn {
  color: #2271b1;
  border-color: #2271b1;
  background: #f6f7f7;
  vertical-align: top;
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  line-height: 2.15384615;
  min-height: 30px;
  margin: 0;
  padding: 0 10px;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  -webkit-appearance: none;
  border-radius: 3px;
  white-space: nowrap;
  box-sizing: border-box;
}

button[type="submit"]:hover, button[type="submit"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
button,.close-btn:hover, button,.close-btn:focus {
  color: #f6f7f7;
  border-color: #2271b1;
  background: #2271b1;
}

.left-section {
  margin-right: auto;
}

.language-bt  {
  height: 29px;
  margin-right: 10px;
}

.flex-container {
  display: flex;
}

.flex-container > div {
  margin: 10px;
}

#white-list {
  margin-left: 0;
}

.history-box {
  padding-left: 10px;
  padding-bottom: 10px;
}

#from-mail,
#send-mail,
#chatwork-id,
#discord,
#slack,
#chatwork-token {
  width: 300px;
}

.popup-background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    z-index: 1001;
    width: 90%; /* Adjust popup width */
    max-width: 600px; /* Adjust maximum width of popup */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    overflow: auto; /* Enable scrolling when there is a lot of content */
    max-height: 80%; /* Set maximum height of popup */
}

.select_country {
    width: 150px;
    margin-right: 20px;
}

.mobile{
  display: none;
}

.mr1em {
  margin-right:1em;
}

.rem1 {
  font-size: 1rem !important;
}

.noweight {
  font-weight: normal;
}

@media (max-width: 600px) {
  .mb-language {
    display: flex;
    align-items: center;
  }
  .d-none {
    display: none;
  }
  .mobile {
    display: unset;
  }
  
  #block-list,
  #histories {
    margin-left: 0;
  }
  
  .flex-container {
    display: unset;
  }
  .b-space {
    line-height: 2;
    margin-bottom: 8px;
  }
  
  select,
  input#ip-address {
    width: unset !important;
  }
}
