/* Custom Select Box Styling */
.custom-dropdown .custom-select-box {
    appearance: none;
    border-radius: 5px;
    padding: 12px;
    font-size: 15px;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;

}

.custom-checkbox .custom-checkbox-container {
    appearance: none;
    border-radius: 5px;
    padding: 12px;
    font-size: 15px;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.custom-date-filter .custom-input-box,
.custom-search .custom-input-box,
.custom-btn-con .custom_btn_add {
    width: 100%;
    border-radius: 5px;
    padding: 12px;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}


.custom-textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    resize: none;
    min-height: 100px;
    transition: border-color 0.3s ease-in-out;
}

.custom-textarea:focus {
    outline: none;
    border-color: #28a745;
}

@media (max-width: 576px) {
    .customModal-body-content {
        flex-wrap: wrap;
    }
}

.custom_btn_add {
    background-image: linear-gradient(195deg, #EF5350 0%, #E53935 100%);
    cursor: pointer;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.custom_btn_add:hover {
    background-color: #eb3a40;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-wrapper {
    position: relative;
}


.custom-select-box:focus,
.custom-input-box:focus {
    outline: none !important;
    border-color: #a09d9d;
}

input.custom-color-input:focus {
    background-color: rgba(232, 240, 254, 1);
    outline: none;
}

@media (max-width: 768px) {

    .custom-dropdown .custom-select-box,
    .custom-date-filter .custom-input-box,
    .custom-search .custom-input-box {
        margin-bottom: 10px;
    }
}

.custom-dropdown,
.custom-date-filter,
.custom-search,
.custom-btn-con {
    margin-bottom: 15px;
}

.pagination-container {
    display: flex;
    justify-content: end;
    align-items: baseline;
    padding: 10px 10px;
    gap: 20px;
    margin-top: 10px;
}

.table-responsive {
    overflow-x: auto;
}

.table tbody,
.table tr,
.table td {
    padding: auto;
    text-align: center !important;
}

.table thead th {
    text-align: center !important;
}

@media (max-width: 800px) {
    .table thead {
        display: none;
    }

    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }
    .table tr{
        border-bottom: 1px solid rgb(0, 0, 0) !important;
    }
    .table tr td{
        border-bottom:  1px solid rgba(128, 128, 128, 0.726);
    }

    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 10px;
        white-space: nowrap;
        font-weight: bold;
        color: #6c757d;
    }

    /* .table td:last-child {
        border-bottom: 0;
    } */
}

@media (min-width: 769px) and (max-width: 2000px) {
    .table-responsive {
        overflow-x: auto;
    }
}


.avatar {
    position: relative;
    width: 100%;
}

#profile_image_edit {
    width: 100%;
    border-radius: 12px;
    transition: filter 0.3s ease;
}

#adminProfileImage {
    width: 100%;
    border-radius: 12px;
    transition: filter 0.3s ease;
}

.shadow-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 330px 330px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.edit-icon {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.5rem;
    border-radius: 50%;
    background-color: #c9ceca;
    color: white;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.avatar:hover .shadow-overlay,
.avatar:hover .edit-icon {
    opacity: 1;
}

.avatar:hover #profile_image_edit {
    filter: brightness(0.7);
}

.avatar:hover #adminProfileImage {
    filter: brightness(0.7);
}

input.custom-color-input {
    padding: 0.5rem 10px !important;
    transition: background-color 0.3s ease;
}


/* On focus */
.small_font {
    padding: 3px;
    float: right;
    text-align: end;
    font-size: 12px !important;
}


.input-group-text {
    position: absolute;
    right: 3% !important;
    top: 0;
    height: 100%;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 2;
}

.cancel-button {
    top: 0px;
    right: -10px;
    background-color: transparent;
    border: none;
    color: rgb(216, 27, 27);
    padding: 5px;
    cursor: pointer;
    display: none;
}

.cancel-button i {
    font-size: 18px;
}

/* Show cancel button when an image is selected */
.avatar img.has-image+.cancel-button {
    display: block;
}

.intl-tel-input {
    width: 100%;
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background-color: rgba(232, 240, 254, 1) !important;
}

.iti {
    width: 100%;
}

.input_pointer:focus {
    background-color: rgba(232, 240, 254, 1) !important;
    ;
}

/* custom input */

.input-group-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: start;
    flex-direction: column;
    margin-bottom: 5px;
    gap: 5px !important;
}

