/* Basic reset and styling */

:root {
    --primary-color: #396d35;
    --secondary-color: #f44336;
    --tertiary-color: #2196F3;  /* Blue */
    --button-padding: 10px 20px;
    --button-border-radius: 5px;
    --button-font-size: 16px;
    --text-gray :#808080;
  }
  
  body {
    background: url("../images/bg-1.jpg")!important;
    background-color: #cccccc;
    background-repeat: no-repeat!important;
  background-attachment: fixed!important;
  background-position: center center!important;
  background-size: cover!important;
   }
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
  }
  
  .sidenav-container {
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
  }
  
  .mat-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white !important;
    /* color: black !important; */
  }

  .mat-toolbar .mat-icon {
    color: var(--primary-color)!important;
  }
  .mat-mdc-menu-panel {
    background-color: var(--primary-color)!important;
    color: white !important;
  }
  .mat-drawer {
    background-color: var(--primary-color)!important;
    color: white !important;
  }
  .logo img {
    height: 40px;
  }
  
  .spacer {
    flex: 1;
  }
  
  .content {
    padding: 0px 10px;
    background: #f9f9f9;
  }
  
  .fixed-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add light box shadow */
  }
  .mat-expansion-panel {
    background-color: inherit !important;
  }
  .mat-expansion-panel-header {
    padding:  0 16px !important;
  }
  .fixed-sidenav {
    top: 64px !important; /* Adjust this value if the height of the toolbar changes */
  }
  mat-list-item a{
    color: white !important;
    text-decoration: inherit !important;
  }

  .mat-drawer-container {
    background-color: inherit !important;
  }
  .mat-sidenav-content .content {
    margin-top: 60px !important;
    color: #000 !important;
  }



  /* login screen style */
  .login-card {
    max-width: 400px;
    margin: 80px auto 0px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  mat-card-header {
    text-align: center;
    background-color: white;
    color:var(--primary-color);
  }
  .login-card  .mat-mdc-card-header {
    display: flex !important;
    /* padding: 16px 16px 0; */
    align-content: flex-end !important;
    justify-content: center !important;
}
  
  mat-card-title {
    font-size: 1.5em;
    font-weight: bold;
  }
  
  mat-form-field {
    width: 100%;
    /* margin-bottom: 16px; */
  }
  
  /* button {
    width: 100%;
    padding: 10px;
  } */
  
/* button style */

.button-primary {
    background-color: var(--primary-color);
    color: white;
    padding: var(--button-padding);
    border: none;
    border-radius: var(--button-border-radius);
    font-size: var(--button-font-size);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .button-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
  }
  
  .button-secondary {
    background-color: var(--secondary-color);
    color: white;
    padding: var(--button-padding);
    border: none;
    border-radius: var(--button-border-radius);
    font-size: var(--button-font-size);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .button-secondary:hover {
    background-color: var(--secondary-color-dark);
    transform: translateY(-2px);
  }
  

  /* card style */
  .mat-mdc-card {
  
    background-color: white !important;

}

  /* input style */


 label {
    color: var(--text-gray) !important;
}
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input {
    color: black !important;
}
.mat-mdc-form-field-icon-suffix {
  color: var(--primary-color) !important;
}
/*
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {
  border-color: var(--border-color) !important;
} */


/*loader */

.mat-progress-spinner circle, .mat-spinner circle {
    stroke: var(--primary-color)!important;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* Ensure it's above other elements */
  }
  
  .loading-content,
  .data-content {
    background: #fff; /* White background for content */
    padding: 20px;
    border-radius: 5px;
  }
  .hidden-content {
    display: none;
  }
  .hidden-content {
    display: none;
  }

.mat-mdc-text-field-wrapper {
    height: auto;
    flex: auto;
}
  /* Responsive styles */
  @media (max-width: 768px) {
    .sidenav-container {
      flex-direction: column;
    }

    .fixed-sidenav {
        width: 100% !important;
        top: 56px !important; /* Adjust this value for the height of the toolbar on smaller screens */
      }

    mat-sidenav {
      width: 100%;
    }
  }
  



  .fixed-sidenav {
    font-size: 16px !important; /* Set your desired font size */
  }
  
  .fixed-sidenav a {
    text-decoration: none !important; 
    color: white !important; /* Ensure link inherits the font color */
  }
  
  .fixed-sidenav mat-expansion-panel-header,
  .fixed-sidenav mat-panel-title,
  .fixed-sidenav mat-list-item,
  .fixed-sidenav mat-nav-list {
    font-size: inherit !important; /* Inherit the font size from the parent */
  }


  /* padding */

 .py-2 {
    padding: 10px !important;
 }


 /* location-create.component.css */
.popup-container {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.popup-heading {
  font-size: 24px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.popup-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 10px auto 0;
}


/* button */

.btn-primary {
  background-color: var(--primary-color) !important;
  color:white  !important
}
.btn-tertiary {
  background-color: var(--tertiary-color) !important;
  color:white  !important
}
.btn-primary {
  background-color: var(--primary-color) !important;
  color:white  !important
}
button:disabled,
button[disabled]{
  border: 1px solid #999999 !important;
  background-color: #cccccc !important;
  color: #666666 !important;
}

  

.btn-secondary {
  background-color: var(--secondary-color) !important;
  color:white  !important
}

  








.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

.header-content {
  display: flex;
  align-items: center;
}

.header-label {
  font-size: 1.5rem;
  margin-left: 8px;
}

button {
  display: flex;
  align-items: center;
}

mat-icon {
  margin-right: 8px;
}





.custom-table {
  width: 100%;
  border-collapse: collapse;
}

.custom-table mat-header-cell, 
.custom-table mat-cell {
  border: 1px solid #e0e0e0;

}

 .mat-mdc-footer-row  {
  background: orange !important;
}
.custom-table mat-header-cell  {
  padding-top: 8px;
  padding-bottom: 8px;
}
mat-header-row {
  min-height: inherit !important;
  
}
mat-row, mat-footer-row {
  /* min-height: 48px; */
  min-height: inherit !important;
}
.custom-table mat-header-cell {
  background-color: var(--primary-color) !important;
  font-weight: bold;
  color: white !important;
}

.custom-table mat-row:hover {
  background-color: #fafafa;
}

.custom-table mat-header-row, 
.custom-table mat-row {
  display: flex;
  align-items: center;
}

.custom-table mat-header-cell, 
.custom-table mat-cell {
  flex: 1;
  display: flex;
  align-items: center;
}



.mat-mdc-progress-spinner { --mdc-circular-progress-active-indicator-color: var(--primary-color); }


#text_One_Line {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}