/* start css untuk flow */
/* Container horizontal */
.btn-group.arrow-steps {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 10px 0;
}

/* Setiap tombol */
.btn-group.arrow-steps .btn {
    position: relative;
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px 20px 10px 15px;
    margin-right: -1px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    z-index: 1;
    transition: background-color 0.3s;
}

/* Panah kanan */
.btn-group.arrow-steps .btn:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 0;
    width: 0;
    height: -50;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 15px solid #f1f1f1;
    z-index: 2;
}

/* Panah kiri (untuk rapi saat overlap) */
.btn-group.arrow-steps .btn:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 15px solid white;
    z-index: 2;
}

/* Aktif (warna merah) */
.btn-group.arrow-steps .btn.active {
    background-color: #e7605b;
    color: #fff;
    z-index: 3;
}

/* Warna panah kanan untuk aktif */
.btn-group.arrow-steps .btn.active:not(:last-child)::after {
    border-left-color: #dd5853;
}

/* Warna panah kiri untuk aktif */
.btn-group.arrow-steps .btn.active:not(:first-child)::before {
    border-left-color: #fff;
    transition: background-color 0.3s, color 0.3s;

}
/* Hover pada tombol */
.btn-group.arrow-steps .btn:hover {
    background-color: #87CEEB;
    color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

/* Hover untuk panah kanan */
.btn-group.arrow-steps .btn:hover:not(:last-child)::after {
    border-left-color: #87CEEB;
}
/* Hover panah kiri tombol berikutnya agar nyambung */
.btn-group.arrow-steps .btn:hover + .btn::before {
    border-left-color: #87CEEB;
}
/* end css untuk flow */

  @media (max-width: 767.98px) {
    .period-container {
      margin-bottom: 0.6rem;
    }
  }

  .input-group-addon {
  min-width: 120px;
  text-align: left;
}

@media (max-width: 767px) {
  .col-xs-6-custom {
    width: 50%;
    float: left;
    padding: 0 15px;
    box-sizing: border-box;
  }
}
.description-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;      
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2em;       
  max-height: 2.9em;    
  margin: 0 !important;
  padding: 0 !important;
}
.description-clamp-user-info {
  display: -webkit-box;
  -webkit-line-clamp: 1;      
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2em;       
  max-height: 2.4em;    
  margin: 0 !important;
  padding: 0 !important;
}
.row.no-gutter {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}
.row.no-gutter > [class*='col-'] {
  padding-left: 3px;
  padding-right: 3px;
  padding-bottom: 6px;
}
.card-frame {
  border: 1px solid hsl(175, 86%, 17%);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 5 5px 10px rgba(0, 0, 0, 0.05);
}

.preview-image-history {
    object-fit: contain;
    object-position: center;
    margin-top: 0px;
    border: 0px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.grid-title-report {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding: 14px 15px 7px 15px;
    border-bottom: 1px solid #eee;
    color: #282323 !important;
    background-color: #ffffff;
    margin-bottom: 0px;
    border: 1px solid #dddddd;
    border-bottom: 0px;
}


/* bikin h4 jadi flex container */
.sorting-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px; /* jarak icon dan select */
}

.sortingFeeds {
  display: flex;
  flex-direction: column; /* panah tetap atas bawah */
  align-items: center;
  cursor: pointer;
}

.sortingFeeds i {
  color: #ccc;
  font-size: 16px;
  line-height: 0.2;
}

.sortingFeeds .asc-icon.active {
  color: #28a745;
}

.sortingFeeds .desc-icon.active {
  color: #dc3545;
}

