/* ============================================================
   Bug Finder Dashboard — style.css
   Place this file at:  assets/css/style.css
   ============================================================ */

/* ── Reset ───────────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Inter", sans-serif;
  background: #f9f9f9;
  color: #374151;
  min-height: 100vh;
  font-size: 14px;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: transparent;
}
ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.bf-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(249, 249, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 32px !important;

  @media (max-width: 1399px) {
    padding: 16px 10px;
  }

  @media (max-width: 500px) {
    padding: 20px 0;
  }
}

.bf-navbar__logo-icon img {
  height: 40px;
  width: auto;
  display: block;
}

/* Nav wrapper — centers the pill */
.bf-navbar-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

/* Nav pill */
.bf-navbar__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  border: 1px solid #efefef;
  background: #fff;
  padding: 10px 12px;
  gap: 4px;

  @media (max-width: 1399px) {
    padding: 8px;
  }
}

.bf-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  border-radius: 60px;
  color: #8d8d8d;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
  @media (max-width: 1600px) {
    padding: 8px;
  }
  @media (max-width: 1399px) {
    font-size: 14px;
  }
}

/* NAV WRAP */
.bf-navbar-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

/* NAV */
.bf-navbar__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  border: 1px solid #efefef;
  background: #fff;
  padding: 10px 12px;
  gap: 4px;
}

@media (max-width: 1399px) {
  .bf-navbar__nav {
    padding: 8px;
  }
}

/* LINK */
.bf-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  border-radius: 60px;
  color: #8d8d8d;
  font-size: 16px;
  transition: 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

@media (max-width: 1600px) {
  .bf-nav-link {
    padding: 8px;
  }
}

@media (max-width: 1399px) {
  .bf-nav-link {
    font-size: 14px;
  }
}

.bf-nav-link svg path {
  fill: #8d8d8d;
}

.bf-nav-link:hover {
  background: #f3f4f6;
  color: #1a1d23;
}

.bf-nav-link.active {
  background: #7c3aed;
  color: #fff;
}

.bf-nav-link.active svg path {
  fill: #fff;
}

/* ================= DROPDOWN ================= */

.bf-nav-item {
  position: relative;
}

/* dropdown hidden */
.bf-nav-item {
  position: relative;
}

.bf-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);

  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 8px;
  min-width: 180px;

  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 10;
}

/* SHOW ON HOVER */
.bf-nav-item:hover .bf-dropdown,
.bf-nav-item:focus-within .bf-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 15px);
}

/* ITEMS */
.bf-dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #555;
  font-size: 14px;
  text-decoration: none;
}

.bf-dropdown a:hover {
  background: #f3f4f6;
  color: #000;
}

.bf-dropdown-two {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 10;
}

/* items */
.bf-dropdown-two a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #555;
  font-size: 14px;
  text-decoration: none;
}

.bf-dropdown-two a:hover {
  background: #f3f4f6;
  color: #000;
}

/* show dropdown */
.bf-nav-item:hover .bf-dropdown-two,
.bf-nav-item:focus-within .bf-dropdown-two {
  opacity: 1;
  visibility: visible;
  transform: translateY(15px);
}

.bf-nav-link svg path {
  fill: #8d8d8d;
}
.bf-nav-link i {
  font-size: 13px;
}
.bf-nav-link:hover {
  background: #f3f4f6;
  color: #1a1d23;
}

.bf-nav-link.active {
  background: #7c3aed;
  color: #ffffff;
}
.bf-nav-link.active svg path {
  fill: #ffffff;
}
.bf-nav-link.active:hover {
  background: #6d28d9;
  color: #ffffff;
}

/* Actions */
.bf-navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;

  @media (max-width: 450px) {
    gap: 10px;
  }
}

.bf-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1px solid #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: background 0.2s ease;
}
.bf-icon-btn:hover {
  background: #ede9fe;
}

.bf-icon-btn--bell {
  svg .active-icon {
    fill: #7c3aed;
  }
}

.message-active-icon {
  position: absolute;
  right: 5px;
  top: 0px;
}