.custom-input {
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
    font-size: 14px;
    color: #495057;
    width: 100%;
}

.custom-input:focus {
    border-color: #b3b5b6;
    outline: none;
    /* box-shadow: 0 0 5px #EC1F25; */
}

.custom-input[disabled] {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.custom-label {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
}

@media (max-width: 576px) {
    .customModal-body-content {
        flex-wrap: wrap;
    }
}

.error-message {
    color: red;
    font-size: 12px;
    font-weight: 500;
    padding: 5px;
    justify-content: end;
}

/* export-buttons */
.export-buttons {
    display: flex;
    gap: 20px;
    padding: 0px 30px;
    justify-content: end;
    align-items: start;
    flex-wrap: wrap;
}

.export-buttons button {
    background-color: #fff;
    border: 1px solid #EC1F25;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px 20px;
    outline: none;
    font-size: 12px;
    color: #EC1F25;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.export-buttons button:hover {
    background-color: #000000;
    color: #fff;
    border-color: #EC1F25;
    transform: scale(1.05);
}

.export-buttons button:hover i {
    color: #fff;
}

.export-buttons i {
    font-size: 12px;
    padding: 0px 5px;
    color: #EC1F25;
    transition: color 0.3s;
}

.export-buttons button:active {
    background-color: #000;
    color: #fff;
    border-color: #000;
    transform: scale(0.98);
}

.export-buttons button:active i {
    color: #fff;
}
.otp-container {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.otp-box {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    border: 2px solid #ccc;
    border-radius: 4px;
    outline: none;
}
.otp-box:focus {
    border-color: #70b375c5;
    background-color: #F1FFF1;
}

.error-message {
    color: red;
    font-size: 0.9em;
}
.common-btn-size{
    width: 100px !important;
    font-size: x-small !important;
}
@media (max-width: 768px) { /* Adjust for smaller screens */
    .pagination-container {
        justify-content: center;
        align-items: center; /* Center-align items */
    }
    .custom-dropdown, .custom-date-filter, .custom-search, .custom-btn-con {
        margin-bottom: 0px;
    }
}
.no-response {
    cursor: not-allowed !important;
}
.info-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #17a2b8;
    }
    
    /* Tooltip message shown on hover */
    .info-icon:hover::after {
    content: 'The last drop location is considered the destination.'; /* Tooltip message */
    position: absolute;
    bottom: 120%; /* Position tooltip above the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 10px !important;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    }
    
    /* Show tooltip on hover */
    .info-icon:hover::after {
    opacity: 1;
    }

    .text_word_limit {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        position: relative;
    }
    
    .tooltip-text {
        background-color: #333;
        font-size: 12px;
        font-weight: 500;
        color: #fff;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 12px;
        white-space: normal;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transition: opacity 0.2s;
        opacity: 0.9;
        position: absolute;
    }
    .information {
        background-color: #f9f9f9;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 15px;
        margin-top: 10px;
        font-family: Arial, sans-serif;
        line-height: 1.6;
    }
    
    .information-title {
        font-size: 16px;
        color: #333;
        margin: 0;
        font-weight: bold;
    }
    
    .information-description {
        font-size: 14px;
        color: #555;
        margin: 5px 0 0;
    } 
    .not-allowed {
        cursor: not-allowed !important;
      }
   
    /* cancelledReason  display none */
    #cancelledReason {
 display: none !important;
    }
    #cancelledReason-title{
        display: none !important;
    }

  /* stars Css */
  .stars {
    display: inline-block;
    color: #FFD700;  
  }
  
  .stars .material-icons {
    font-size: 40px;
    opacity: 0;
    transform: scale(0.5);
    animation: fadeInScale 0.5s ease-in-out forwards;
  }
  
  @keyframes fadeInScale {
    0% {
      opacity: 0;
      transform: scale(0.5);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  .min-vh300{
    min-height: 300px;
  }
  
.shimmer {
    background: linear-gradient(90deg, #ebeff2 8%, #f9fafb 18%, #ebeff2 33%);
    background-size: 800px 104px;
    animation: shimmer 1.5s infinite linear;
}
@keyframes shimmer {
    0% { background-position: -800px 0; }
    100% { background-position: 800px 0; }
}
.trip-ride-type_img img{
  width: 50px;
}

.cursorNotAllowed{
    cursor: not-allowed !important;
}