/* Some basic class */
.hide, .main-sidebar .sidebar-menu .hide {
  display: none;
}

.bold {
  font-weight: bold;
}

.p0{
  padding: 0px; 
}

.p5{
  padding: 5px;
}

.p10{
  padding: 10px;
}

.p50{
  padding: 50px;
}

.pl5{
  padding-left: 5px;
}

.m0{
  margin: 0px;
}

.m5{
  margin: 5px;
}

.m20{
  margin: 20px;
}

.m50{
  margin: 50px;
}

.ml5{
  margin-left: 5px;
}

.ml10{
  margin-left: 10px;
}

.lh0{
  line-height: 0px;
}

.flex{
  display: flex;
  padding: 5px;
}

.s14 {
  font-size: 14px;
}

.s16 {
  font-size: 16px;
}

.s20 {
  font-size: 20px;
}

.card .card-header h4 {
  text-align: center !important;
}

.ps30{
  padding:0 30px;
}

.p50m50 {
  padding: 50px;
  margin: 50px;
}

a:hover {
  text-decoration: none;
}

/* trip card box */

.trip-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
  gap: 10px;
}

.finance-container {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  margin-bottom: 15px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.finance-flex{
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.trip-column {
  align-items: left;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  background: #fff;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.card-box {
  display: flex;
  align-items: center;  /* Vertically center */
  justify-content: space-between;
  align-items: left;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  background: #fff;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.box-title, .box-title a {
  align-items: center;  /* Vertically center */
  font-weight: bold;
  color: #007bff;
  font-size: 16px;
}

.label {
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

.w50 {
  flex: 50%;
}

.no-border{
  border: 0px;
}

.m10{
  margin:0px 40px;
}

.section>*:first-child {
  margin-top:-15px;
}

/* DASHBOARD DESIGN */

/* select business type css */

.role-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin: 0 15px;
  border: 2px solid transparent;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.role-option:hover {
  transform: scale(1.05);
}

.role-option.selected {
  border: 2px solid #0d6efd;
  background-color: #eaf4ff;
}

.role-icon {
  font-size: 40px;
  color: #6c757d;
  transition: color 0.3s ease;
}

.role-name {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  transition: color 0.3s ease;
}

.role-option.selected .role-icon,
.role-option.selected .role-name {
  color: #0d6efd;
}

.business_type_modal {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 10px;
}  

.business-type-footer {
    text-align: center;
    flex-direction: column;
}


/* MAIN CONTENT */
.main-sidebar .sidebar-menu li a {
  font-weight: bolder;
  font-size: 16px;
}

.main-sidebar .sidebar-menu li a {
  color: #505050;
}

.navbar {
  padding: 0px;
}

body:not(.sidebar-mini) .sidebar-style-2 .sidebar-menu > li.active > a {
  padding:0px 5px;
  background-color: #4E5DCD;
  color: white;
}

.main-sidebar .sidebar-menu li a{
  padding:0px 5px;
}

.main-sidebar .sidebar-menu li ul.dropdown-menu li a{
  font-size: 14px;
  font-weight: bold;
  height: 35px;
  padding-left: 40px;
}

.main-sidebar .sidebar-menu li ul.dropdown-menu li a:hover{
  background-color: #f0f7f6;
}

/* MAIN CONTENT */

.main-content {
  padding-top: 95px;
}

.row {
  margin-right: -20px;
  margin-left: -20px;
}

.inner-row{
  margin: 0px;
}

.w100{
  width: 100%;
}

.w50{
  width: 50%;
}

.mt30{
  margin-top: 30px;
}

.card{
  margin: 8px -8px;
  border-radius: 20px;
}

.card .card-header {
  border-radius: 20px 20px 0px 0px;
  font-weight: bolder;
  text-transform: capitalize;
  background-color: #F2F3F7;
}

.card .card-header h4{
  color: black;
  font-weight: bold;
}

.card .card-body{
  padding: 20px 10px;
}

/*footer */ 

.main-footer{
  margin-bottom: -10px;
  text-transform: none;
  padding: 10px 20px 10px 270px;
}

.main-footer .footer-left a, .main-footer .footer-right a{
  font-size: 18px;
  color: #4E5DCD;
  text-transform: none;
  font-weight: bold;
  text-decoration: none
}

/* console page */

.consoleBody{
  color: grey;
  font-weight: bold;
  font-size:18px;
}

.table-striped tr td a:hover {
  color: #fff;
}
.roleEdit {
  margin-left: 50px;
  color: #000;
  font-size: 15px;
}
.roleEdit:hover {
  text-decoration: none;
  color: #000 !important;
}
.roleEdit button {
  border: 1px solid gray;
  padding: 7px;
  border-radius: 5px;
  outline: none;
}

/*CODE FOR BREADCRUMB */
.consoleBtns button {
  border: 1px solid gray;
  padding: 5px 20px;
  border-radius: 5px;
  font-weight: bold;
  white-space: nowrap;
  outline: none;
}
.consoleMain {
  cursor: pointer;
}
.consoleSub {
  margin-left: 45px;
  display: none;
  background-color: #e1f0ef;
}

.consoleManage.fa-pencil-alt {
  margin-left: 100px;
}
.table-striped tr td a:hover {
  color: #fff;
}
.roleEdit {
  margin-left: 50px;
  color: #000;
  font-size: 15px;
}
.roleEdit:hover {
  text-decoration: none;
  color: #000 !important;
}
.roleEdit button {
  border: 1px solid gray;
  padding: 7px;
  border-radius: 5px;
  outline: none;
}

.pageBreadcrumb {
  margin: -10px -20px;
  display: flex;
  margin-bottom: 10px;
  flex-direction: row;
  justify-content: space-between;
}

.financeHeading{
  display: flex;
  justify-content: space-between;
  margin: auto;
  border-bottom:1px solid black;
  margin-bottom:10px;
}

.pageBreadcrumb ul{
  margin-bottom: -1rem;
}

.itemsBreadcrumb {
  font-weight: bold;
  display: flex;
  flex-direction: row;
}

.itemBreadcrumb {
  color: #6777ef;
}
.itemBreadcrumb.active {
  color: gray;
}
.itemBreadcrumb::after {
  content: "/";
  margin-left: 5px;
  color: gray;
}
.itemBreadcrumb:not(:first-child) {
  margin-left: 5px;
}
.itemBreadcrumb.active::after {
  content: "";
}
.itemBreadcrumb i {
  margin-right: 5px;
}

.pageBreadcrumb .btn{
  font-size: 16px;
}


.offset{
  margin-right: -50px;
}

@media only screen and (max-width: 768px) {
  
  .buttonBreadcrumb {
    text-align: right;
  }
  .row {
    margin-right: -25px;
    margin-left: -25px;
  }
  .inner-row {
    margin: auto -15px;
  }
  .offset{
    margin-right: -60px;
  }
  .mt30{
    margin-top: 0px;
  }
}

.form-input {
  position: relative;
}

.form-input label {
  position: absolute;
  font-size: 1rem;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  color: gray;
  padding: 0 0.3rem;
  margin: 0 0.5rem;
  transition: .1s ease-out;
  transform-origin: left top;
  pointer-events: none;
}
label{
  font-weight: bold;
}
input {
  font-size: 1rem;
  outline: none;
  border: 1px solid gray;
  border-radius: 5px;
  padding: 1rem 0.7rem;
  color: gray;
  transition: 0.1s ease-out;
}
.form-input input:focus {
  border-color: #6200EE;
}
.form-input input:focus + label {
  color: #6200EE;
  top: 0;
  transform: translateY(-50%) scale(.9);
}
.form-input input:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%) scale(.9);
}

.custom-switch{
  padding-left: 0px;
}

.custom-switch-description{
  margin-left: 0px;
  font-size: 17px;
  font-weight: bold;
}

.custom-switch-indicator{
  margin-left: 10px;
}


/*tables*/

/*tables*/

.table thead{
  background-color: #717dd6;
}

.table:not(.table-sm) thead th{
  color: white;
  text-transform: uppercase;
  font-size: 14px;
}

.table td{
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
}

/*calendar*/ 

.fc-view > table th, .fc-view > table td{
  font-weight: bold;
}

.tc,.pointer{
  cursor: pointer;
}

.modal-lg, .modal-xl {
    max-width: 1000px;
}

#loaderID{
  position: fixed;
  top: 45%;
  left: 46%;
  width: 100%;
  height: 100%;
  z-index: 999955;
  display: none;
}

