/* ===== Fortune Teller Custom Style ===== */

/* Section background and spacing */
section.bg-white,
section.bg-light {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Search form card style */
#searchForm .input-group-text {
    background-color: #f8f9fa;
    border: none;
}

#searchForm input,
#searchForm select {
    border-radius: 0.5rem;
}

#searchForm button {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

#searchForm button:hover {
    background-color: #0d6efd;
    color: #fff;
    transform: translateY(-1px);
}

/* Card styling */
.card {
    border-radius: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Expert image styling */
.card img {
    border-radius: 0.75rem 0 0 0.75rem;
    object-fit: cover;
}

/* Rating stars */
.card .mb-2 {
    font-size: 1rem;
    color: #ffc107;
}

/* Badge for availability */
.badge.bg-success {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
}

/* Responsive card layout for small devices */
@media (max-width: 767px) {
    .card img {
        border-radius: 0.75rem 0.75rem 0 0;
        height: 220px;
    }
}

/* Pagination styling */
.pagination .page-link {
    border-radius: 0.5rem;
    margin: 0 2px;
    transition: background-color 0.2s ease;
}

.pagination .page-link:hover {
    background-color: #0d6efd;
    color: #fff;
}

.pagination .active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Alert info for search results */
.alert-info {
    border-left: 4px solid #0d6efd;
    background-color: #e9f2ff;
}

/* No results styling */
.alert-warning {
    border-radius: 1rem;
    background-color: #fff3cd;
}

/* Buttons in card footer */
.card .btn {
    border-radius: 0.5rem;
    font-weight: 500;
}

.card .btn-primary {
    background-color: #0d6efd;
    border: none;
}

.card .btn-outline-primary {
    border: 1px solid #0d6efd;
}

.card .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: #fff;
}