@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 ============================= */
/* =============================================================== */
/* #region */

  .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;
  }
/* #endregion SIDEBAR */

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


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

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

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


.mv-h {
    top:0;
    position:relative;
    margin:0px;
    padding:0px;
    display: flex;
    justify-content: space-between;
    background: rgb(255, 255, 255);
    padding: 15px 30px;
    align-self: center;
}

.separator {
    border-right: 1px solid #ccc; /* Cria a linha cinza */
    height: 20px; /* Define a altura da linha */
}

#mv-headercontainer2 {
    display: flex;
    gap:12px;
    align-items: center;
}

#searchBar, #searchBar:focus {
    height: 6vh;
    width: 400px;
    padding: 20px;
    border-color: transparent;   
    border-radius: 10px;
    outline: none;
    background-color: #f0f0f0c9;
    color:#b6b5b5;
}

#userlogo {
    width: 50px;
}

#titleventas {
    font-family: 'poppins', sans-serif;
    background-color: #f5f6f6   ;
    padding-top: 15px;
    padding-left: 25px;
    padding-bottom: 15px;;
    font: bold 16pt;
}
.bxs-down-arrow {
    margin-left:5px;
    color: rgb(63, 63, 63);
    box-shadow: 0.5px 0.5px 1px #3f3f3f;
    border-radius: 2px;
    border: 1px solid;
    font-size: 6px;
    padding: 4px;
    background: linear-gradient(150deg, #c3dfff,#ffffff) !important;
}

#tableheader1 td {
  font-family: 'Verdana', sans-serif;
  font-size: 12px;
  text-align: left;
  font-weight: bold;
  color: #2b2b2b !important;
}


tr td{
    text-align: left;
    font-family: poppins;
    border-color: #dbdeff !important; 
    color:#1a1a1a !important;
}


                /* Condicional de situação */
                .donation {
                    display:inline-table;
                    min-width: 100px;
                    text-align: center;
                    color: #E07706;
                    background: #fef3c7b2;
                    padding-top: 6px;
                    padding-bottom: 6px;
                    border-radius: 20px;
                }

                .paid {
                    display:inline-table;
                    min-width: 100px;
                    text-align: center;
                    color: #059691;
                    background: #D1FAE580;  
                    padding: 4px;
                    border-radius: 20px;
                }

                .receivable {
                    display:inline-table;
                    min-width: 100px;      
                    text-align: center;               
                    color: #E11D48;
                    background: #FFE4E680;  
                    padding: 4px;
                    border-radius: 20px;
                    
                }

                .donation, .paid, .receivable {}
                    

                /* fim */


