
@import 'ngx-toastr/toastr';
/* @import '../../../node_modules/@angular/material/prebuilt-themes/magenta-violet.css'; */
@import '../css/icofont/icofont.css';
@import '../css/bootstrap.min.css';
@import '../css/material-icons/material-icons.css';


html,
body {
    height: 100%;
}

body {
    margin: 0;
   /*  font-family: Roboto, "Helvetica Neue", sans-serif; */
    font-family: Baskerville, "Baskerville Old Face", "Goudy Old Style", Garamond, "Times New Roman", serif;
}

.container-fluid {
    padding: 10px !important;
}
.card {
    max-width: 600px;
    margin: 20px auto;
    margin-bottom: 30px;
    box-shadow:
      0 2px 2px 0 rgba(0, 0, 0, 0.14),
      0 3px 1px -2px rgba(0, 0, 0, 0.12),
      0 1px 5px 0 rgba(0, 0, 0, 0.12);
  }
  
  .card-header {
    background-color: #f5f5f5;
    border-bottom: 1px solid #dee2e6;
  }
  
  .card-body {
    padding: 20px;
    height: 170px;
  }
  
  .card-title {
    position: relative;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 18px;
  }
  
  .card-subtitle {
    font-weight: 400;
    margin-bottom: 10px;
    color: #686868;
    font-size: 15px;
  }
  
  .card-text {
    text-align: justify;
  }
  .d-card {
    border: 0;
    margin-bottom: 40px;
    margin-top: 20px;
    margin-left: 20px;
    border-radius: 6px;
    background: white;
    position: relative;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    font-size: 0.875rem;
    box-shadow:
      0 2px 2px 0 rgba(0, 0, 0, 0.14),
      0 3px 1px -2px rgba(0, 0, 0, 0.2),
      0 1px 5px 0 rgba(0, 0, 0, 0.12);
  }
  
  .d-card .card-body {
    position: relative;
    margin-left: 0;
    flex: 1 1 auto;
    padding: 1.25rem;
  }
  
  .d-card .card-footer {
    background-color: rgba(0, 0, 0, 0.1);
    border-top: 3px solid rgba(0, 0, 0, 0.125);
    height: 25%;
  }
  
  .fs-d-card {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: right;
    color: #fff;
    opacity: 0.5;
  }
  
  .card .fs-d-card:hover {
    opacity: 1;
  }
  
  .fs-d-card-footer {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    padding-top: 5px;
    text-align: right;
    color: #fff;
    opacity: 0.8;
  }
  
  a.fs-d-card-footer:hover {
    opacity: 1;
  }
  

  
  .page-card-content {
    padding: 10px;
  }

.notification-image {
  max-width: 100%;
  max-height: 100%;
  /* margin-top: 10px; */
}

.notification-item {
  cursor: pointer;
  margin-bottom: 10px;
}

.notification-item:hover {
  background-color: #f1f1f1;
}