.cursor{
  cursor: pointer !important;
}


/* LOADER */


.spinner-border{
  position:fixed;
  top:50%;
  left:50%;
  z-index: 30000;
  opacity: 3.0;
  font-size: 20px;
}


/* search box */

.search-box{
  width: 200px !important;
  border: 2px solid black;
}

#data tr {
  cursor: pointer;
}


/* NEW CSS */

/* card width 60% */ 
.card60 .card-header{
  display: block;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .card60{
    width: 60%;
    margin-left: 20%;
  }

}

@media screen and (min-width: 992px) {
  .mobile-show{
    display: none;
  }
}



article{
  z-index: -3333;
  background: #ddd;
  position: relative;
  padding: 20px;
  margin: 10px;
  box-sizing: border-box;
  border-radius: 10px;
}

article .line{
  width: 100%;
  height: 30px;
  background: #f7fafa;
  margin: 20px 0;
  border-radius: 5px;
}

article .shimmer{
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;

  background: linear-gradient(100deg,
  rgba(255,255,255,0) 20%,
  rgba(255,255,255,0.5) 50%,
  rgba(255,255,255,0) 80%);

  animation: shimmer 2s infinite linear;
}

@keyframes shimmer{
  from {
      transform: translateX(-200%);
  }
  to{
      transform: translateX(200%);
  }
}



