* {
  font-family: "Nunito";
  font-optical-sizing: auto;
}

:root {
  --button-color: #666666;
}

body {
  /* background: radial-gradient(farthest-corner circle at top, #2f65ac 0, #152a4d 100%); */
  background: #fff567;
  overflow-x: hidden;
}
input::placeholder {
  color: #666666;
}

select {
  color: #666666;
}
.load-time-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none; /* Hide the card initially */
}
.mat-card {
  margin: 0;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: white;
  display: none; /* Hidden by default */
}
.icon {
  margin-right: 8px;
  vertical-align: middle;
}

.input-with-icon {
  display: flex;
  align-items: center;
}

.input-with-icon input {
  flex: 1;
}
.time-picker-container {
  margin: 20px;
  text-align: center;
}

.flatpickr-input {
  width: 200px;
  padding: 10px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-top: 10px;
}
.custom-card {
  margin-left: 0;
  margin-right: 0;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  display: none;
}
.custom-card .row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.custom-card .col-3 {
  width: 25%;
}

.custom-card .form-group {
  margin-bottom: 15px;
}

.custom-card .form-label {
  font-weight: bold;
}

.required {
  color: red;
}

.datetime-picker {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#daily-time-picker {
  width: 100%;
  padding: 8px;
  font-size: 16px;
}

.mat-card .row {
  display: flex;
  gap: 20px;
}

.mat-card .col-3 {
  flex: 1;
} */
.mat-form-field {
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
}

.mat-label {
  font-weight: bold;
}

.mat-input-element {
  padding: 8px;
  margin-top: 5px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.mat-select, .mat-input {
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ddd;
}
.custom-card  .form-group {
  position: relative;
}
.calendar-icon {
  position: absolute;
  right: 10px;
  top: 60%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666666; /* Icon color */
}

/* Style for the input field with placeholder */
.datetime-picker {
  padding-right: 30px; /* Add space for the calendar icon */
  color: #666666; /* Placeholder and input text color */
}
.container {
  display: flex;
  flex-direction: column;
  /* height: 100%; */
  overflow: auto;
}

.custom-select-wrapper {
  position: relative;
}

#teableHeader th {
  color: #666666;
}

.custom-select {
  height: 40px;
  padding-right: 30px;
  /* For space for the icon */
}

.form-control {
  margin-top: 5px;
  margin-bottom: 2rem;
}

.processDiv {
  margin: 10px;
}

.spinner-board {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.8);
  /* Optional: semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Ensure it appears above other content */
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-top: 5px solid rgb(18, 18, 17);
  /* Dark color for the spinner */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.spinner-board h3 {
  margin-top: 10px;
  font-size: 20px;
  color: #666666;
  font-weight: 500;
  text-align: center;
}

.custom-select-wrapper select {
  width: 100%;
  padding-right: 30px;
  /* Adding padding for dropdown icon */
  height: 40px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Set a fixed height for the dropdown and allow scrolling */
.custom-select-wrapper select {
  max-height: 80px;
  /* Set your desired max height */
  overflow-y: auto;
  /* Enable vertical scrolling */
}

.source-file1 {
  margin-top: 20px;
}

.multiple-select-sources {
  display: flex;
  margin-left: 13px;
  margin-right: 13px;
  flex-wrap: wrap;
}

.dropdown-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
}

.mat_card_content {
  overflow: auto;
}

.load_data_table_container {
  overflow: auto;
}

.load_data {
  width: 100%;
  overflow: scroll;
}

.tranformation_body_header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 100%;
}

.load_data_table_header {
  /* background-color: #2e6f87; */
  height: 40px;
  /* color: white !important; */
  border-radius: 5px !important;
  font-size: 15px;
  font-weight: 500px;
}

.load_data_table_row {
  background-color: #ffffff;
  height: 40px;
  border-radius: 5px;
}

.load_data_table_row:hover {
  background-color: #f2f2f2;
}

mat-form-field {
  border-radius: 5px;
}

.example-form {
  min-width: 200px;
  width: 100%;
}

.example-full-width {
  width: 100% !important;
  margin-bottom: 1px;
}

.mat-form-field {
  align-items: center;
}

.Source_Files {
  border-color: black;
  border-radius: 5px;
  /* margin-bottom: 20px; */
  border: 55px;
  /* overflow: auto; */
}

.mat-card-actions,
.mat-card-subtitle,
.mat-card-content {
  display: inline;
  margin-bottom: 16px;
}

.last_inline {
  display: inline;
}

.create_load {
  color: #fff;
  background-color: #666666;
  border-color: rgb(50 51 52);
  margin-bottom: 11px;
  margin-left: 3%;
  display: inline;
  font-size: larger;
  margin-left: 10px;
}

.btn_primary {
  background-color: #666666 !important;
  color: white !important;
  justify-content: space-between !important;
  margin: 6px !important;
  box-shadow: 4px 3px #edab81;
  border-radius: 50px;
}