.bf-icon-btn--message,
.bf-icon-btn--bell {
  position: relative;

  .msg-panel {
    min-width: 320px;
    background: #ffffff;
    border: 1px solid rgb(239, 239, 239);
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
    top: 110%;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  }

  .msg-header {
    padding: 16px 18px 12px;
    border-bottom: 1px solid rgb(239, 239, 239);
  }

  .msg-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .msg-title {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
  }

  .badge {
    background: #7c3aed;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    border-radius: 4px;
    padding: 1px 7px;
    min-width: 20px;
    text-align: center;
    line-height: 1.6;
  }

  .msg-list {
    height: 290px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #7c3aed transparent;
  }

  .msg-list::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }

  .msg-list::-webkit-scrollbar-track {
    background: transparent;
  }

  .msg-list::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 10px;
  }

  .msg-list::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
  }

  .msg-item {
    display: flex;
    align-items: flex-start;
    text-align: start;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid rgb(239, 239, 239);
    cursor: pointer;
    transition: background 0.15s ease;

    &:hover {
      background: #f7f7f8;
    }

    &:last-of-type {
      border-bottom: none;
    }
  }

  .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f7f7f8;
    border: 0.5px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    svg {
      width: 20px;
      height: 20px;
      color: #9e9e9e;
    }

    img {
      border: 0.5px solid rgba(0, 0, 0, 0.1);
      object-fit: cover;
    }
  }

  .msg-body {
    flex: 1;
    min-width: 0;
  }

  .msg-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 2px;
  }

  .msg-text {
    font-size: 12px;
    color: #6b6b6b;
    line-height: 1.5;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .msg-time {
    font-size: 10px;
    color: #8d8d8d;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #7c3aed;
    cursor: pointer;
    border-top: 1px solid rgb(239, 239, 239);
    transition: background 0.15s ease;
    user-select: none;
    background: white;
    position: relative;

    &:hover {
      background: #f7f7f8;
    }
  }
}

.bf-icon-btn--message:hover .msg-panel {
  opacity: 1;
  visibility: visible;
}
.bf-icon-btn--bell:hover .msg-panel {
  opacity: 1;
  visibility: visible;
}

.bf-icon-btn--message {
  @media (max-width: 449px) {
    display: none;
  }
}

/* User */
.bf-navbar__user {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-left: 20px;
}
.bf-navbar__user::before {
  content: "";
  width: 1px;
  height: 32px;
  background: #cfcfcf;
  border-radius: 8px;
  position: absolute;
  left: 0;
}
.bf-navbar__user-info {
  display: flex;
  flex-direction: column;
}
.bf-navbar__user-name {
  color: #10100f;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 2px;
}
.bf-navbar__user-role {
  color: #8d8d8d;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

/* Avatar */
.bf-avatar {
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.bf-avatar--sm {
  width: 46px;
  height: 46px;
}
.bf-avatar--lg {
  background: #fff;
  border: 1px solid #efefef;
  width: 65.517px;
  height: 65.517px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
}
.bf-avatar--lg img {
  width: 38px;
  height: 41.931px;
  object-fit: contain;
}
.bf-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   MAIN — TOP ROW
   .middle-content = left tickets + right sidebar cards
   ============================================================ */
.bf-main {
  margin: 0 40px;
  padding-bottom: 100px;

  @media (max-width: 992px) {
    padding-bottom: 30px;
  }

  @media (max-width: 500px) {
    margin: 0 10px;
  }
}

.middle-content {
  display: grid;
  grid-template-columns: 1fr 560px;
  align-items: start;
  border-radius: 16px;
  border: 1px solid #efefef;
  background: #f4f4f4;
  padding: 40px;
  margin-bottom: 40px;

  @media (max-width: 1600px) {
    grid-template-columns: 1fr 490px;
  }

  @media (max-width: 1300px) {
    gap: 20px;
  }

  @media (max-width: 500px) {
    padding: 20px;
  }
}

.tickets-content-wrap {
  display: flex;
  align-items: stretch;
  gap: 40px;

  @media (max-width: 1200px) {
    flex-direction: column;
    gap: 20px;
  }
}
/* left side inside middle-content */
.tickets-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* right side inside middle-content */
.middle-content-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 50px;
  margin-top: -108px;

  @media (max-width: 1600px) {
    margin-left: 100px;
    margin-top: -108px;
  }

  @media (max-width: 1300px) {
    margin-left: 30px;
    margin-top: -90px;
  }

  @media (max-width: 1200px) {
    margin-top: 0;
  }

  @media (max-width: 1200px) {
    margin-left: 0;
  }
}

/* ============================================================
   WELCOME BAR
   ============================================================ */
.bf-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-radius: 18px;
  margin-bottom: 35px;

  @media (max-width: 1300px) {
    gap: 20px;
  }
  @media (max-width: 768px) {
    flex-direction: column;
    align-items: start;
  }
}

