@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .sidebar__top {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  /* .sidebar__bottom {
    display: none;
  } */

  .header {
    padding: 10px;
  }

  .content {
    padding: 10px;
  }
  .content__top {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .search-box input {
    width: 100%;
  }

  .empty {
    height: 50vh;
  }
}

/* main css */

/* Responsive */
@media (max-width: 768px) {
  /* .sidebar {
    display: none;
  } */

  .filters {
    flex-direction: column;
  }
  .cards {
    flex-direction: column;
  }
}

/* ================== TABLET (1024px) ================== */
@media (max-width: 1024px) {
  .app {
    display: flex;
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 15px;
  }

  .sidebar nav {
    display: flex;
    gap: 10px;
  }

  .profile-card {
    display: none; /* hide for medium screens */
  }
  /* 
  .main {
    width: 100%;
    padding: 15px;
  } */

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .filters {
    flex-direction: column;
    gap: 10px;
  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    width: 100%;
  }
}

/* ================== MOBILE (768px) ================== */
@media (max-width: 768px) {
  .sidebar {
    align-items: center;
    flex-direction: row;
    /* align-items: flex-start; */
  }
  .modal-header {
    padding: 10px 10px 10px 10px;
  }
  .logo {
    font-size: 16px;
    margin-bottom: 0;
  }

  .menu {
    width: 100%;
    text-align: left;
  }

  .header {
    flex-direction: row;
    align-items: center;
  }

  /* .profile {
    width: 100%;
  } */

  .filters {
    flex-direction: column;
  }

  .dropdown {
    width: 100%;
  }

  .empty img {
    width: 150px;
  }

  .btn-primary {
    width: 100%;
  }
  .main {
    flex: 1;
    padding: 0;
  }
  .container {
    padding: 20px 0;
  }
  .mob-text {
    display: none;
  }
  .menu {
    display: none;
  }
  .card.cards-hidden {
    display: none;
}
}

/* ================== SMALL MOBILE (480px) ================== */
@media (max-width: 480px) {
  .modal-box {
    width: 90%;
    padding: 15px;
  }

  .modal-header h2 {
    font-size: 16px;
  }
.text ul {
    display: block;
            padding-left: 20px;
}
  .modal-body {
        padding: 20px 0;
    flex-direction: column;
  }

    .workflow-card {
        flex-direction: row;
        align-items: flex-start;
    }

.card-content {
    width: 100%;
}

  .card-image img {
    width: 100%;
    height: auto;
  }

  .modal-footer {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary1,
  .btn-secondary {
    width: 100%;
  }
}
