.form-group.has-error .help-block {
    color: red;
}

.cars-list {
    max-width: 500px;
}

.card {
    box-shadow: 0 0 0 .05rem rgba(8, 60, 130, .06), 0 0 1.25rem rgba(30, 34, 40, .04);
    border: 0;
    background: #fff;
}

card {
    --bs-card-spacer-y: 2rem;
    --bs-card-spacer-x: 2rem;
    --bs-card-title-spacer-y: 0.5rem;
    --bs-card-border-width: 1px;
    --bs-card-border-color: rgba(164, 174, 198, 0.2);
    --bs-card-border-radius: 0.4rem;
    --bs-card-inner-border-radius: 0.4rem;
    --bs-card-cap-padding-y: 0.9rem;
    --bs-card-cap-padding-x: 2rem;
    --bs-card-cap-bg: transparent;
    --bs-card-bg: #fff;
    --bs-card-img-overlay-padding: 1rem;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
    background: #fff;
}

figure {
    margin: 0;
    padding: 0;
}

.card-img-top img {
    border-top-left-radius: .4rem;
    border-top-right-radius: .4rem;
}

figure img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    vertical-align: middle;
}

.cars-list .project article .card-body {
    padding: 1rem 1rem 1rem 1rem !important;
}

.cars-list-item .card-body {
    position: relative;
}

.card-body {
    flex: 1 1 auto;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
    color: var(--bs-card-color);
}

.cars-list-item .price-details {
    position: absolute;
    top: -7rem;
    left: 0;
}

.cars-list-item .price-details .rent-details {
    display: block;
    position: relative;
    padding: 0.8rem;
    background: #28ccff;
    width: 130%;
}

.cars-list-item .price-details .rent-details p {
    font-size: 22px;
    font-weight: bold;
}

.cars-list-item .price-details .rent-details p, .cars-list-item .price-details .deposit-details p {
    margin: 0;
    color: #fff;
    box-sizing: border-box;
    display: block;
    line-height: 37.4px;
    font-family: Manrope, sans-serif;
    font-size: 22px;
    font-weight: 700;
    overflow-wrap: break-word;
    text-align: start;
    text-size-adjust: 100%;
    unicode-bidi: isolate;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.cars-list-item .price-details .deposit-details {
    display: block;
    position: relative;
    padding: 0.6rem;
    background: #ffc74e;
}

.cars-list-item h3.post-title {
    max-height: 70px;
    min-height: 70px;
}

.cars-list article .card-footer {
    padding: 1rem 1rem 1rem 1rem !important;
}

.h3.post-title, h3.post-title {
    padding: 20px;
    font-size: 1.2rem;
    box-sizing: border-box;
    color: rgb(52, 63, 82);
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: normal;
    margin-top: 15px;
    max-height: 70px;
    min-height: 70px;
    overflow-wrap: break-word;
    text-align: start;
    text-size-adjust: 100%;
    unicode-bidi: isolate;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.post-content {
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}

.post-content p {
    box-sizing: border-box;
    color: rgb(96, 105, 123);
    display: block;
    font-family: Manrope, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 27.2px;
    margin-block-end: 20px;
    margin-block-start: 0px;
    margin-bottom: 20px;
    margin-inline-end: 0px;
    margin-inline-start: 0px;
    margin-top: 0px;
    overflow-wrap: break-word;
    text-align: start;
    text-size-adjust: 100%;
    unicode-bidi: isolate;
    word-spacing: 1px;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.h-15 {
    height: 5rem !important;
}

.cars-list .project article .card-footer {
    padding: 1rem 1rem 1rem 1rem !important;
}

.cars-list-item .card-footer.car-details {
    background: #f1f1f1;
}

.card-footer {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    color: var(--bs-card-cap-color);
    background-color: var(--bs-card-cap-bg);
    border-top: var(--bs-card-border-width) solid var(--bs-card-border-color);
}


.post-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .7rem;
    color: #aab0bc;
}

.mb-0 {
    margin-bottom: 0 !important;
}


.d-flex {
    display: flex !important;
    width: 100%;
    justify-content: space-between; /* Distributes items evenly */
}

.post-meta li {
    flex: 1; /* Makes each li take equal space */
    text-align: center; /* Centers text inside each li */
    list-style: none; /* Removes bullet points */
}

.cars-list-item .card-footer.car-details li {
    padding-left: 10px;
    padding-right: 10px;
    color: #565656;
    font-weight: bold;
}

.post-meta li {
    display: inline-block;
}

.post-meta li i {
    padding-right: .2rem;
    font-size: 14px;
}

.post-meta li span {
    box-sizing: border-box;
    color: rgb(86, 86, 86);
    display: inline;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    line-height: 23.8px;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    overflow-wrap: break-word;
    text-align: left;
    text-size-adjust: 100%;
    width: auto;
    word-spacing: 1px;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.pagination{
    margin-top: 1rem;
}
.pagination li span {
    min-width: 40px;
    margin-right: 0.5rem;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-weight: 500;

}

.pagination li.pagination__link--active .pagination__link{
    font-weight: 500;
    box-shadow: 0px 3px 20px #0000000b;
    position: relative;
    border-radius: 0.375rem;
    border-color: transparent;
    --tw-bg-opacity: 1;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
}

.bg-green-500 {
    background-color: #22c55e !important; /* Tailwind: green-500 */
    color: white !important;
}

.bg-yellow-500 {
    background-color: #eab308 !important; /* Tailwind: yellow-500 */
    color: white !important;
}

.bg-red-500 {
    background-color: #ef4444 !important; /* Tailwind: red-500 */
    color: white !important;
}

.chart-user-container {
    position: relative;
}


.chart-user-container .loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