.page-card-header {
  background: #cdd3a3 !important;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

.page-card-content {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}


.page-title {
    color: #333;
    font-weight: 500;
    padding-top: 10px;
    font-size: 26px;
    width: 100% !important;
}

.details-cell {
  max-width: 150px;           /* adjust as needed */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.img-fluid.cus-sidebar-icons {
    width: 26px;
    margin-right: 14px;
    display: inline-block;
}

.img-fluid.card-icon {
    width: 30px;
    margin-right: 5px;
}

.img-fluid.cus-about-icons {
    width: 26px;
}

/* Styling Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #a86602;
    border: 3px solid rgb(212, 212, 212);
}

::-webkit-scrollbar-track {
    background-color: rgb(212, 212, 212);
}

mat-sidenav {
    background-image: linear-gradient(rgba(205, 211, 163, 0.98), rgba(168, 102, 2, 0.9)), url('../images/pologo2.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: -1;
    width: 100%;
    max-width: 20%;
    min-width: 15%;
    height: 100%;
    display: block;
    border-radius: 0!important;
    top: 0;
    left: 0;
    box-shadow: 7px 0 60px rgba(0, 0, 0, 0.05);
}

mat-sidenav .nav-dropdown-cus {
    /* color: #2483C5; */
    background-color: rgba(0, 0, 0, 0);
    font-weight: 500;
    font-size: 20px;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;

}
a.mdc-list-item:hover {
  background: #cdd3a3 !important;
}

.nav-header-cus {
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    width: 100% !important;
    vertical-align: middle;

}

.nav-item-cus {
    color: #fff;
    /* color: #673AB7; */
    font-weight: 400;
    font-size: 18px;
    width: 100% !important;

}

.maticon{
  padding-top: 4px;
  margin-right: 3px;
}




.my-form-full-width {
    min-width: 100% !important;
}

.container {
    margin-top: 20px;
  }
  
  
  
  img.img-responsive {
    height: 200px;
  }
  
  /* Captcha Section */
  .captcha-section {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
  }
  
  .captcha-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
  }
  
  .captcha-img {
    width: 20%;
    height: auto;
    border-radius: 5px;
    border: 1px solid #ddd;
  }
  
  .refresh-captcha-btn {
    width: 30%;
    margin-left: 10px;
    min-width: 120px;
  }
  
  .captcha-input {
    width: 100%;
  }
  
  /* Button Styles */
  button {
    margin-top: 10px;
    margin-right: 10px;
  }
  
  .sign-in-btn {
    width: 100%;
    height: 40px;
    margin-top: 15px;
    background-color: #00796b;
    color: white;
  }
  
  /* Layout and Containers */
 /*  .container-fluid {
    padding: 0;
    margin: 0;
    width: 100%;
  } */
  
  .dropdown-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .table-container {
    overflow-x: auto;
    max-width: 100%;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
  }
  
  td,
  th {
    white-space: nowrap;
  }
  
  /* Dashboard Card */
  
  
  /* Footer Styles */
  footer {
    margin-top: auto !important;
    margin-bottom: 0px !important;
  }
  
  .footer-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }
  
  .footer-text {
    align-content: middle;
    color: white;
    margin: auto;
  }
  
  /* Navbar Styles */
  .navbar {
    padding: 0.2rem 1rem;
    background-color: #a86602 !important;
  }
  
 /*  .navbar-version {
    font-size: 0.85em;
    color: $navbar-dark-color;
  } */
  
 /*  .navbar-title {
    font-size: 1.35em !important;
  } */
  
  .profile-image {
    height: 1.75em;
    width: 1.75em;
  }
  
 /*  .navbar-toggler:hover {
    color: $navbar-dark-hover-color;
  } */
  
  /* Logo Styles */
  .logo-img {
    height: 55px;
    width: 55px;
    display: inline-block;
    vertical-align: middle;
    background: url('../images/skg.png') no-repeat center center;
    background-size: contain;
  }
  
  /* Custom Styles */
  .tool-bar {
    background-color: #f5f5f5;
    overflow-x: auto;
    height: 100%;
  }
  
  .img-bar {
    width: auto;
    height: 100px;
    max-width: 200px;
  }
  
  .img-responsive {
    height: 200px;
  }
  
  /* Additional Styles */
  .thin-search-field {
    width: 200px; /* Set thinner width */
    margin: 0;
  }
  
  .mat-form-field-custom {
    width: 500px;
  }
  
  .mat-mdc-option {
    font-size: 15px;
  }
  
  .table-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
  }
  
  .search-container {
    display: flex;
    justify-content: flex-end;
  }
  
  /* Form Styles */
  mat-form-field {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .mat-form-field-appearance-fill .thin-search-field .mat-form-field-wrapper {
    padding: 2px 4px; /* Compact padding for the thinner search bar */
    font-size: 12px; /* Reduce font size for search input */
  }
  
  .mat-form-field-appearance-fill .thin-search-field input {
    padding: 4px 6px; /* Reduce input padding for a thinner appearance */
  }
  
  /* Simple Location Component Styles */
  #live-map, #location-map {
    width: 100%;
    height: 100vh; /* Full viewport height */
    border-radius: 8px; /* Rounded corners for the map container */
    border: 1px solid #dddddd; /* Subtle border around the map */
    margin-top: 10px; /* Space between header and map */
  }
  
  /* Background Color */
  .bg-light {
    background-color: #063f77 !important;
  }

 