/* PASSWORD CHECKER */

#message {
  text-align: left;
  margin-bottom: 25px;
}

#message p {
  margin: 8px 0;
  display: flex;
  align-items: center;
  font-size: 14px;
}

#message i {
  margin-right: 10px;
  font-size: 18px;
}

.valid i {
  color: green;
  transition: color 0.3s;
}

.invalid i {
  color: red;
  transition: color 0.3s;
} 

.progress-container {
  width: 100%;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 10px;
  background-color: #4caf50;
  width: 0%;
  border-radius: 10px;
  transition: width 0.3s ease;
}


/* dashboard menu button */


.menu-button {
  display: none;
  width: 50px;
  height: 50px;
  background-color: #007bff;
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  position: fixed;
  bottom: 30px;
  left: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* Show the button only on mobile devices */
@media only screen and (max-width: 1024px) {
  .menu-button {
      display: flex;
  }

  .main-footer{
    margin-bottom: -10px;
    text-transform: none;
    padding: 10px 20px 10px 20px;
  }

  .settingSidebar {
    display:block;
  }
}

/* input field style */

/* form input */

.form-control{
  border: 1px solid #ddd;
  /* font-size: 24px; */
  font-weight: bold;
}

.form-container {
  display: flex;
  justify-content: space-between; /* Space out the columns */
  gap: 10px; /* Space between columns */
}
.container .form-group {
  flex: 1; /* Allow input fields to grow and fill available space */
}

/* navbar design */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  background-color: #333;
  color: white;
}

.navbar-left {
  display: flex;
  flex: 1;
  white-space: nowrap; /* Prevent content from wrapping */
  overflow: hidden; /* Hide overflow if the content is too long */
  text-overflow: ellipsis; /* Add ellipsis if the content is too long */
  align-items: center;
}

.navbar-right{
  display: flex;
  align-items: center;
  white-space: nowrap; /* Prevent content from wrapping */
}

.search-bar {
  padding: 5px 10px;
  outline: none;
  font-size: 16px;
  width: 200px !important;
  border: 2px solid black;
}

.navbar .btn{
  font-size: 16px;
}

.navbar .navbar-heading {
  font-weight: bold; /* Make the heading bold */
  color: #000; /* Black color */
  font-size: 16px; /* Adjust font size as needed */
  
}

/* table design */

.table-container {
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0px 0;
  font-size: 15px;
  text-align: left;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #a9cdf1;
  font-weight: bold;
  color: black;
}

.styled-table thead tr {
  background-color: #007bff;
  color: #ffffff;
  text-align: left;
  font-weight: bold;
  border-bottom: 2px solid #cce4ff;
}