.bf-welcome__left {
  display: flex;
  align-items: center;
  gap: 20px;

  @media (max-width: 768px) {
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
}

.bf-welcome__left .bf-avatar-wrap {
  border: 1px solid #efefef;
  border-radius: 100%;
  padding: 5px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (max-width: 500px) {
    gap: 20px;
  }
}

.bf-welcome__left .avatar-angle {
  position: absolute;
  right: -3px;
  top: -3px;
}

.bf-welcome__left .bf-avatar {
  background: #fff;
  border: 1px solid #efefef;
  width: 65.517px;
  height: 65.517px;
  aspect-ratio: 29/32;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;

  img {
    width: 38px;
    height: 41.931px;
    aspect-ratio: 29/32;
  }
}

.bf-welcome__title {
  color: #000;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 12px;

  @media (max-width: 768px) {
    text-align: center;
  }

  @media (max-width: 350px) {
    font-size: 24px;
    margin-bottom: 8px;
  }
}
.bf-welcome__sub {
  color: #8d8d8d;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;

  @media (max-width: 768px) {
    text-align: center;
  }
}
.bf-visit-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8d8d8d;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;

  @media (max-width: 768px) {
    justify-content: center;
    width: 100%;
  }
}
.bf-visit-link:hover {
  color: #7c3aed;
}

.bf-visit-link:hover svg path {
  fill: #7c3aed;
}

/* ============================================================
   STATS
   ============================================================ */
.bf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bf-stat-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px;
  animation: fadeUp 0.4s ease both;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  gap: 75px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
}

.bf-stat-card .bg-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;

  img {
    object-fit: cover;
    height: 100% !important;
  }
}

.bf-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.bf-stat-card:nth-child(1) {
  animation-delay: 0.05s;
}
.bf-stat-card:nth-child(2) {
  animation-delay: 0.1s;
}
.bf-stat-card:nth-child(3) {
  animation-delay: 0.15s;
}
.bf-stat-card:nth-child(4) {
  animation-delay: 0.2s;
}