.profile {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px;
}
.title-center {
  text-align: center !important;
 
  font-size: 20px;
  color: #083e54;
}
.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.mat-display-medium, .mat-typography .mat-display-medium, .mat-typography h2 {
    color: #333;
    font-weight: 500;
    font-size: 16px !important;
    width: 100% !important;
    /*   font-family: Baskerville, "Baskerville Old Face", "Goudy Old Style", Garamond, "Times New Roman", serif; */
}

.icon-header {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: right;
  margin-top: 5px;
  color: #000;
  opacity: 0.5;
  padding-right: 10px;
}

.icon-menu {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 1px;
  text-align: right;
  color: #fff;
  opacity: 0.5;
  padding-right: 10px!important;
}


.profile-detail {
  text-align: center;
}

h5 {
  font-weight: 600;
  margin: 0.8rem 0;
  text-align: center;
  font-size: 20px!important;
  color: black;
}

.mat-mdc-table {
  overflow-x: auto !important;
  max-height: 80vh;
}

.mat-mdc-header-row {
  min-width: 1200px;
  background-color: whitesmoke !important;
}

.mat-mdc-row {
  min-width: 1200px;
}

.mat-mdc-cell {
  border: 1px solid lightgray !important;
}

.mat-mdc-header-cell {
  border: 1px solid lightgray !important;
}
.mat-mdc-row:hover {
  background-color: whitesmoke !important;
}

.remarks-table {
  overflow-x: auto; /* Only allow horizontal scrolling for the table if absolutely needed */
}

.dialog-content {
  padding: 20px;
  min-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.data-row {
  display: flex;
  padding: 8px 0;
  align-items: flex-start;
}

.data-key {
  font-weight: bold;
  min-width: 200px;
  padding-right: 16px;
}

.data-value {
  flex: 1;
  word-break: break-word;
}

.nested-array-item {
  margin-bottom: 8px;
}

.nested-data-row {
  display: flex;
  padding: 4px 0;
}

.nested-data-key {
  font-weight: 500;
  min-width: 150px;
  padding-right: 16px;
}

.nested-data-value {
  flex: 1;
}

.data-image {
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 4px;
}

mat-divider {
  margin: 8px 0;
}

/* ps settings */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
}

.toggle-labels {
  max-width: 70%;
}

.toggle-title {
  font-weight: 500;
}

.info-text {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.6);
}

.loading-text {
  font-size: 0.875rem;
  color: gray;
  margin-top: 8px;
}

@media print {
  body * {
    visibility: hidden !important;
  }
  body.print-all #print-section,
  body.print-all #print-section * {
    visibility: visible !important;
  }

  body.dialog-print .cdk-overlay-container,
  body.dialog-print .cdk-overlay-container * {
    visibility: visible !important;
  }
  .no-print {
    display: none !important;
  }

  body.print-all #print-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  body.dialog-print .cdk-overlay-container .mat-dialog-container {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
  }
}

/* dashboard-dialog.component.css */
.table-dialog-content {
  max-height: 60vh;
  overflow: auto;
}

.full-width {
  width: 100%;
}

th.mat-header-cell,
td.mat-cell {
  padding: 8px 16px;
}

.no-data {
  font-style: italic;
  color: rgba(0,0,0,0.6);
  padding: 16px;
  text-align: center;
}






  
  
  