.styled-table th, .styled-table td {
  padding: 8px 10px;
  border-right: 1px solid #cce4ff;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #e9f2ff;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #cce4ff;
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: #007bff;
}

.styled-table tbody tr:hover {
  background-color: #cce4ff;
}

/* list design */

.list-item {
  background-color: #ffffff;
  padding: 10px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 5px;
  cursor: pointer;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
}

.list-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
  color: black;
}

.list-name {
  font-size: 16px;
  color: #1c1919;
}

.list-balance {
  margin-bottom: 10px;
  font-size: 12px;
}

.list-details p {
  margin: 0px 0;
  font-size: 14px;
  color: #333;
}

.list-details strong {
  color: #007bff;
}

/* model */

.modal-title{
  font-size: 22px;
  font-weight: bold;
  color: black;
}

.modal-header {
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px; /* Add some padding for better spacing */
}

.modal-footer{
  border-top: 1px solid #ddd;
}

.modal-footer .btn{
  font-size: 18px;
  font-weight: bold;
  padding: 5px 40px;
}

/* toarster css */

.iziToast.iziToast-color-orange{
  background-color: orange;
}

.iziToast.iziToast-color-green{
  background-color: green;
}

.iziToast.iziToast-color-red{
  background-color: red;
}

.iziToast > .iziToast-body .iziToast-title{
  color: white;
  font-size: 20px;
}

.iziToast > .iziToast-body .iziToast-message{
  color: white;
  font-size: 18px;
}

/* CUSTOM DROPDOWN */

.custom-dropdown {
  position: relative;
  display: inline-block;
}
.custom-dropdown .dropdown-toggle {
  color: #fff; /* Button text color */
  border-radius: 5px; /* Rounded corners */
  padding: 10px 20px; /* Padding */
  font-size: 1rem; /* Font size */
  text-align: left; /* Align text to the left */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.custom-dropdown .dropdown-menu {
  border: 1px solid #ced4da; /* Border color */
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
  width: 100%; /* Full width */
  position: absolute;
  top: 100%; /* Position below the button */
  right: 0; /* Align with the right edge of the button */
  background-color: #fff; /* Dropdown background color */
  z-index: 1000;
}
.custom-dropdown .dropdown-menu a,.custom-dropdown .dropdown-menu button {
  display: block;
  padding: 10px 20px; /* Padding */
  color: #495057; /* Text color */
  text-decoration: none; /* Remove underline */
  font-size: 1rem; /* Font size */
}
.custom-dropdown .dropdown-menu a:hover,.custom-dropdown .dropdown-menu button:hover {
  background-color: #007bff; /* Background color on hover */
  color: #fff; /* Text color on hover */
}


/* Custom Select Styles */
.custom-select-wrapper {
  position: relative;
}

/* Custom Select Styles */
.custom-select {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 16px 20px; /* Increased padding */
  font-size: 18px; /* Increased font size */
  font-weight: 500;
  color: #333;
  background-color: #ffffff;
  border: 2px solid #007bff;
  border-radius: 5px;
  appearance: none; /* Remove default select styling */
  -webkit-appearance: none; /* Safari */
  -moz-appearance: none; /* Firefox */
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s ease;
}

.custom-select:hover {
  border-color: #0056b3;
}

/* Custom Arrow (Dropdown Indicator) */
.custom-select::after {
  content: '\25BC'; /* Unicode character for down arrow */
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 16px; /* Slightly larger arrow */
  color: #333;
  pointer-events: none; /* Prevent click events on arrow */
}

/* Custom styling for options (only works with browsers that support it) */
.custom-select option {
  padding: 12px; /* Increased padding for options */
  background-color: #ffffff;
  color: #333;
  font-size: 16px; /* Increased font size for options */
}

.custom-select option:hover {
  background-color: #007bff;
  color: #ffffff;
}

/* badge wrap */

.badge-wrap-text {
  white-space: normal; /* Allow text to wrap */
  word-break: break-word; /* Break long words to fit within the badge */
  width: 100px; /* Set a specific width to control text wrapping */
  text-align: left; /* Center the text */
}



/* graphic design css and ai button */

.form-group1 {
  display: flex;
  align-items: center;
  justify-content: center; /* Center-align the buttons */
  gap: 10px; /* Space between buttons */
}

.form-group1 button{
  font-size: 16px;
}

.btn-block+.btn-block {
  margin-top:0;
}

#imageCanvas {
    max-width: 100%;
    border-radius: 10px;
    display: block;
    margin: 20px auto;
}

