@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
}

:root {
  --black: black;
  --white: white;
  --gray: rgba(128, 128, 128, 0.625);
  --section: white;
}

body.dark {
  --black: white;
  --white: black;
  --section: #252525;
}
body.home-active .right-sidebar {
    display: none !important;
}

#main-container {
  display: flex;
  position: relative;
}

section {
  flex: 1;
  min-height: 100vh;
  background-color: var(--section);
}

/* Increase Navbar Height */
.navbar {
    height: 80px !important; /* Adjust height as needed */
    display: flex;
    align-items: center; /* Keep items vertically centered */
    padding: 10px 20px; /* Adjust padding if needed */
}

.navbar-nav .btn {
    font-size: 18px !important; /* Adjust the font size as needed */
    font-weight: bold; /* Optional: Make the text bold */
    padding: 10px 15px; /* Optional: Adjust button padding */
}
 
/* 🌟 Left Sidebar */
.sidebar {
  width: 250px;
  height: 620px;
  overflow: hidden !important; /* Kaydırma çubuğunu tamamen kaldır */
  white-space: nowrap; /* Metinlerin taşmasını önle */
  background: rgba(0, 0, 0, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  overflow-y: auto;
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 1000;
  backdrop-filter: blur(10px);
  padding: 35px 10px 10px 10px;
  border-radius: 20px;
  transition: width 0.3s ease-in-out;
}

.sidebar.shrink_sidebar {
  width: 55px;
  overflow: hidden;
}

.sidebar.shrink_sidebar ul {
  padding-left: 0;
}

.sidebar.shrink_sidebar ul li a span {
  display: none;
}

/* 🌟 Hide Submenu Icons When Sidebar is Collapsed */
.sidebar.shrink_sidebar .submenu {
  display: none !important; /* ❌ Hide submenus completely */
}

.sidebar.shrink_sidebar .sidebar-navlink > li > a i {
  display: inline-block; /* ✅ Keep main menu icons visible */
}

.sidebar.shrink_sidebar .submenu li i {
  display: none !important; /* ❌ Hide submenu icons */
}

/* 🌟 Collapse Button for Left Sidebar */
.colleps-btn {
  position: absolute;
  top: 10px;
  left: 10px; /* Adjusted for right sidebar */
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  color: black;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, background-color 0.3s;
}

.colleps-btn:hover {
  background-color: rgba(255, 255, 255, 1);
}

.sidebar.shrink_sidebar .colleps-btn {
  transform: rotate(180deg);
  right: 30px; /* Ensure it remains inside */
}

body.home-active #mysidebar {
  display: none !important;
}

//* 🌟 Hide Right Sidebar in Home */
body.home-active .right-sidebar {
    display: none !important;
}

/* 🌟 Right Sidebar - Same Style as Left Sidebar */
.right-sidebar {
  width: 280px;
  height: 800px;
  background: rgba(17, 40, 62, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  overflow-y: auto;
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 1000;
  backdrop-filter: blur(10px);
  padding: 30px 10px 10px 10px;
  border-radius: 20px;
  transition: width 0.3s ease-in-out;
  color: var(--white); /* ✅ Change text color */
}

.right-sidebar.collapse * {
    visibility: hidden;
    opacity: 0;
}

.right-sidebar.collapse {
    width: 55px;
    overflow: hidden;
}

.right-sidebar.collapse .colleps-btn-right {
    visibility: visible;
    opacity: 1;
}

/* 🌟 Hide Submenu Icons When Right Sidebar is Collapsed */
.right-sidebar.collapse .submenu {
  display: none !important; /* ❌ Hide submenus completely */
}

.right-sidebar.collapse .sidebar-navlink > li > a i {
  display: inline-block; /* ✅ Keep main menu icons visible */
}

.right-sidebar.collapse .submenu li i {
  display: none !important; /* ❌ Hide submenu icons */
}

/* 🌟 Collapse Button for Right Sidebar */
.colleps-btn-right {
  position: absolute;
  top: 10px;
  left: 10px; /* Adjusted for right sidebar */
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  color: black;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, background-color 0.3s;
}

.colleps-btn-right:hover {
  background-color: rgba(255, 255, 255, 1);
}

.right-sidebar.collapse .colleps-btn-right {
  transform: rotate(180deg);
}

/* 🌟 Menu Items */
.sidebar-navlink {
  list-style-type: none;
  padding: 0;
  margin-top: 15px;
}

.sidebar-navlink > li {
  margin-bottom: 6px !important;
  padding: 5px 6px !important;
  display: flex;
  align-items: center;
}

.sidebar-navlink li i {
  margin-right: 6px;
}

.Select-control {
  background-color: white !important; /* Background color */
  color: gray !important; /* Text color */
}

.VirtualizedSelectOption {
  color: gray !important;
  background-color: white !important;
}

.VirtualizedSelectFocusedOption {
  background-color: gray !important;
  color: white !important;
}

/* 🌟 General List Styles */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li {
  margin: 0;
  padding: 0;
}

ul li a {
  padding: 8px 12px;
  color: var(--white);
  font-size: 16px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none; /* Removes underline */
}

ul li a span {
  margin-left: 5px;
}

/* 🌟 Submenus */
.submenu {
  display: none;
  padding-left: 20px !important;
  margin: 0;
}

.submenu li {
  padding: 0 !important;
  margin: 0 !important;
}

.menu-item.active + .submenu {
  display: block;
}

.submenu li a {
  padding: 6px 10px !important;
  text-decoration: none; /* Ensures submenu links also have no underline */
}

/* 🌟 When Right Sidebar is Collapsed */
.right-sidebar.collapse .submenu {
  display: block;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.image-slide {
  animation: slideIn 1.5s ease-out;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.image-zoom {
  animation: zoomIn 1.2s ease-in-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.image-slide-down {
  animation: slideDown 1.5s ease-out;
}


@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.fade-in {
  animation: fadeIn 1.5s ease-in-out;
}

.bounce-arrow {
  animation: bounce 1s infinite;
  font-size: 100px;
  color: #3498db;
  text-align: center;
  margin-top: 10px;
}

