.card {
    width: 100%;
    height: 280px;
    perspective: 1000px;
    cursor: pointer;
    border-radius: 0.75rem;
    background:none !important;
    border:none !important;
    font-size:0.8em;
}

@media (max-width: 575px) {
    .card {
        font-size:18px !important;
     }
     .btn-outline-danger{
        background-color:#ee6528 !important;
        color:#ffffff !important;
    }
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/*.card:hover .card-inner {
    transform: rotateY(180deg);
}*/

.card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: start;
    justify-content: center;
    border: 1px solid #ff5900;
    border-radius: 0.75rem;
    overflow: hidden;
}
.trip-card{
    border-radius:0px !important;
    padding:0px !important;
}
/*.card-front {
    background: white;
    border: 1px solid #e5e7eb;
}*/
.trip-card__thumb img{
    border-radius:0px !important;
}
.card-back {
    background: #ffffff;
    transform: rotateY(180deg);
    padding: 15px;
}
.card-back .small{
    margin-bottom:5px !important;
}
.card-back .price{
    color:#ee6528;
    font-weight:bold;
}
.bg-dark{
    opacity: 0.4;
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
}
.view-toggle button {
    padding: 8px 16px;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;
    margin-right: 5px;
}

.view-toggle button.active {
    background-color:#0074ba;
    color: white;
}

.view-section {
    display: none;
}

.view-section.active {
    display: block;
}

#map {
    width: 100%;
    height: 500px;
    background-color: #e5e5e5;
}

.card-back .btn-outline-danger{
    color: #ee6528;
    border-color: #ee6528;
    padding:6px;
    font-size:14px !important;
}

.btn-outline-danger:hover{
    background-color:#ee6528;
    color:#ffffff;
}

.flip-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 8px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.flip-indicator:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.trip-card__title{
  font-weight:bold;
}

.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;  /* circle border */
    color: #fff;             /* arrow color */
    font-size: 14px;
    flex-shrink: 0;
}