.bf-stat-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  @media (max-width: 1300px) {
    justify-content: space-between;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  @media (max-width: 1200px) {
    justify-content: space-between;
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }
}
.bf-stat-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 100%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #6b7280;
}
.bf-stat-card__num {
  color: var(--Black, #10100f);
  text-align: right;
  font-family: "Instrument Sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.bf-stat-card__label {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 400;
  margin-top: 8px;

  @media (max-width: 1300px) {
    text-align: center;
  }
}

/* Create ticket card */
.bf-stat-card--create {
  box-shadow: none;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bf-create-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.bf-create-btn span {
  color: var(--Body-color, #8d8d8d);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);

  @media (max-width: 1200px) {
    writing-mode: horizontal-tb;
    transform: rotate(0);
  }
}

.bf-stat-card:hover .bg-thumb {
  opacity: 1;
  visibility: visible;
  z-index: -1;
  max-height: 100%;
}

.bf-stat-card--create:hover .bf-create-btn {
  span {
    color: #7c3aed;
  }

  svg path {
    fill: #7c3aed;
  }
}

/* ============================================================
   HOURLY RATE CARD  (inside .middle-content-right)
   ============================================================ */
.bf-hourly-wrap {
  display: flex;
  align-items: end;
  justify-content: space-between;
  background: #7c3aed;
  border-radius: 16px;
  padding: 32px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.4s ease 0.1s both;

  @media (max-width: 600px) {
    flex-direction: column;
    gap: 20px;
    align-items: start;
  }
}

.bf-hourly-card__icon {
  width: 48px;
  height: 48px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 16px;
}
.bf-hourly-card__illustration {
  position: absolute;
  top: 28px;
  right: 70px;

  @media (max-width: 400px) {
    right: 10px;
  }
}
.bf-hourly-card__title {
  color: #fff;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  margin-bottom: 14px;
}
.bf-hourly-card__desc {
  color: #e4e4e4;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  max-width: 177px;
  margin-bottom: 0;

  @media (max-width: 600px) {
    max-width: 100%;
  }
}

/* Priority Support */
.bf-priority-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: fadeUp 0.4s ease 0.15s both;
  transition: box-shadow 0.2s ease;
  border-radius: 16px;
  border: 1px solid #efefef;
  background: #fff;
  padding: 20px 24px;
}
.bf-priority-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.bf-priority-card__title {
  color: #10100f;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 14px;
}
.bf-priority-card__desc {
  color: #8d8d8d;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  margin-bottom: 0;
}
.bf-icon-btn--arrow {
  width: 52px;
  height: 52px;
  aspect-ratio: 1/1;
  background: #f4f4f4;
  border: 1px solid #efefef;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.bf-icon-btn--arrow:hover {
  background: #ede9fe;
}
.bf-icon-btn--arrow:hover svg path {
  fill: #7c3aed;
}

/* ============================================================
   BOTTOM ROW
   .bf-bottom-rows = meeting+table   |   recent items sidebar
   ============================================================ */
.bf-bottom-rows {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* left of bottom row: meeting card + ticket table stacked */
.meeting-card-wrap {
  display: grid;
  grid-template-columns: 349px 1fr;
  gap: 16px;
  align-items: start;
}

/* ============================================================
   MEETING CARD
   ============================================================ */
.bf-meeting-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 34px 50px 43px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.5s ease 0.25s both;
  position: relative;
  border: 1px solid #efefef;

  @media (max-width: 400px) {
    padding: 30px;
  }
  @media (max-width: 350px) {
    padding: 20px;
  }
}

.bf-meeting-card::before {
  content: "";
  border-radius: 0 8px 8px 0;
  background: #7c3aed;
  width: 8px;
  height: 379px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  @media (max-width: 350px) {
    height: 250px;
  }
}

.bf-meeting-card__icon-wrap {
  width: 60px;
  height: 60px;
  aspect-ratio: 1/1;
  border-radius: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 45px;

  @media (max-width: 350px) {
    margin-bottom: 10px;
  }
}
.bf-meeting-card__title {
  color: #000;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 26px;

  @media (max-width: 350px) {
    margin-bottom: 10px;
  }
}
.bf-meeting-card__desc {
  color: #8d8d8d;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.bf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 60px;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.bf-btn:hover {
  transform: translateY(-1px);
}
.bf-btn--purple {
  background: #7c3aed;
  padding: 6px 20px;
}
.bf-btn--purple:hover {
  background: #6d28d9;
    color: #ffffff;
}
.bf-btn--white-outline {
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.bf-btn--white-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   TICKET TABLE
   ============================================================ */
/* Wrapper */
.bf-ticket-table {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  animation: fadeUp 0.5s ease 0.2s both;
}

/* Table setup */
.bf-ticket-table table {
  width: 100%;
  border-spacing: 0 12px;
}

/* Table head */
.bf-ticket-table table thead tr {
  background: #f4f4f4;
}

.bf-ticket-table table th {
  padding: 14px 24px;
  text-align: left;
  color: #8d8d8d;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-transform: uppercase;
}

/* Table body cells (card style) */
.bf-ticket-table table tbody tr td {
  padding: 21.5px 40px;
  background: #ffffff;
  color: #8d8d8d;
  font-size: 14px;
  line-height: 24px;
  transition: background 0.2s ease;
}

/* Rounded card effect */
.bf-ticket-table table tbody tr td:first-child {
  border-radius: 12px 0 0 12px;
}

.bf-ticket-table table tbody tr td:last-child {
  border-radius: 0 12px 12px 0;
}

/* Hover effect */
.bf-ticket-table table tbody tr:hover td {
  background: #fafafa;
}

/* Optional: first row extra spacing fix */
.bf-ticket-table table tbody tr:first-child td {
  margin-top: 10px;
}

/* Text styles */
.bf-ticket-id {
  color: #8d8d8d;
  font-size: 14px;
  line-height: 24px;
}

.bf-muted {
  color: #9ca3af;
  font-size: 12.5px;
}

/* Action button */
.bf-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #9ca3af;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.bf-action-btn:hover {
  background: #ede9fe;
  color: #7c3aed;
}

/* Status badges */
.bf-badge-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 500;
}

.bf-badge-status--opened {
  background: #dbeafe;
  color: #1d4ed8;
}

.bf-badge-status--inprogress {
  background: #fef3c7;
  color: #d97706;
}

.bf-badge-status--resolved {
  background: #dcfce7;
  color: #16a34a;
}

.bf-badge-status--closed {
  background: #f3f4f6;
  color: #6b7280;
}

/* ============================================================
   SIDEBAR — Recent Items  (inside .bf-bottom-rows)
   ============================================================ */
.bf-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bf-recent {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 24px 25px 20px;
  animation: fadeUp 0.4s ease 0.2s both;
  @media (max-width: 768px) {
    padding: 20px;
  }
}
.bf-recent__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.bf-recent__title {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}
.bf-recent__view-more {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7c3aed;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  transition: opacity 0.2s ease;
}
.bf-recent__view-more:hover {
  opacity: 0.7;
}
.bf-recent__list {
  display: flex;
  flex-direction: column;
  gap: 27px;
  padding-left: 0;
  margin-bottom: 0;
}
.bf-recent__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12.5px;
  color: #374151;
  line-height: 1.5;
}

