/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  font-family: 'Krub', sans-serif;
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
  padding: 60px 15px 0;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

code {
  font-size: 80%;
}

  

  @media only screen and (max-width: 800px) {
    
    /* Force table to not be like tables anymore */
	#no-more-tables table, 
	#no-more-tables thead, 
	#no-more-tables tbody, 
	#no-more-tables th, 
	#no-more-tables td, 
	#no-more-tables tr { 
		display: block; 
	}
 
	/* Hide table headers (but not display: none;, for accessibility) */
	#no-more-tables thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
 
	#no-more-tables tr { border: 1px solid #ccc; }
 
	#no-more-tables td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
		white-space: normal;
		text-align:left;
	}
 
	#no-more-tables td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}
 
	/*
	Label the data
	*/
	#no-more-tables td:before { content: attr(data-title); }
}
.stats-chart-card {
  border: 0;
  border-radius: 0.75rem;
}

.stats-chart-table th,
.stats-chart-table td {
  vertical-align: middle;
}

.stats-chart-canvas-wrap {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem;
  background-color: #fff;
}


.app-navbar {
  background: linear-gradient(90deg, #0d253f 0%, #13395e 55%, #15507f 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.app-navbar .navbar-brand {
  font-weight: 700;
  letter-spacing: 0.2px;
  gap: 0.5rem;
}

.app-navbar .brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.15);
}

.app-navbar .nav-link {
  border-radius: 0.45rem;
  padding: 0.5rem 0.75rem !important;
  margin: 0 0.1rem;
  transition: all 0.2s ease;
}

.app-navbar .nav-item.active .nav-link,
.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus {
  background-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.navbar-user-panel {
  gap: 0.4rem;
}

.navbar-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.14);
  margin-right: 0.35rem;
}

.navbar-action-link {
  border: 1px solid rgba(255, 255, 255, 0.35);
}

@media (max-width: 767.98px) {
  .app-navbar {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .navbar-user-panel {
    margin-top: 0.65rem !important;
    align-items: flex-start;
  }

  .navbar-user-badge {
    margin-right: 0;
    margin-bottom: 0.4rem;
  }

  .app-navbar .nav-link {
    margin: 0.12rem 0;
  }
}

.index-page {
  padding-top: 1.75rem;
}

.index-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: linear-gradient(120deg, #0c84a5 0%, #0f6496 55%, #194374 100%);
  color: #fff;
}

.index-hero__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.18);
  font-size: 1.3rem;
}

.index-hero__title {
  font-size: 1.12rem;
  font-weight: 700;
}

.index-hero__subtitle {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

.index-content-wrap {
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(13, 37, 63, 0.08);
  border: 1px solid rgba(13, 37, 63, 0.08);
}

.tab-button-wrap {
  margin-bottom: 1rem;
}

.index-tabs {
  border-bottom: 0;
  gap: 0.5rem;
}

.index-tabs .nav-link {
  border: 1px solid #dce5ef;
  border-radius: 999px;
  color: #22547d;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
}

.index-tabs .nav-link.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, #0b7bb4 0%, #195f96 100%);
  box-shadow: 0 6px 14px rgba(17, 94, 140, 0.25);
}

.repair-section-card {
  border: 1px solid rgba(13, 37, 63, 0.1);
  border-radius: 0.9rem;
  box-shadow: 0 6px 20px rgba(13, 37, 63, 0.06);
}

.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.repair-table thead th {
  border-top: 0;
  font-size: 0.92rem;
  background-color: #f2f6fb;
}

.repair-table tbody tr:hover {
  background-color: #f7fbff;
}

@media (max-width: 767.98px) {
  .index-page {
    padding-top: 1rem;
  }

  .index-hero {
    align-items: flex-start;
    padding: 1rem;
  }

  .index-hero__icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.75rem;
  }

  .index-tabs {
    gap: 0.35rem;
  }

  .index-tabs .nav-link {
    font-size: 0.9rem;
    padding: 0.45rem 0.7rem;
  }
}
