/* Copyright (c) 2025 WWNDT LLC. */

:root {
  font-size: 13px;

  /* --primary-color: #14a3c7; */
  --primary-color: #46B0CB;
  --accent-color: #f093fb;
  --text-color: #363636;
  --background-color: #f8f9fa;

  --secondary-color: var(--primary-color);

  --bulma-info-h: 208deg;
  --bulma-info-s: 80%;
  --bulma-info-l: 77%;

  --bulma-success-h: 160deg;
  --bulma-success-s: 45%;
  --bulma-success-l: 60%;

  --bulma-warning-h: 40deg;
  --bulma-warning-s: 97%;
  --bulma-warning-l: 70%;

  --bulma-danger-h: 1deg;
  --bulma-danger-s: 80%;
  --bulma-danger-l: 70%;

  --bulma-link-h: 230deg;
  --bulma-link-s: 80%;
  --bulma-link-l: 68%;
}

.pagination-link.is-current {
  background-color: var(--primary-color);
}

.hero.is-primary {
  background: var(--primary-color);
}

.card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button.is-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border: none;
  transition: all 0.3s ease;
}

.button.is-primary:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-1px);
}

.notification.is-info {
  background: linear-gradient(135deg, #3298dc 0%, #2196f3 100%);
}

.main-content {
  min-height: calc(100vh - 140px);
}

.footer {
  background-color: var(--background-color);
  border-top: 1px solid #e8e8e8;
}

.input:focus,
.textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.125em rgba(102, 126, 234, 0.25);
}

.loading {
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-body {
    padding: 1.5rem;
  }

  .title.is-1 {
    font-size: 2rem;
  }

  .subtitle.is-3 {
    font-size: 1.25rem;
  }
}
.menu-list a {
  font-weight: bold;
}
.nowrap {
  white-space: nowrap;
}

.navbar-brand .title {
  color: #363636;
  font-weight: bold;
}
.main-content {
  min-height: calc(100vh - 200px);
}
.footer {
  background-color: #f5f5f5;
  padding: 2rem 0;
  margin-top: auto;
}
.card {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.help {
  font-size: 0.9rem;
}
.file-thumbnail {
  width: 48px;
  height: 48px;
  margin-right: 1rem;
  border-radius: 4px;
  object-fit: cover;
  background-image: url('/static/rectangle-48.png');
  background-color: #f5f5f5;
  border: 1px solid #ccc;
}
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 800px;
  pointer-events: none;
}
.notification-container .notification {
  pointer-events: auto;
  margin-bottom: 10px;
  padding-right: 35px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.notification-container .notification .delete {
  top: 10px;
  right: 10px;
}
