@import url(https://fonts.bunny.net/css?family=dm-sans:400,500,700);
/*import vendors*/
@import url(vendors/normalize.css);
@import url(vendors/bootstrap.min.css);
@import url(vendors/uicons-regular-rounded.css);
@import url(plugins/swiper-bundle.min.css);
@import url(plugins/magnific-popup.css);
@import url(plugins/select2.min.css);
@import url(plugins/slick.css);
@import url(plugins/jquery-ui.css);
@import url(plugins/perfect-scrollbar.css);
@import url(plugins/animate.css);
@import url(plugins/jquery.timepicker.min.css);


.module-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.module-content::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}
.module-content::-webkit-scrollbar-thumb {
  background-color: #2553a2;
  border-radius: 4px;
}
.module-content::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

body,
html {
  overflow-x: hidden;
}
/* Dasboard Page Start */
.header-user {
  width: 50px;
}
.header-blue {
  background-color: #2553a2;
}
.dash-header {
  justify-content: space-between;
  display: flex;
}
.header-left {
  justify-content: space-between !important;
}
.header-right {
  align-items: center;
  gap: 20px;
  justify-content: end;
}
.header-right img {
  pointer-events: none;
}
.main-dashboard {
  width: 100%;
}

.sidebar-user--img {
  width: 50px;
}
aside {
  flex-basis: 20%;
  height: 85vh;
}
.module-content {
  flex-basis: 80%;
  height: 85vh;
  overflow-y: scroll;
  scroll-behavior: smooth;
  color: #333;
}
aside h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2553a2;
}
.module-icon {
  width: 28px;
}
aside ul li {
  padding: 8px 0px 8px 12px;
}
ul a{
  text-decoration: none !important;
}
aside ul li h4 {
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
aside ul li h4:hover {
  color: #df2839;
}
aside ul li:hover {
  background-color: #f3f5f8;
  border-radius: 12px;
}
.hover-color-change:hover svg path {
  fill: #df2839;
  transition: 0.3s;
}
.hover-color-change:hover h4 {
  color: #df2839;
}

.stat-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.stat-icon {
  background-color: #fce8e8;
  color: #df2839;
  padding: 0.75rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}
.common-btn {
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.common-btn:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.btn-book {
  background-color: #e92035;
}
.btn-view {
  background-color: #2553a2;
}

.ride-status {
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
}
.ride-status.completed {
  background-color: #d1e7dd;
  color: #0f5132;
}
.ride-status.upcoming {
  background-color: #fff3cd;
  color: #664d03;
}
.header-crumb{
    font-size: 28px;
    font-weight: 600;
}
.menu{
    width: 20px;
    cursor: pointer;
    display: none;
}
/* Dasboard Page End */

/* My Profile Page Start */
.profile-container {
    width: 100%;
    margin: auto !important;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.profile-picture {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #2553a2;
}

.edit-button {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #e92035;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
}

.required::after {
    content: "*";
    color: #e92035;
    margin-left: 4px;
}

.form-control:focus {
    border-color: #2553a2;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-save {
    background: #2553a2;
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    width: 100%;
    font-weight: 500;
    margin-top: 1rem;
}

.btn-save:hover {
    background: #6A91D5;
}

.form-check-input:checked {
    background-color: #2553a2;
    border-color: #2553a2;
}
/* My Profile Page End */

/* Change Password Page Start */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.card-header {
    background-color: #2553a2;
    color: white;
    border-radius: 12px 12px 0 0 !important;
}
.card-header h4{
    font-size: 17px;
}
.update-btn {
    background-color: #2553a2;
    border-color: #2553a2;
    padding: 8px;
    border-radius: 8px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.update-btn:hover {
    background-color: #1E4A8D;
    border-color: #1E4A8D;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.password-strength {
    height: 5px;
    transition: all 0.3s ease;
}
/* Change Password Page End */
/* Book a Ride Page Start */
.btn-primary {
    background-color: #2553a2;
    border-color: #2553a2;
}
.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
.card {
    border-color: #2553a2;
}
.card-header {
    background-color: #2553a2;
}
.form-control:focus {
    border-color: #2553a2;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.txt-line{
  font-weight: 600;
  color: #2553a2;
}
/* Book a Ride Page End */

/* My Ride Page Start */
.btn-primary {
  background-color: #2553a2;
  border-color: #2553a2;
}
.btn-secondary {
  background-color: #e92035;
  border-color: #e92035;
}
.card {
  border: none;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
  transition: all 0.3s ease;
}
.card img{
  object-position: center;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,.15);
}
.card-header {
  background-color: #2553a2;
  color: #f8f9fa;
  border-bottom: none;
}
.car-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.ride-info {
  padding: 1rem;
  background-color: rgba(13, 110, 253, 0.1);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.ride-info p {
  margin-bottom: 0.5rem;
}
.icon-text {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.icon-text i {
  margin-right: 0.5rem;
  color: #2553a2;
}
.filters {
  background-color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border: 1px solid #ccc;
  margin-bottom: 2rem;
}
.filters select{
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.my-ride-btn{
  border-radius: 12px !important;
}
/* My Ride Page End */
/* Help and Support Page Start */
.hero {
  background-color: #2553a2;
  color: #f8f9fa;
  border-radius: 25px;
  padding: 4rem 0;
}
.card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}
.card:hover {
  transform: translateY(-5px);
}
.card-header {
  background-color: #2553a2;
  color: #f8f9fa;
  border-bottom: none;
}
.btn-primary {
  background-color: #2553a2;
  border-color: #2553a2;
}
.btn-danger {
  background-color: #e92035;
  border-color: #e92035;
}
/* Help and Support Page End */

/* Logout Modal Start */
.modal-content {
  border: none;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}
.modal-header {
  background: linear-gradient(135deg, #2553a2, #4a8bff);
  color: #f8f9fa;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 1.5rem;
  border-bottom: none;
}
.modal-body {
  padding: 2.5rem;
}
.modal-footer {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 1.5rem;
  border-top: none;
  background-color: rgba(0, 0, 0, 0.03);
}
.btn-logout {
  background: linear-gradient(135deg, #e92035, #ff6b6b);
  border: none;
  color: #f8f9fa;
  padding: 10px 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.btn-logout:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}
.btn-cancel {
  background-color: #f8f9fa;
  color: #212529;
  border: 1px solid #ced4da;
  padding: 10px 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.btn-cancel:hover {
  background-color: #e9ecef;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
}
.logout-icon {
  font-size: 4rem;
  background: linear-gradient(135deg, #2553a2, #e92035);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}
.modal-body p {
  font-size: 1.1rem;
  color: #212529;
}
.btn-close {
  color: #f8f9fa;
  opacity: 1;
}
.btn-close:hover {
  opacity: 0.75;
}
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
}
.modal.fade .modal-content {
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.3s ease;
}
.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}
.modal-close-btn{
  top: 50%;
  right: 1.5%;
  transform: translate(-50%,-30%);
}
/* Logout Modal End */


/* Sidebar Modal Start */
.sidebar-modal {
  position: fixed;
  top: 0;
  left: -300px; /* Off-screen initially */
  height: 100%;
  width: 300px;
  background-color: white;
  color: #fff;
  transition: left 0.3s ease-in-out;
  z-index: 1055; /* Above other content */
}

/* Overlay for the modal background */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  z-index: 1050;
}

/* Active class for showing the sidebar */
.sidebar-modal.show {
  left: 0;
}

/* Active class for showing the overlay */
.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}
.sidebar-close-btn{
  text-align: end;
  padding-right: 5px;
  padding-top: 5px;
  width: 100%;
}
.sidebar-close-btn button{
  border: none;
  background-color: transparent;
}
/* Sidebar Modal End */


@media only screen and (min-width: 200px) and (max-width: 575px) {
    .header-crumb{
        font-size: 20px;
    }
    .help-title{
      font-size: 24px !important;
    }
}
@media only screen and (min-width: 200px) and (max-width: 991px) {
}

@media only screen and (min-width: 200px) and (max-width: 1271px) {
    aside {
        flex-basis: 100%;
        height: 85vh;
        display: none !important;
      }
      .menu{
        display: block;
      }
      .mobile-aside{
        display: block !important;
      }
      .module-content {
        flex-basis: 100%;
        margin: 0px 12px;
        height: 100%;
        overflow-y: hidden;
      }    

}
