:root {
  --ColorBG: #fefefe;
  --ColorFG: #292522;
  --ColorMG: #e2ddd9;
  --ColorMainLight: #efd9b4;
  --ColorMainMedium: #d6a692;
  --ColorMainDark: #a39081;
  --ColorAccent: #4d6160;
}

body {
  color: var(--ColorFG);
  background-color: var(--ColorBG);
}

a {
  text-decoration: none !important;
}

@keyframes clickIn {
  0% {
    transform: scale(0.96);
  }
  100% {
    tansfrom: scale(1);
  }
}

.wl-navbar {
  display: flex;
  flex-direction: row;
  background-color: var(--ColorAccent) !important;
  height: 50px;

  align-items: center;
  flex-wrap: nowrap;

  padding-left: 1rem;
}

.wl-navbar a {
  font-weight: 600;
  color: var(--ColorMainLight);
}

.wl-navbar a:hover {
  color: var(--ColorMainMedium);
}

.wl-login {
  font-size: 1.5rem;
  padding: 1rem;
  width: 400px;
  margin: auto;
  margin-top: 30vh;
  text-align: center;
}

.wl-main {
  padding: 1rem;
}

.wl-inventory {
  display: flex;
  flex-wrap: wrap;
}

.wl-inventory-item {
  display: flex;
  flex-direction: column;
  color: var(--ColorFG);
  background-color: var(--ColorMG);
  width: calc(220px + 2rem);
  height: 600px;
  padding: 1rem;
  margin: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.wl-inventory-item:hover {
  background-color: var(--ColorMainLight);
}

.wl-inventory-item-title {
  margin-top: 0.5rem;
  font-weight: 600;
}

.wl-inventory-item-description {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.wl-inventory-footer {
  display: flex;
  justify-content: space-between;
}

.wl-inventory-detail {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  max-width: 1024px;
  margin: auto;
}

.wl-image-switcher {
  diplay: flex;
  flex-direction: column;
}

.wl-tiny-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.wl-tiny-images .wl-tiny-image {
  margin: 1rem;
  cursor: pointer;
  border: 0.3rem solid var(--ColorBG);
}

.wl-tiny-images .wl-tiny-image.selected {
  border: 0.3rem solid var(--ColorMainLight);
}

.wl-full-details {
  padding: 1rem;
}

.wl-full-details-desc {
  padding: 0.5rem;
  line-height: 1.7rem;
}

.wl-full-details-label {
  font-weight: 600;
}

.wl-full-details-value.unknown-data {
  font-style: italic;
}

.wl-full-details-plus-actions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.wl-detail-actions .wl-action-button {
  margin: 0.5em;
}

.wl-action-button {
  display: flex;
  justify-content: center;
  padding: 1rem;
  min-width: 100px;
  height: 60px;
  background-color: var(--ColorMG);
  color: var(--ColorFG);
  cursor: pointer;
  border-radius: 2px;
  box-shadow: 0.4em 0.4em 1em 0.01em var(--ColorMG);
}

.wl-action-button:hover {
  background-color: var(--ColorMainLight);
}

.wl-action-button.clicked {
  animation: clickIn 0.1s;
}

.wl-action-button span {
  display: inline-flex;
  align-items: center;
}

.wl-action-button-icon {
  margin-right: 1em;
}

/* Settings page styles */
.settings-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.settings-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background-color: var(--ColorBG);
}

.settings-section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.settings-action {
  margin: 1rem 0;
}

.settings-description {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

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

.btn-secondary {
  background-color: var(--ColorAccent);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--ColorMainDark);
}