.description {
    line-height: normal;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
}

.btn-group button {
    margin: 0 5px;
}

.contact-info {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    display: block;
    text-align: left;
}

.powered-by {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.powered-by-light {
    color: #666;
    font-weight: 400;
}



.author-box-picture{
  width:80px !important;
  box-shadow:0 4px 25px 0 rgba(0,0,0,0.1)
}

/* FILTER CSS */

.filter-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* DROP ZONE CSS */

/* Adjust Dropzone container height */
.dropzone {
  min-height: 100px; /* Minimum height for the container */
  padding: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure preview container fits content */
.dropzone .dz-preview {
  height: auto; /* Allow preview to scale dynamically */
  display: inline-block; /* Prevent stretching */
  margin: 5px; /* Add spacing around previews */
}

/* Optional: Style the default file thumbnail */
.dropzone .dz-image {
  width: auto; /* Automatically adjust width */
  height: auto; /* Automatically adjust height */
  max-width: 100%; /* Limit to container width */
  max-height: 100px; /* Limit thumbnail height */
  overflow: hidden;
}

/* Adjust thumbnail text */
.dropzone .dz-filename {
  font-size: 12px;
  word-wrap: break-word; /* Prevent overflow */
  text-align: center;
}

/* Style for the download button inside the file preview */
.dropzone .dz-preview .download-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  margin-top: 0px;
  margin-bottom: 5px;
}

.dropzone .dz-preview .download-btn:hover {
  background-color: #0056b3;
}

/* Optional: Style for the file preview container */
.dropzone .dz-preview {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
} 

.dropzone .dz-preview .dz-image img {
  width: 100px; /* Adjust the width as needed */
  height: 100px; /* Adjust the height as needed */
  object-fit: contain; /* Ensures the image fits inside the preview */
}

/* Adjust the height of the file preview */
.dropzone .dz-preview {
  height: 100px;  /* Adjust the height as needed */
}

/* Adjust the image preview size (if it's an image) */
.dropzone .dz-preview .dz-image img {
  height: 100%;  /* Make the image fit the preview container */
  width: auto;   /* Maintain the aspect ratio */
}

/* Adjust the file name and remove link styles */
.dropzone .dz-preview .dz-details {
  display: block;
  height: 30px; /* Adjust the height of the file name area */
  overflow: hidden;
}

.dropzone .dz-preview .dz-remove {
  margin-top: 5px; /* Adjust the space above the remove link */
}

/* Optional: Adjust the size of the file size text */
.dropzone .dz-preview .dz-size {
  font-size: 12px; /* Adjust font size */
  color: #333;    /* Adjust the color */
}

/* TRIP DETAILS IN PAYMENT/INVOICE */

.trip-list {
  color: black;
  border: 2px solid #ccc;
  padding: 10px;
  margin: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.3s;
}
.trip-list.selected {
  border-color: darkblue;
}
.trip-details-row {
display: flex;
justify-content: space-between;
padding-bottom: 5px;
}
.trip-details-row div {
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.trip-list input[type="checkbox"] {
margin-right: 10px;
}
.invalid-feedback {
display: none;
}
.is-invalid ~ .invalid-feedback {
display: block;
}
.trip-list-container{
max-height: 400px;
overflow-y: auto;
}

/* FIXED FOOTER */

/* fixed footer */

.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #f8f9fa;
  border-top: 1px solid #ddd;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1030;
  display: none; /* Hidden by default */
}
.footer-btn {
  text-align: center;
  padding: 5px;
  font-size: 14px;
}
.footer-btn a {
  text-decoration: none;
  color: #495057;
  font-size: 14px;
  display: block;
  padding: 8px;
  border-radius: 5px;
}
.footer-btn a:hover,
.footer-btn a.active {
  background-color: #0d6efd; /* Bootstrap primary color for active state */
  color: #fff;
}

.footer-btn i {
  display: block;
  font-size: 20px;
}

/* Media Query: Show footer on mobile and tablet only */
@media (max-width: 991.98px) {
  .fixed-footer {
      display: flex;
      justify-content: space-around;
  }

  #dynamicLink{
    display: none;
  }
}

