/* ================= RESPONSIVE ================= */

/* 🔽 Large Screens (1200px+) */
@media (max-width: 1200px) {
  .search-box {
    width: 650px;
  }
}

/* 🔽 Tablet (992px) */
@media (max-width: 992px) {
  .top-right {
    right: 20px;
    top: 20px;
    gap: 10px;
  }

  .logo {
    font-size: 60px;
  }

  .search-box {
    width: 100%;
    max-width: 650px;
  }

  .icons {
    flex-wrap: wrap;
    gap: 20px;
  }

  .navbar {
    flex-wrap: wrap;
    gap: 15px;
  }

  .nav-search {
    max-width: 100%;
  }

}

/* 🔽 Mobile (768px) */
@media (max-width: 768px) {
  #homeScreen.active {
    /* height: auto; */
    /* padding: 40px 20px; */
    height: 80vh;
  }

  .logo {
    font-size: 40px;
  }

  .search-box {
    width: 100%;
    max-width: 550px;
    height: 45px;
  }

  .icon {
    width: 70px;
    height: 70px;
  }

  .icon span {
    font-size: 12px;
  }

  .nav-search {
    width: 100%;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .menu {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
  }
}

/* 🔽 Small Mobile (576px) */
@media (max-width: 576px) {
  .top-right {
    right: 10px;
    top: 10px;
  }

  .logo {
    font-size: 32px;
  }

  .search-box {
    padding: 0 10px;
    width: 100%;
    max-width: 450px;
  }

  .menu span {
    font-size: 12px;
  }

  .nav-logo {
    font-size: 22px;
  }

  .nav-search {
    height: 40px;
  }
}

@media (min-width: 280px) and (max-width:360px) {
  .table-header {
    grid-template-columns: minmax(182px, 915px) 1fr;
  }

  .datatable-row {
    column-gap: 0px;
    flex-wrap: wrap;
  }
}

@media (min-width: 360px) and (max-width:991px) {
  .dropdown-menu[data-bs-popper] {
    top: 100%;
    left: 0 !important;
    margin-top: 10px !important;
  }

  .table-header {
    grid-template-columns: minmax(182px, 915px) 1fr;
  }

  .name-hrader {
    padding: 5px 10px 5px 5px;
  }

  .datatable-row {
    column-gap: 0px;
    flex-wrap: wrap;
  }
}

/* 🔽 Extra Small (400px) */
@media (max-width: 400px) {
  .logo {
    font-size: 26px;
  }

  .icon {
    width: 60px;
    height: 60px;
  }

  .image-icons {
    width: 25px;
    height: 25px;
  }

  .nav-logo {
    font-size: 18px;
  }
}



@media (max-width: 768px) {

  .profile-container {
    padding: 15px;
    padding-bottom: 0px;
    padding-top: 0px;
  }

  .profile-card {
    padding: 15px;
  }

  .profile-card h2 {
    font-size: 20px;
  }



  /* .btn-group {
        flex-direction: column;
        align-items: stretch;
    } */

}

/* ================= TABLET (768px - 991px) ================= */

@media (min-width: 768px) and (max-width: 991px) {

  .form-group input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  /* .profile-container {
        max-width: 90%;
        height: auto;
    } */

  .profile-card {
    padding: 18px;
  }

  .profile-card h2 {
    font-size: 22px;
  }

  .update-btn,
  .save-btn {
    padding: 10px 30px;
  }
}

/* ================= SMALL LAPTOP (991px - 1200px) ================= */

@media (min-width: 991px) and (max-width: 1200px) {

  .profile-container {
    max-width: 700px;
  }

  .profile-card {
    padding: 20px;
  }

  .profile-card h2 {
    font-size: 24px;
  }

  .update-btn,
  .save-btn {
    padding: 10px 40px;
  }
}


@media(max-width:576px) {

  .publish-wrapper {
    padding: 24px;
  }

  .title {
    font-size: 24px;
  }

  .card-flex {
    gap: 12px;
  }

  .icon-box {
    min-width: 46px;
    height: 46px;
  }

  .bottom-actions {
    margin-top: 24px;
  }
}