/*


 */

/* Weinbox Theme */
.bg-wine { background-color: #722F37 !important; }
.text-wine { color: #722F37 !important; }
.btn-wine {
  background-color: #722F37;
  border-color: #722F37;
  color: #fff;
}
.btn-wine:hover { background-color: #5a252c; border-color: #5a252c; color: #fff; }
.btn-outline-wine {
  border-color: #722F37;
  color: #722F37;
}
.btn-outline-wine:hover { background-color: #722F37; color: #fff; }
.border-wine { border-color: #722F37 !important; }
.btn-hover-wine:hover { background-color: #722F37 !important; border-color: #722F37 !important; color: #fff !important; }

/* Navbar */
.navbar-wine { padding: 0; }
.navbar-brand-wine {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.navbar-brand-wine:hover { color: rgba(255, 255, 255, 0.85); }
.nav-link-wine {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 0.5rem 0.25rem;
}
.nav-link-wine:hover, .nav-link-wine.active {
  color: #fff;
}
.nav-dropdown-toggle {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 0.5rem 0.25rem;
  display: inline-block;
}
.nav-dropdown-toggle:hover { color: #fff; }

/* Stat cards */
.stat-number { font-size: 2rem; font-weight: 700; color: #722F37; }

/* Dropzone */
.dropzone {
  border: 2px dashed #dee2e6;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.dropzone:hover { border-color: #722F37; background: rgba(114, 47, 55, 0.03); }
.dropzone--active { border-color: #722F37; background: rgba(114, 47, 55, 0.08); }
.dropzone-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.dropzone-preview {
  max-width: 300px;
  max-height: 400px;
  border-radius: 0.375rem;
  margin: 0.5rem auto;
  display: block;
}

/* Etikette */
.etikette-thumb { width: 40px; height: 55px; object-fit: cover; border-radius: 3px; }
.dashboard-etikette {
  width: 80px; height: 107px; object-fit: cover; border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-origin: left center;
  position: relative;
  z-index: 1;
}
img.dashboard-etikette:hover {
  transform: scale(3);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}
.wine-etikette img { max-width: 250px; border-radius: 0.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }

/* Adjust buttons inline */
.adjust-buttons { display: flex; gap: 0.25rem; }
.adjust-buttons form { display: inline; }

/* Star rating */
.star-rating-star { cursor: pointer; color: #dee2e6; transition: color 0.15s; }
.star-rating-star:hover { color: #212529; }

/* Crop modal */
.crop-container { max-height: 70vh; overflow: hidden; }
.crop-container img { max-width: 100%; display: block; }

/* Wein-Zeile Spalten */
.wein-col-name      { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.wein-col-details   { width: 150px; flex: 0 0 200px; overflow-wrap: break-word; word-break: break-word; }
.wein-col-preis     { width: 100px; flex: 0 0 150px; }
.wein-col-lager     { width: 150px; flex: 0 0 150px; }
.wein-col-bewertung { width: 120px; flex: 0 0 150px; }

/* Mobile Action Bar */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #dee2e6;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  z-index: 1030;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}
.mobile-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.7rem;
  color: #6c757d;
  text-decoration: none;
  padding: 0.25rem 1rem;
}
.mobile-action-item i { font-size: 1.25rem; }

/* Utility */
.hidden { display: none !important; }