@media (min-width: 992px) {

  /* PDF Icon Style */
  .fas.fa-file-pdf {
    font-size: 20px;
  }

  /* Add transition effect */
  #dynamicLink {
    animation: bounceIn 1s ease-out;
  }

  /* AI Button Styling */
  #dynamicLink {
    position: fixed;
    z-index: 10000;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  }

  #dynamicLink:hover {
    background-color: #0056b3;
    transform: scale(1.1); /* Scale effect on hover */
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3); /* Enhanced shadow effect */
  }

  #dynamicLink i {
    color: white;
    font-size: 24px;
  }

  /* Special glowing effect */
  #dynamicLink::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.5);
    animation: pulse 1.5s infinite ease-in-out;
    z-index: -1;
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.2);
      opacity: 0.7;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  /* Bounce animation */
  @keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
  }
}


/* DASHBOARD CSS */


.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
  margin: 10px -10px;
  padding: 20px 30px;
  text-align: center;
  border-radius: 10px;
}

.dashboard a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333333;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard a:hover {
  transform: scale(1.05);
}

.dashboard a .icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
}

.dashboard a .icon {
  font-size: 36px;
  color: #4e54c8;
}

.dashboard a .text {
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .dashboard {
    grid-template-columns: repeat(4, 1fr);
  }

  .dashboard a {
    font-size: 0.9rem;
  }
}

@media screen and (min-width: 992px) {
  .dashboard-show{
    display: none;
  }
}

/* CSS FOR STEPPER FOR TRIP DASHBOARD */

.stepper-horizontal {
  width: 100%;
  overflow-x: auto;
  margin: 0 auto;
}
.stepper-horizontal .step {
  display: table-cell;
  position: relative;
  padding: 0.5rem;
  z-index: 2;
  width: 10%;
}
.stepper-horizontal .step:last-child .step-bar-left, .stepper-horizontal .step:last-child .step-bar-right {
  display: none;
}
.stepper-horizontal .step .step-circle {
  width: 2rem;
  height: 2rem;
  margin: 0 auto;
  margin-top: 15px;
  border-radius: 50%;
  text-align: center;
  line-height: 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  z-index: 2;
  border: 2px solid #d9e2ec;
}
.stepper-horizontal .step.done .step-circle {
  background-color: #199473;
  border: 2px solid #199473;
  color: #ffffff;
}
.stepper-horizontal .step.done .step-circle:before {
  font-family: "FontAwesome";
  font-weight: 100;
  content: "";
}
.stepper-horizontal .step.done .step-circle * {
  display: none;
}
.stepper-horizontal .step.done .step-title {
  color: #102a43;
}
.stepper-horizontal .step.editing .step-circle {
  background: #ffffff;
  border-color: #199473;
  color: #199473;
}
.stepper-horizontal .step.editing .step-title {
  color: #199473;
  text-decoration: underline;
}
.stepper-horizontal .step .step-title {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.stepper-horizontal .step .step-title,
.stepper-horizontal .step .step-optional {
  text-align: center;
  color: #829ab1;
}
.stepper-horizontal .step .step-optional {
  font-size: 0.75rem;
  font-style: italic;
  color: #9fb3c8;
}
.stepper-horizontal .step .step-bar-left,
.stepper-horizontal .step .step-bar-right {
  position: absolute;
  top: calc(2rem + 5px);
  height: 5px;
  background-color: #d9e2ec;
  border: solid #d9e2ec;
  border-width: 2px 0;
}
.stepper-horizontal .step .step-bar-left {
  width: calc(100% - 2rem);
  left: 50%;
  margin-left: 1rem;
  z-index: -1;
}
.stepper-horizontal .step .step-bar-right {
  width: 0;
  left: 50%;
  margin-left: 1rem;
  z-index: -1;
  transition: width 500ms ease-in-out;
}
.stepper-horizontal .step.done .step-bar-right {
  background-color: #199473;
  border-color: #199473;
  z-index: 3;
  width: calc(100% - 2rem);
}
.badge {
  cursor: pointer;
}



