:root {
    --main-shadow: 0 0 10px #ddd;
    --background-section: #f6f6f6;
    --header-section: #eee;
    --main-color-p: #888;
    --main-color: #0075ff;
    --main-font-size: 25px;
    --color-border-2: #f59e0b;
    --color-border-3: #22c55e;
    --color-border-4: red;
  }
  
  
  /* End Variable */
  
  /* Start body */
  
  body {
    font-family: "Open Sans", sans-serif;
  }
  
  * {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    color: #000;
  }
  
  
  
  /* Start Page */
  
  .page {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
  }
  
  /* End Page */
  
  /* Start Aside */
  
  .aside {
    width: 250px;
    background-color: #fff;
    box-shadow: var(--main-shadow);
    z-index: 10;
  }
  
  @media (max-width: 778px) {
    .aside {
      width: 75px;
    }
  }
  
  .aside .logo {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
  }
  
  
  .aside .logo::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: black;
    bottom: -10px;
    border: 5px solid white;
  }
  
  .aside .logo::after {
    content: "";
    position: absolute;
    width: 45%;
    height: 2px;
    background-color: black;
    bottom: 0;
  }
  
  
  @media (max-width: 778px) {
    .aside .logo {
      font-size: 15px;
      margin-bottom: 10px;
    }
  
    .aside .logo::before {
      display: none;
    }
  
    .aside .logo::after {
      display: none;
    }
  }
  
  
  .aside .links {
    display: flex;
    justify-content: flex-start;
    align-content: center;
    width: 100%;
    margin-left: 25px;
    margin-top: 30px;
  }
  
  
  
  
  .aside .links ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .aside .links ul li {
    word-spacing: 10px;
    transition: 0.3 linear;
    -webkit-transition: 0.3 linear;
    -moz-transition: 0.3 linear;
    -ms-transition: 0.3 linear;
    -o-transition: 0.3 linear;
    width: 100%;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    width: 100%;
    height: 30px;
    padding: 5px 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 10px;
  }
  
  .aside .links ul li:hover {
    background-color: var(--background-section);
  }
  
  
  .aside .links ul li.active {
    background-color: var(--background-section);
  }
  
  
  
  @media (max-width: 778px) {
    .aside .links {
      margin: 0;
    }
  
    .aside .links ul li {
      display: flex;
      justify-content: center;
      align-content: center;
      width: 100%;
      padding: 5px 3px;
    }
  
    .aside .links ul li a span {
      display: none;
    }
  }
  
  /* End Aside */
  
  /* Start main */
  
  .main {
    flex: 1;
    background-color: #f1f5f9;
    padding-bottom: 30vh;
    max-width: 83%;
  }
  
  @media (max-width:991px) {
    .main {
      padding-bottom: 25vh;
    }
  }
  
  /* Start head */
  
  .main .head {
    width: 100%;
    height: 75px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .main .head .search {
    position: relative;
    width: 175px;
    height: 100%;
    padding-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
  }
  
  
  .main .head .search input {
    width: 100%;
    height: 50%;
    border-radius: 10px;
    outline: none;
    border: 1px solid var(--main-color-p);
    font-size: 14px;
    padding: 0px 25px;
    caret-color: black;
    caret: 1px solid black;
  }
  
  .main .head .search::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    left: 25px;
    color: var(--main-color-p);
  }
  
  
  .main .head .search:focus-within {
    width: 200px;
  }
  
  .main .head .user {
    width: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    position: relative;
  }
  
  .main .head .user i {
    margin-right: 10px;
    font-size: 20px;
  }
  
  .main .head .user::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--color-border-4);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    z-index: 2;
    left: 20%;
    top: 20%;
  }
  
  
  .main .head .user img {
    width: 40px;
  }
  
  /* End head */
  
  /* Start Title */
  
  .main .title {
    width: 200px;
    height: 75px;
    padding-left: 20px;
    margin-bottom: 0;
    margin-top: 10px;
  }
  
  .main .title span {
    background-color: white;
    height: 4px;
    width: 60%;
    display: flex;
    position: relative;
    margin-top: 5px;
  }
  
  .main .title span::before {
    content: "";
    position: absolute;
    width: 40%;
    height: 100%;
    background-color: black;
    top: 0;
    left: 0;
  }
  
  
  /* End Title */
  
  /* Start container */
  
  .main .container {
    width: 95%;
    min-height: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 20px;
  }


  /* Start Component */

.section {
    position: relative;
    background-color: white;
    width: 95%;
    margin-top: 20px;
    padding-top: 10px;
    box-shadow: var(--main-shadow);
    border-radius: 10px;  
}
  
@media (max-width: 450px) {
    .section {
        width: 65%;
    }
}

  .head-section {
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
  } 
  
  .head-section h3 {
    padding-bottom: 10px;
  }
  
  .head-section span {
    color: var(--main-color-p);
    font-size: 15px;
  }
  
  
  .top-title {
    width: 95%;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
  }
  
  .top-title h3 {
    font-size: var(--main-font-size);
  }
  
  .top-title span {
    font-size: 15px;
    margin-top: 5px;
    color: var(--main-color-p);
  }
  
  .container-section {
    width: calc(100% - 40px);
    margin: 10px auto;
  }
  
  .title-fields {
    width: 95%;
    margin: auto;
  }
  
  /* Start Button Toggle-Checckbox */
  
  .field-controle {
    width: 20%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .field-controle  .custom-toggle::before {
    content: "\f00c";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    margin-right: 6px;
    background-color: white;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--main-color);
    position: absolute;
    left: 65%;  
    top: 5px;
    cursor: pointer;
    transition: left 0.3s linear;
    -webkit-transition: left 0.3s linear;
    -moz-transition: left 0.3s linear;
    -ms-transition: left 0.3s linear;
    -o-transition: left 0.3s linear;
  }
  
  .field-controle .toggle-checkbox {
    position: absolute;
    margin-right: 10px;
    border-color: transparent;
    opacity: 0;
    height: 16px;
    width: 16px;
    z-index: 5;
    cursor: pointer;
  }
  
  .field-controle .custom-toggle{
    width: 90px;
    position: absolute;
    height: 35px;
    background-color:var(--main-color);
    right: 0;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s linear;
    -webkit-transition: 0.3s linear;
    -moz-transition: 0.3s linear;
    -ms-transition: 0.3s linear;
    -o-transition: 0.3s linear;
  }
  
  
  .field-controle .toggle-checkbox:checked + .custom-toggle {
    background-color: #ddd;
  }
  
  .field-controle .toggle-checkbox:checked  + .custom-toggle::before  {
    content: "\f00d";
    left: 5px;
    transition: left 0.3s linear;
    -webkit-transition: left 0.3s linear;
    -moz-transition: left 0.3s linear;
    -ms-transition: left 0.3s linear;
    color: var(--main-color-p);
  }
  
  
  /* End Button Toggle-Checckbox */
  
  /* End Component */
  
  