@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --sb-bg: #020812;
  --sb-color: #e0e0e0;
  --sb-accent: #695CFE;
  --sb-hover: #1b263b;
  --sb-tag-hot: #c77dff;
  --sb-tag-beta: #00c851;
  --sb-toggle: #8579eb;
}

body {
/*  display: flex;*/
  margin: 0;
  background-color: #f5f6fa;
  font-family: "Inter", sans-serif;
}

/* =============================================================== */
/* ========================= SIDEBAR ============================= */
/* =============================================================== */


.sb-sidebar {
  top: 0;
  left:0;
  z-index: 111;
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  font-weight: 100;
  font-size: 12px;
  width: 250px;
  height: 100vh;
  background: var(--sb-bg);
  color: var(--sb-color);
  transition: width 0.3s ease;
  position: fixed;
  border-right: 1px solid #ffffff20;
}

/* --- Header / Logo --- */
.sb-header {
  display: flex;
  align-items: center;
  /*justify-content: space-between;*/
  padding: 20px;
}

.sb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb-logo-icon {
  font-weight: bold;
  font-size: 20px;
  border-radius: 20%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-logo-text {
  line-height: 20px;;
  font-size: 16px;
  font-weight: 600;
}

.sb-toggle {
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position:absolute;
  top:30px;
  right:-10px;
  z-index:1001;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 100%;
  background: var(--sb-toggle);
  color: var(--sb-color);
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.sb-sidebar.sb-collapsed .sb-toggle {
  transform: rotate(180deg);
}

/* --- Section Titles --- */
.sb-section {
  padding-left: 15px;
  overflow: hidden;
  padding-bottom: 0;
}

.sb-section-title {
  display: block;
  font-size: 12px;
  color: #8a8a8a;
  padding: 0 20px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Menu --- */
.sb-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sb-menu li {
  margin-bottom: 5px;
}
/* animação dos icones */
@keyframes swing {
  20% { transform: rotate(20deg); }
  40% { transform: rotate(-15deg); }
  60% { transform: rotate(10deg); }
  80% { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

.sb-menu a:hover .sb-icon {
  animation: 0.5s ease-in-out 0s 1 alternate none running swing;
}
/* fim da animação */


.sb-menu a {
  display: flex;
  align-items: center;
  color: var(--sb-color);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.sb-menu a:hover {
  background: var(--sb-hover);
}

.sb-icon {
  font-size: 15px;
  margin-right: 10px;
}

/* --- Footer --- */
.sb-footer {
  transition-duration: 0.3s;
  align-items:center;
  height:100px;
  width:150px;
  align-self: center;
  margin-top: auto;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--sb-hover);
  text-align: center;
  padding: 10px;
  font-size: 10px;
}

.sb-llama-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.llama-icon-medium {
  display: flex;
  flex-direction: column;
  height: 60px;
  width:40px;
}

.sb-footer-txt {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  text-align: left;
  font-size: 16px;
  line-height: 19px;
}


/* --- Colapso --- */
.sb-sidebar.sb-collapsed {
  width: 88px;
}

.sb-sidebar.sb-collapsed .sb-logo-text,
.sb-sidebar.sb-collapsed .sb-text,
.sb-sidebar.sb-collapsed .sb-section-title,
.sb-sidebar.sb-collapsed .sb-tag,
.sb-sidebar.sb-collapsed .sb-footer p {
  display: none;
}

.sb-sidebar.sb-collapsed .sb-footer {
  height: 60px;
  width: 40px;

}

.sb-sidebar.sb-collapsed .sb-menu a {
  justify-content: center;
}

/* =============================================================== */
/* =========================    MAIN  VENTAS   =================== */
/* =============================================================== */



#mf {
  top:0px;
  position:static;
  height: 100vh;
  margin-left: 250px !important;
  transition: margin-left 0.3s ease;
  /*background: #020914;*/
}

.sb-sidebar.sb-collapsed ~ #mf {
  margin-left: 88px;
  transition: margin-left 0.3s ease;
}

.mf-s1 {
  padding: 20px;
  display:flex;
  flex-direction: column;
}
