/* ================================================
   NAVARCHOS REUSABLE COMPONENTS
   Timelines, custom tabs, buttons, etc.
   ================================================ */

/* ===== DOT INDICATOR ===== */
.dot {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  margin: 0 auto;
  border-radius: 50%;
  display: inline-block;
}

/* ===== TIMELINE ===== */
ul.timeline {
  list-style-type: none;
  position: relative;
}

ul.timeline:before {
  content: " ";
  background: #d4d9df;
  background: #5d9cbc;
  display: inline-block;
  position: absolute;
  left: 29px;
  width: 2px;
  height: 100%;
  z-index: 400;
}

ul.timeline > li {
  margin: 0 0 20px 0;
  padding-left: 20px;
}

ul.timeline > li:before {
  content: " ";
  background: white;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 7px solid #22c0e8;
  left: 20px;
  width: 20px;
  height: 20px;
  z-index: 400;
}

ul.timeline > li.event_call_made:before {
  content: " ";
  background: white;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 7px solid #12f503;
  border: 7px solid #f1592a;
  left: 20px;
  width: 20px;
  height: 20px;
  z-index: 400;
}

ul.timeline > li.event_call_received:before {
  content: " ";
  background: white;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  border: 7px solid #ff4081;
  left: 20px;
  width: 20px;
  height: 20px;
  z-index: 400;
}

/* ===== STEPPER ===== */
.stepper-selected {
  font-weight: bold;
  background-color: #ff4081;
  color: white;
  padding: 1px;
  min-width: 250px;
  text-align: center;
  display: block;
}

/* ===== CHART HEIGHT ===== */
.chart-height {
  height: 400px;
  overflow-x: hidden;
  overflow-y: scroll;
}

/* ===== BOX CONTAINER ===== */
.app-title {
  font-size: 24px;
}

.box-title {
  font-size: 20px;
}

.box-container {
  box-sizing: border-box;
  width: 800px;
  height: 500px;
  max-width: 90%;
  max-height: 90%;
  padding: 24px;
  margin: 24px auto;
  border-radius: 4px;
  color: #555;
  background-color: #eee;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.18),
    0 6px 6px rgba(0, 0, 0, 0.25);
}

.info-container {
  padding: 12px 16px;
  line-height: 24px;
}

.action-container,
.content-container {
  position: relative;
  overflow: auto;
  height: 300px;
  min-height: 0;
  margin: 8px 16px;
  border-radius: 4px;
  background-color: #fff;
}

.action-container {
  padding: 16px;
}

.content-container {
  position: relative;
  min-height: 0;
  padding: 8px;
  margin: 12px 16px;
  border: 1px solid #ccc;
}

.vertical-container,
.horizontal-container {
  min-height: 0 !important;
}

/* ===== ACTION BUTTON ===== */
.action-button {
  box-sizing: border-box;
  width: calc(100% - 16px);
  min-height: 35px;
  padding: 4px 16px;
  margin: 8px;
  border: 1px solid #555;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  line-height: 14px;
  text-align: center;
}

.action-button:hover {
  color: #fff;
  background-color: #555;
}

/* ===== SCROLL CONTAINER ===== */
.scroll-container {
  position: relative;
}

.scrollable-content {
  padding: 16px;
  margin: 0;
}

/* ===== CUSTOM TABS ===== */
.custom-tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

.custom-tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 10px;
  font-size: 17px;
  width: 33.3333333333333333%;
}

.custom-tab button:hover {
  background-color: #ddd;
}

.custom-tab button.active {
  background-color: #ccc;
}

.custom-tabcontent {
  display: none;
  border: 1px solid #f3f4f5;
  border-top: none;
  min-height: 246px;
}

.custom-tabcontent .table {
  margin-bottom: 0;
}

/* ===== STOP FILTER ===== */
.stop-filter .mat-form-field-appearance-outline .mat-form-field-infix {
  padding: 7px;
}

.stop-filter .mat-form-field-label-wrapper {
  top: -1.2em;
  padding-top: 0.84375em;
}

.stop-filter .mat-form-field-wrapper {
  padding-bottom: 0;
}

/* ===== ANALYTICS CARDS ===== */
.nav-analytics-min-height {
  min-height: 173px;
}

.nav-analytics-title .mat-card-title {
  color: #041527;
  font-size: 24px;
}

.nav-analytics-min-height-sm {
  min-height: 92px;
}

.nav-title-size-16 {
  font-size: 16px !important;
}

/* ===== RESPONSIVE COMPONENTS ===== */
@media (max-width: 768px) {
  .nav-google-chart {
    display: none !important;
  }

  google-chart.nav-google-chart {
    display: none;
  }
}