.active_button {
  color: white !important;
  background-color: #666666 important;
}

.active,
.btn_primary:hover {
  color: white;
  background-color: #666666 !important;
}

/* Add padding to table cells for better readability */
#processor_line th,
#processor_line td {
  padding: 8px 12px;
  text-align: left;
}

/* Horizontal scrollbar styling */
.w-100 {
  overflow-x: auto;
  white-space: nowrap;
  border-radius: 5px;
  padding: 10px;
}

/* Ensure the placeholder shifts to the top border */
.custom-select-wrapper select:focus option:first-child {
  display: none;
}

.custom-select-wrapper select:focus {
  outline: none;
  border-color: #007bff;
  /* Highlight border on focus */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Placeholder alignment when dropdown is clicked */
.custom-select-wrapper select[focused="true"] option:first-child {
  display: inline;

}

select option[disabled] {
  display: none;
}

.checkbox-option {
  display: flex;
  align-items: center;
  padding: 5px;
}

.checkbox-option input {
  margin-right: 10px;
}

.checkbox-option label {
  margin: 0;
}

.hidden-option {
  display: none;
}

#sourceFileName option:disabled {
  color: transparent;
  /* Make the placeholder text invisible */
}

#sourceFileName:invalid {
  color: gray;
  /* Restore color for valid selections */
}

/* Buttons in paginator */
#paginator .btn {
  margin: 0 5px;
}

/* Highlight table headers */
#processor_line th {
  background-color: var(--button-color);
  color: white;
  border-bottom: 2px solid #ddd;
}

/* Set the color for the placeholder (first option with disabled attribute) */
#selectTarget:placeholder-shown {
  color: #666666 !important;
}

/* Style the options in the dropdown */
#selectTarget option {
  color: #666666 !important;
}

/* Ensure the dropdown icon remains styled (optional, if using custom icon) */
.custom-select-wrapper .dropdown-icon {
  color: #666666;
  /* Adjust color for the icon */
  pointer-events: none;
  /* Prevent interaction with the icon */
}

/* Zebra stripes for table rows */
#processor_line tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

.source_table {
  display: flex;
  background-color: green;
  flex-direction: row;
}

.sample_data_bttns {
  color: #fff;
  background-color: rgb(50 51 52);
  border-color: rgb(50 51 52);
  margin-bottom: 11px;
  margin-left: 10px;
  display: inline;
  font-size: larger;
}

.spiner_board {
  z-index: 1;
  display: flex;
  flex-direction: column;
  position: absolute;
  margin-top: 0px;
  width: 98%;
  height: 99%;
  background: rgba(0, 0, 0, 0.5);
  top: 0px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

::ng-deep .mat-progress-spinner circle,
.mat-spinner circle {
  stroke: #666666 !important;
}

::ng-deep .mat-checkbox-checked.mat-accent .mat-checkbox-ripple .mat-ripple-element {
  opacity: 0.03 !important;
  background-color: #666666 !important;
}

::ng-deep .mat-checkbox-checked.mat-accent .mat-checkbox-background,
.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background {
  background-color: rgb(50 51 52);
}

.mat-mdc-radio-button~.mat-mdc-radio-button {
  margin-left: 16px;
  font-weight: 100;
}

.p-2 {
  padding: 1.2rem !important;
}

.schedule-time {
  width: 96%;
  margin-bottom: 2px;
  margin-left: 30px;
  margin-top: 12px;
}

::ng-deep .example-full-width4 {
  width: 96%;
  margin-bottom: 2px;
  margin-left: 22px;
}

.add_multiple_query {
  border: none;
  background-color: #2e6f87;
  color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  border-top-left-radius: 5px;
  border-bottom-right-radius: 5px;
  width: 18%;
}

table#processor_line {
  width: 100%;
  table-layout: fixed;
}

.scrollbody {
  width: 1000px;
  display: block;
}

.data_processr_lines_mat[_ngcontent-nnq-c186] {
  /* padding: 0 0 30px 0; */
  overflow-x: scroll !important;
}

.query_button {
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  margin-left: 2rem;
  border: none;
  padding: unset;
  border-radius: 50px;
  background-color: rgb(50 51 52);
  text-align: center;
  color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.btn_save {
  color: #fff;
  background-color: rgb(50 51 52);
  border-color: rgb(50 51 52);
  /* margin-bottom: 11px; */
  /* margin-left: 3%; */
  display: inline;
  font-size: larger;
  min-width: 100px;
  /* margin-left: 10px; */
}

.mat-column-ScheduleName,
.mat-column-LoadType,
.mat-column-SourceFileName,
.mat-column-OverallStatus,
.mat-column-ExeutionStatus,
.mat-column-CreatedBy,
.mat-column-Executionstart,
.mat-column-TransectionStatus,
.mat-column-Executionend,
.mat-column-ScheduleTime {
  width: 240px;
  contain: content;
}

.mat-column-TableName {
  width: 350px;
  contain: content;
}

/* .mat-column-Error-message{
      width: 450px;
      contain: content;
      text-wrap: nowrap;
    } */
.mat-column-Action {
  width: 160px;
  position: sticky !important;
  right: -3rem;
  background-color: #ffffff;
  opacity: 10;
}

.table_edit {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(50 51 52);
  border-radius: 5px;
  border: none;
  color: white;
  margin: 2px;
  height: 30px;
  padding: 5px 10px 5px 10px;
  /* width: -webkit-fill-available; */
}

button[disabled] {
  background-color: #6ccbee;
  opacity: .5;
  cursor: not-allowed;
}

::ng-deep .mdc-card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 10px;
}

