/**
 * Desa Tangguh Theme - Custom CSS
 * Additional styling for unique layout
 */

/* Sidebar Menu Mobile Toggle */
@media (max-width: 1023px) {
  aside {
    order: -1;
    width: 100% !important;
  }
}

/* Loading Screen */
.loading-screen {
  background: linear-gradient(135deg, #166534, #15803d) !important;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background: #166534;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #14532d;
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease;
}

/* Card Hover Effects */
.bg-white.rounded-lg.shadow {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white.rounded-lg.shadow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Green Theme Variables */
:root {
  --primary: #166534;
  --primary-dark: #14532d;
  --primary-light: #22c55e;
  --accent: #fbbf24;
}