.rtl .de_count h3, .rtl .de_count h5 {
    text-align: inherit;
}

.vehicle-img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
}

.d-item_like{
    cursor: pointer;
}

.vehicle-name {
    color: inherit !important;
}


.unav{
    display: block;
    right: auto;
    left: 0;
    position: absolute;
    bottom: 5px;
}


.label {
    align-items: center;
    border-radius: .5rem;
    display: inline-flex;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1rem;
    padding: .25rem .625rem;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

.label-danger {
    --tw-border-opacity: 1;
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(254 242 242/var(--tw-bg-opacity));
    border-color: rgb(254 226 226/var(--tw-border-opacity));
    border-style: solid;
    border-width: 1px;
    color: rgb(220 38 38/var(--tw-text-opacity));
}

.label-success {
    --tw-border-opacity: 1;
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(240 253 244/var(--tw-bg-opacity));
    border-color: rgb(187 247 208/var(--tw-border-opacity));
    border-style: solid;
    border-width: 1px;
    color: rgb(22 163 74/var(--tw-text-opacity));
}

.label-warning {
    --tw-border-opacity: 1;
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(254 252 232/var(--tw-bg-opacity));
    border-color: rgb(254 240 138/var(--tw-border-opacity));
    border-style: solid;
    border-width: 1px;
    color: rgb(153, 135, 0) !important;
}

.label-dark {
    --tw-border-opacity: 1;
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(248 250 252/var(--tw-bg-opacity));
    border-color: rgb(226 232 240/var(--tw-border-opacity));
    border-style: solid;
    border-width: 1px;
    color: rgb(51 65 85/var(--tw-text-opacity));
}

.label-info {
    --tw-border-opacity: 1;
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(231, 252, 255) !important;
    border-color: rgb(156, 239, 249) !important;
    border-style: solid;
    border-width: 1px;
    color: #1f7a72;;
}

.label-primary {
    --tw-border-opacity: 1;
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(232, 244, 255) !important;
    border-color: rgb(207, 231, 255) !important;
    border-style: solid;
    border-width: 1px;
    color: rgb(9, 117, 224) !important;
}

.label-secondary {
    --tw-border-opacity: 1;
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgba(36, 114, 151, 0.1) !important;
    border-color: rgb(162, 208, 230) !important;
    border-style: solid;
    border-width: 1px;
    color: rgba(var(--secondary-rgb),var(--text-opacity)) !important
}

.pagination .active .page-link{
    padding: 15px 20px 15px 20px;
}

.pagination .disabled .page-link{
    padding: 15px 20px 15px 20px;
}


.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* *******************************************************************/


#payment-form {
    width: 30vw;
    min-width: 500px;
    align-self: center;
    /*box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),*/
    /*0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);*/
    border-radius: 7px;
    /*padding: 40px;*/
    margin-top: auto;
    margin-bottom: auto;
}

.hidden {
    display: none;
}

#payment-message {
    color: rgb(105, 115, 134);
    font-size: 16px;
    line-height: 20px;
    padding-top: 12px;
    text-align: center;
}

#payment-element {
    margin-bottom: 24px;
}

/* Buttons and links */
.pay-button {
    background: #0055DE;
    font-family: Arial, sans-serif;
    color: #ffffff;
    border-radius: 4px;
    border: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
}
.pay-button:hover {
    filter: contrast(115%);
}
.pay-button:disabled {
    opacity: 0.5;
    cursor: default;
}



/* Payment status page */
#payment-status {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 30px;
    width: 30vw;
    min-width: 500px;
    min-height: 380px;
    align-self: center;
    box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
    0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
    border-radius: 7px;
    padding: 40px;
    opacity: 0;
    animation: fadeInAnimation 1s ease forwards;
}

#status-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

#details-table {
    overflow-x: auto;
    width: 100%;
}

.TableContent {
    text-align: right;
    color: #6D6E78;
}

.TableLabel {
    font-weight: 600;
    color: #30313D;
}

#view-details {
    color: #0055DE;
}

#retry-button {
    text-align: center;
    background: #0055DE;
    color: #ffffff;
    border-radius: 4px;
    border: 0;
    padding: 12px 16px;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes fadeInAnimation {
    to {
        opacity: 1;
    }
}

@media only screen and (max-width: 600px) {
    form, #payment-status{
        width: 80vw;
        min-width: initial;
    }
}


.spinner-front {
    width: 30px;
    height: 30px;
    border: 5px solid rgb(255, 255, 255);
    border-top-width: 5px;
    border-top-style: solid;
    border-top-color: rgb(255, 255, 255);
    border-top: 5px solid #0ECA46;
    border-radius: 50%;

    animation: spin 1s linear infinite;
    text-align: center;
}


.table-payment-summary > :not(caption) > * > * {
    padding: 0.4rem .4rem !important;
}

.tdt {
    font-size: 15px !important;
    font-weight: 600 !important;
}

.tdc {
    font-size: 15px !important;
    font-weight: 500 !important;
}

.spinner {
    display: flex;
    vertical-align: middle;
    margin: 3px auto 0;
    text-align: center;
    height: 30px;
    border-top: 5px solid #FFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    width: 30px;
}


a.btn-sc {
    text-align: center;
}
