/* LAYOUT */
.app {
  display: flex;
height: 100%;
width: 100%;
box-sizing: border-box;
}

/* SIDEBAR */

#sidebar {
    width: 320px;
}

.sidebar {
    width: 320px;
    background: #fff;
    padding: 0 10px 24px;
    box-shadow: 18px 4px 35px 0px #00000005;
}

.sidebar .dashboard-logo {
    width: 100%;
    padding-top: 18px;
    margin-bottom: 20px;

}

.sidebar .dashboard-logo img{
    width: 110px;
    height: 100%;
    object-fit: cover;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu a {
  text-decoration: none;
  color: #374151;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
}

/* .menu a.active,
.menu a:hover {
  background: #eef2ff;
  color: #1d4ed8;
} */

/* MAIN */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* TOPBAR */
.topbar {
  height: 70px;
  padding: 0 24px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LEFT & RIGHT */
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* COMMON DROPDOWN */
.dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
}

.dropdown svg {
  width: 14px;
  height: 14px;
  stroke: #6b7280;
  fill: none;
  stroke-width: 2;
}

/* LANGUAGE BORDER */
.bordered {
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
}

.bordered img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

/* PROFILE */
.profile-dropdown {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.profile-dropdown img {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    object-fit: cover;
}

.profile-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.profile-info .name {
font-size: 16px;
    font-weight: 700;
    color: var(--black-color);
}

.profile-info .role {
    font-size: 14px;
    color: #8F8F8F;
    margin-top: 6px;
}

.profile-dropdown svg {
  width: 14px;
  height: 14px;
  stroke: #6b7280;
  fill: none;
  stroke-width: 2;
}

/* Wrapper */
.select-wrapper {
  position: relative;
  display: inline-block;
}


select.common-select {
    background: #1362FC17;
    border: 1px solid #1362FC17;
    height: 40px;
    width: 110px;
    margin: 0px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;

      /* 🔥 REMOVE DEFAULT ARROW */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

}


/* Custom arrow image */
.select-wrapper .arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: auto;
  pointer-events: none; /* 🔥 allow select click */
}

select.common-select:focus,
select.common-select:focus-visible,
select.common-select:active {
    outline: none;
    background: #1362FC17;
    border: 1px solid #1362FC17;
}

/* select.common-select:focus + .arrow {
  transform: translateY(-50%) rotate(180deg);
} */


/* CONTENT */
.content {
  padding: 24px;
  overflow-y: auto;
}


.hidden {
  display: none !important;
}

.de-activation-table td.actions {
    justify-content: center;
}

.de-activation-table td.actions .btn{
  min-width:150px;
}

/* MOBILE */
@media (max-width: 1024px) {
  
  #sidebar{
    display: none;
  }


  .sidebar {
    display: none;
  }

     .menu-toggle{
    display: flex;
  }

}


@media (max-width: 768px) {

  /* APP STACK */
  .app {
    flex-direction: column;
  }

  #sidebar {
    display: none !important;
}

  /* MAIN FULL WIDTH */
  .main {
    width: 100%;
  }

  /* TOPBAR FULL WIDTH */
  .topbar {
    width: 100%;
    padding: 0 16px;
  }

  /* TOPBAR ALIGN */
  .topbar-left {
    gap: 12px;
  }

  .topbar-right {
    gap: 12px;
  }

  /* HIDE TEXT ON SMALL */
  .profile-info {
    display: none;
  }

  /* COUNTRY SELECT SMALL */
  select.common-select {
    width: 90px;
    font-size: 13px;
  }

  /* LANGUAGE DROPDOWN COMPACT */
  .selected span {
    display: none;
  }

  .language-dropdown {
    padding: 0;
  }

  /* CONTENT PADDING */
  .content {
    padding: 16px;
  }
}
