.title.is-4 {
  font-weight: 400;
}

.diary-year {
  margin-top: 1rem;
}
.diary-month-name {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}
.diary-month-table {
  font-size: 0.75rem;
  width: 100%;
}
.diary-month-table th,
.diary-month-table td {
  padding: 2px 3px !important;
  text-align: center;
  min-width: 1.6rem;
}
.diary-month-table thead th {
  font-size: 0.7rem;
}
.diary-empty {
  background: transparent;
}
.diary-today {
  background-color: #1976d2 !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 3px;
}
.diary-today a {
  color: #fff !important;
}
.diary-has-entry {
  background-color: #ebfffc;
}
.diary-has-entry-this-year {
  background-color: #ffd54f !important;
  border-radius: 3px;
  font-weight: 700;
}
.diary-has-entry-this-year a {
  color: #6d4c00 !important;
}
.diary-day-entry {
  margin-bottom: 1.5rem;
}
.diary-entry-image {
  max-width: 300px;
  max-height: 300px;
  object-fit: contain;
}

.notification a:not(.button):not(.dropdown-item).kdd-iconlink {
  text-decoration: none;
}
.notification a:not(.button):not(.dropdown-item):hover {
  color: #3273dc
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
} 

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 1rem;
}

.album-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f0f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.album-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}

.album-img:hover {
  opacity: 0.88;
}

.album-caption {
  padding: 4px 8px 6px;
  font-size: 0.82rem;
  line-height: 1.3;
}

.album-date {
  display: block;
  font-size: 0.75rem;
  color: #888;
}

.album-edit-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 4px;
  padding: 3px 6px;
  color: #555;
  opacity: 0;
  transition: opacity 0.18s;
  line-height: 1;
}

.album-item:hover .album-edit-btn {
  opacity: 1;
}

.album-edit-btn:hover {
  background: #fff;
  color: #3273dc;
}

.fullwidth {
  width: 100%;
}
.bigimage {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  z-index: 41;
}

.is-disabled {
  cursor: not-allowed;
}

.is-opaque {
  opacity: 0.4;
}

.is-danger {
  color: rgb(155, 0, 0);
}

.icon-is-active {
  color: rgb(155, 0, 0);
}
