/*
 * Theme: Luxury / Museum Editorial
 * Aesthetics: Minimalist, Ivory/Black/Gold, High Contrast, Refined Typography
 */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Jost:wght@300;400;500;600&display=swap');

body { 
  font-family: 'Jost', sans-serif !important;
  background-color: #F7F5F0 !important; /* Ivory */
  color: #1A1A1A !important;
}

h1, h2, h3, h4, .font-bold {
  font-family: 'Cinzel', serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  color: #1A1A1A !important;
}

/* Minimalist Backgrounds for Main Frontend */
.bg-white, .report-card, .list-view-item, .card-view > div {
  background-color: #FFFFFF !important;
  border: 1px solid #E6DCD3 !important;
  box-shadow: 0 15px 40px rgba(0,0,0,0.02) !important;
}
.bg-gray-50, .bg-gray-100 { background-color: #F7F5F0 !important; }

.gradient-bg {
  background: #F7F5F0 !important;
  background-image: radial-gradient(#D6CCC2 1px, transparent 1px) !important;
  background-size: 30px 30px !important;
  border-bottom: 1px solid #E6DCD3 !important;
}

.text-white, .text-white\/90 {
  color: #1A1A1A !important;
  text-shadow: none !important;
}

/* Search Header Texts */
.text-shadow {
  text-shadow: none !important;
  color: #1A1A1A !important;
}

/* Search Input */
#searchInput {
  background-color: #FFFFFF !important;
  border: 2px solid #1A1A1A !important;
  color: #1A1A1A !important;
  font-family: 'Jost', sans-serif !important;
  border-right: none !important;
  box-shadow: none !important;
}
#searchInput:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Main Buttons */
button[type="submit"], .bg-accent, .bg-primary, .file-details-container {
  background: #1A1A1A !important;
  color: #F7F5F0 !important;
  border: 2px solid #1A1A1A !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0.75rem !important; /* Sleek rounded corners */
  transition: all 0.4s ease !important;
  box-shadow: none !important;
}
button[type="submit"]:hover, .bg-accent:hover, .bg-primary:hover {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
  transform: translateY(-2px);
}

.tab-button {
  background: transparent !important;
  border: 1px solid #E6DCD3 !important;
  color: #7A746E !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px !important; /* Elegant pill shape */
  padding: 0.5rem 1.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tab-button.active {
  background: #1A1A1A !important;
  color: #F7F5F0 !important;
  border: 1px solid #1A1A1A !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}

.tab-button:hover {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
  border-color: #1A1A1A !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}

.file-details-container {
  border-left: none !important;
  background: #FAFAFA !important;
  border: 1px solid #E6DCD3 !important;
  color: #1A1A1A !important;
}

.text-primary, .text-blue-500, .text-blue-600 {
  color: #1A1A1A !important;
}

.list-view {
  background-color: #FAFAFA !important;
  border: 1px solid #D6CCC2 !important;
}

.card-hover {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.card-hover:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important;
  border-color: #1A1A1A !important;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cloud-icon { width: 20px; height: 20px; object-fit: contain; }
.cloud-title-icon .cloud-icon { width: 32px; height: 32px; }
.tab-button .cloud-icon { width: 20px; height: 20px; vertical-align: middle; }

.cloud-type-btn.cloud-type-active {
  border: 2px solid #1A1A1A !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}

.card-view { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .card-view { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-view { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Popular search tags */
#hotSearches button {
  background-color: transparent !important;
  border: 1px solid #A8A096 !important;
  color: #1A1A1A !important;
  padding: 4px 12px !important;
  text-transform: uppercase;
  font-size: 0.75rem !important;
  transition: all 0.3s ease;
}
#hotSearches button:hover {
  background-color: #1A1A1A !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
}

/* Get link Modal */
#linkModal > div {
  border: 1px solid #1A1A1A !important;
}

#modalLinkUrl, #modalPassword, #modalResourceTitle, #modalQRResourceTitle, #modalQRPassword, #transferProgressContainer > div {
  background-color: #FAFAFA !important;
  border: 1px solid #D6CCC2 !important;
  color: #1A1A1A !important;
}

.bg-gray-500 {
  background: #FAFAFA !important;
  color: #1A1A1A !important;
  border: 1px solid #1A1A1A !important;
}
.bg-gray-500:hover {
  background: #1A1A1A !important;
  color: #FFFFFF !important;
}
