@import "bulma.min.css";

html,
body {
  height: 100%;
  margin: 0;
}

body {
  margin: 0;
  background: white url(../img/bg.svg) repeat;
  color: rgb(70, 70, 70);
  line-height: 1;
}

.navbar-item .checkbox, .navbar-item .button{
  font-size: 12px;
}

.login-container {
  display: grid;
  place-items: center;
  height: 100vh;
}

.login-box h2 {
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.login-form {
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px;
}

.login-form .field {
  width: 100%;
}

.login-form .button {
  margin-top: 24px;
}

input:autofill,
input:autofill:hover,
input:autofill:focus {
  box-shadow: 0px 60px 60px inset white;
}

pre {
  margin-top: 24px;
  border-radius: 8px;
  padding: 16px;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

h3 {
  font-weight: bold;
  margin-bottom: 8px;
}

h4 {
  font-weight: 500;
  margin-top: 20px;
  color: #858585;
}

.mem-container {
  margin-top: 24px !important;
}

.form-container {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.form-container button {
  margin-left: 16px
}

.memory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 8px;
}

.memory-header span {
  color: #666;
  font-size: 14px;
}

.memory-content pre {
  max-height: 200px;
}

#uploadStatus:empty {
  display: none;
}

#totalDocs {
  background: #e3f2fd;
  padding: 4px 8px;
  border-radius: 4px;
  color: #1976d2;
}

details summary:hover {
  color: #0056b3;
}

details pre {
  font-size: 11px;
  line-height: 1.4;
}

.logout-section {
  text-align: center;
  margin-top: 20px;
  padding: 20px;
}

.logout-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.tabs {
  margin-top: 24px;
}

.tabs ul {
  overflow-y: hidden;
  overflow-x: auto;
}

.tab-content {
  display: none;
}

.tab-content.show {
  display: block !important;
}

.logout-btn:hover {
  background-color: #c82333;
}

.logout-btn:active {
  background-color: #bd2130;
}

.question-buttons,
.custom-question-form {
  background-color: #fff;
  padding: 16px;
  display: flex;
  gap: 10px;
  margin: 15px 0;
  align-items: center;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  background: url('../img/loading.svg') no-repeat center;
  background-size: auto;
  background-size: 120px;
}

@media (max-width: 768px) {}

@media (max-width: 480px) {
  .navbar-burger {
    color: white;
  }

  .login-form {
    width: 100%;
  }

  .tabs-content {
    padding: 0 16px;
  }

  .form-container,
  .question-buttons,
  .custom-question-form {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .form-container button {
    margin: 16px 0 0 0 !important;
  }
}