.modaltitlecolor {
    color: #ffff;
    font-size: 16px;
    font-weight: 700;
}

.btn-check:checked+.btn-outline-warning {
    background-color: #ffc107;
    color: #ffffff;
    border-color: #ffc107;
}

.btn-check:focus+.btn-outline-warning {
    box-shadow: none;
}

.btn-outline-warning {
    transition: all 0.2s ease-in-out !important;
}

.btn-check:checked+.btn-outline-primary {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
}

.btn-check:focus+.btn-outline-primary {
    box-shadow: none;
}

.btn-outline-primary {
    transition: all 0.2s ease-in-out !important;
}



/* Modern Astrologer Card Styles */

/* CARD */
.astro-card-modern {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    overflow: hidden;
}

/* INNER */
.astro-card-inner {
    display: flex;
    gap: 15px;
    padding: 7px 15px;
    align-items: center;
}

/* IMAGE */
.astro-img-container {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #b38022;
}

.detail-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.astro-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* STATUS */
.astro-img-wrapper {
    position: relative;
}

.astro-status-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.specific-Clr-Online {
    background: #28a745;
    color: #fff;
}

.specific-Clr-Offline {
    background: #e41c2c;
    color: #fff;
}

.astro-status-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

/* INFO */
.astro-info-section {
    flex: 1;
    min-width: 0;
}

.astro-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

/* RATING */
.astro-rating-row {
    display: flex;
    gap: 10px;
    margin: 5px 0;
    justify-content: space-between;
}

.rating-value {
    color: #f39c12;
    font-weight: bold;
}



.astro-experience {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* DETAILS */
.astro-details-grid {
    margin-top: 5px;
}

.astro-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
    min-width: 0;
}

.detail-icon {
    width: 12px;
    height: 12px;
    position: relative;
    top: 5px;
}

/* FOOTER */
.astro-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding: 5px 15px;
}

.price-label {
    font-size: 12px;
    color: #888;
}

.price-amount {
    font-size: 16px;
    font-weight: bold;
    color: #e53935;
}

/* BUTTON */
.btn-call-modern {
    background: linear-gradient(135deg, #a47515, #eb9b3b);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

/* ✅ MOBILE FIX (IMPORTANT) */
@media (max-width: 576px) {

    .astro-card-inner {
        flex-direction: row;
        /* SAME as desktop */
        align-items: center;
    }

    .astro-img-container {
        width: 70px;
        height: 70px;
    }

    .astro-name {
        font-size: 16px;
    }

    .astro-footer {
        flex-direction: row;
        /* SAME as desktop */
    }

    .btn-call-modern {
        width: auto;
    }
}