.bf-recent__item {
  color: #10100f;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.bf-recent__thumb {
  width: 40px;
  height: 40px;
  aspect-ratio: 1/1;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.side-menu-wrap {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #fff;
  transition: 0.3s ease;
  z-index: 9999;
  padding-top: 20px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 25px;
}

.thumb img {
  display: block;
  max-width: 120px;
}

.close-icon {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.side-menu-wrap.active {
  right: 0;
}

.side-menu-wrap .side-menu-nav {
  padding: 35px 25px;
}

.side-menu-toggle-btn {
  position: relative;
  cursor: pointer;

  @media (min-width: 1200px) {
    display: none;
  }
}

/* Close icon hidden by default */
.close-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: background 0.2s ease;
  cursor: pointer;

  svg {
    width: 18px;
    height: 18px;
    color: #131313;
  }
}

/* Active state */
.side-menu-toggle-btn.active .menu-icons {
  opacity: 0;
  visibility: hidden;
}

.side-menu-toggle-btn.active .close-icon {
  opacity: 1;
  visibility: visible;
}

.side-menu-wrap .side-menu-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
  color: #8d8d8d;
  font-size: 16px;
  transition: 0.2s;
  white-space: nowrap;
  text-decoration: none;
  margin-bottom: 10px;
}

.side-menu-wrap .side-menu-link svg path {
  fill: #8d8d8d;
}
.side-menu-wrap .side-menu-link i {
  font-size: 13px;
}
.side-menu-wrap .side-menu-link .arrow {
  margin-left: 90px;
}
.side-menu-wrap .side-menu-link:hover {
  background: #f3f4f6;
  color: #1a1d23;
}

.side-menu-wrap .side-menu-link.active {
  background: #7c3aed;
  color: #ffffff;
}
.side-menu-wrap .side-menu-link.active svg path {
  fill: #ffffff;
}
.side-menu-wrap .side-menu-link.active:hover {
  background: #7c3aed;
  color: #ffffff;
}

.side-menu-wrap .side-menu-dropdown {
  display: none;
  padding-left: 25px;
}

.side-menu-wrap .side-menu-dropdown a {
  display: block;
  color: #aaa;
  padding: 10px 0;
  border-bottom: 1px solid #8d8d8d;
}

.side-menu-wrap .side-menu-dropdown a:hover {
  color: #7c3aed;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1800px) {
  .bf-ticket-table {
    overflow-x: auto;
  }

  .bf-ticket-table table {
    min-width: 900px; /* adjust based on your design */
  }
}

@media (max-width: 1200px) {
  .middle-content {
    grid-template-columns: 1fr;
  }
  .bf-bottom-rows {
    grid-template-columns: 1fr;
  }
  .bf-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .bf-navbar__user-info {
    display: none;
  }
}

@media (max-width: 1200px) {
  .bf-navbar-wrap {
    display: none;
  }
  .meeting-card-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .bf-navbar {
    padding: 12px 16px 20px;
  }
  .middle-content {
    gap: 16px;
  }

  .bf-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  .bf-welcome {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 450px) {
  .bf-icon-btn--bell {
    display: none;
  }

  .bf-navbar__user {
    padding-right: 10px;
  }

  .bf-navbar__user::before {
    display: none;
  }
}

.bg-cover {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.shake {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: shake 2.2s infinite;
}

@keyframes shake {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(14deg);
  }
  20% {
    transform: rotate(-12deg);
  }
  30% {
    transform: rotate(10deg);
  }
  40% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(6deg);
  }
  60% {
    transform: rotate(-4deg);
  }
  70% {
    transform: rotate(3deg);
  }
  80% {
    transform: rotate(-2deg);
  }
  90% {
    transform: rotate(1deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