hr {
  margin: 1rem 0rem;
  width: 98% !important;
  color: inherit;
  border: 0;
  border-top: var(--bs-border-width) solid;
  opacity: .25;
}

::ng-deep .mat-mdc-checkbox .mdc-form-field {
  margin-top: -1.5rem;
  margin-left: 2rem;
}

/* mat-checkbox ::ng-deep .mat-checkbox-inner-container {width: 30px !important;height: 30px !important;} */
::ng-deep.mdc-fab-mini {
  width: 35px !important;
  height: 35px !important;
}

.pdf-container {
  width: 100%;
  height: 70vh;
  /* Adjust the height as needed */
  overflow: auto;
}


.spinner-board {
  text-align: center;
  padding: 20px;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Modal styling */
#existingTableSchemaModal {
  display: none;
  /* Ensure modal is hidden by default */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  height: 300px;
  width: 500px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  /* Ensure modal appears above other content */
}

.modal-content {
  position: relative;
  display: flex;
  top: 124px;
  padding: 20px;
  left: 18%;
  flex-direction: column;
  width: 70%;
  color: var(--bs-modal-color);
  pointer-events: auto;
  background-color: var(--bs-modal-bg);
  background-clip: padding-box;
  border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
  border-radius: var(--bs-modal-border-radius);
  outline: 0;
}

.close {
  color: #666666;
  font-size: 29px;
  font-weight: bold;
  position: absolute;
  right: 20px;
  /* Aligned to the right */
  top: 10px;
  /* Aligned to the top */
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

/* Modal Footer Buttons */
.modal-footer .btn {
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.modal-footer .btn:hover {
  opacity: 0.9;
}

.add-schema-table-container {
  max-height: 300px;
  /* Set a maximum height for the table container */
  overflow-y: auto;
  /* Enable vertical scrolling */
  border: 1px solid #ddd;
  /* Optional: Add a border around the container */
  margin-top: 16px;
  border-radius: 4px;
}

/* Table Styles */
.add-schema-table {
  width: 100%;
  border-collapse: collapse;
}

.add-schema-table th,
.add-schema-table td {
  text-align: left;
  padding: 8px;
  border: 1px solid #ddd;
}

.add-schema-table th {
  color: #666666;
  background-color: #f4f4f4;
  font-weight: bold;
}

/* Input Fields */
input[type="text"],
input[type="number"] {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 90%;
    /* Adjust width for smaller screens */
  }
}

/* Dropdown styling inside modal */
#existingTableSchemaModal #tableSelect {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  outline: none;
  margin-bottom: 20px;
}

/* Option styling */
#existingTableSchemaModal #tableSelect option {
  color: #666666 !important;
  /* Set the text color of options */
  border: 1px soled red;
  background-color: white !important;
  /* Ensure background is white */
}

#existingTableSchemaModal #tableSelect option:disabled {
  color: gray !important;
  /* Disabled option color */
}

#existingTableSchemaModal #tableSelect option {
  visibility: visible !important;
  display: inline-block !important;
}

/* Button Section */
/* Close Icon Styling */
#closeExistingSchema {
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 21px;
  font-size: 29px;
  cursor: pointer;
  color: #212529;
  transition: color 0.3s ease;
}

#closeExistingSchema:hover {
  color: #333;
  /* Darker color on hover */
}


.button-ok .btn {
  padding: 10px 20px;
  margin-top: 2.5rem;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.button-ok .btn:hover {
  opacity: 0.9;
}

/* Cancel Button */
.button-ok .btn:first-child {
  background-color: #737677;
  color: white;
}

/* OK Button */
.button-ok .btn:last-child {
  background-color: #666666;
  color: white;
}

#existingTableSchemaModal {
  width: 600px;
  /* Set a fixed width for the modal */
  border-radius: 8px;
  /* Rounded corners */
}

/* Modal Header */
#existingTableSchemaModal h3 {
  font-size: 20px;
  font-weight: bold;
  color: #666666;
  margin-bottom: 16px;
  text-align: center;
}

.name-heading {
  font-family: "Nunito";
  /* color: #666666; */
  color: #666666 !important;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}