/* Premium Puja Card Styling for thepujapandit */

/* Base container for the card */
.pooja-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 1.125rem;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    cursor: pointer;
}

/* Hover state for the card */
.pooja-card:hover {
    align-items: flex-start;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 153, 51, 0.4);
}

/* Icon container with soft brand-colored background */
.pooja-icon-wrapper {
    width: 48px;
    height: 48px;
    background: #fff8f0;
    /* Very soft saffron/orange tint */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ff9933;
    /* Saffron brand color */
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 153, 51, 0.05);
}

.pooja-card:hover .pooja-icon-wrapper {
    background: #ff9933;
    color: #ffffff;
    transform: rotate(8deg) scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.2);
}

/* Content wrapper */
.pooja-content {
    display: flex;
    flex-direction: column;
    padding-top: 0.125rem;
}

/* Title styling */
.pooja-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.pooja-card:hover h3 {
    color: #ff9933;
}

/* Stretched link for the whole card */
.pooja-link {
    color: inherit;
    text-decoration: none;
}

/* Description styling with smooth reveal transition */
.pooja-description {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pooja-card:hover .pooja-description {
    max-height: 3.2rem;
    /* Space for 2 lines */
    opacity: 1;
    visibility: visible;
    margin-top: 0.375rem;
}

/* Responsive adjustment for row column gaps */
.row-cols-1.g-3>.col {
    margin-bottom: 0.5rem;
}

@media (max-width: 576px) {
    .pooja-card {
        padding: 1rem;
    }

    .pooja-icon-wrapper {
        width: 48px;
        height: 48px;
    }
}

#searchResults,
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    z-index: 1050;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}

.search-suggestions .list-group-item {
    border: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.search-suggestions .list-group-item:hover {
    background-color: #fff8f0;
    color: #ff9933;
}






#cropImageModal .modal-dialog {
    max-width: 520px !important;
    width: 520px !important;
    margin: 1.75rem auto !important;
}

#cropImageModal .modal-content {
    background: #000 !important;
    border: none !important;
    border-radius: 12px !important;
    overflow: visible !important;
}

#cropImageModal .modal-body {
    position: relative !important;
    width: 520px !important;
    height: 520px !important;
    padding: 20px !important;
    background: #000 !important;
    overflow: hidden !important;
}

#cropImageModal #cropper-preview-image {
    max-width: 100%;
}

#cropImageModal .cropper-hidden {
    display: none !important;
}

#cropImageModal .cropper-container {
    width: 480px !important;
    height: 480px !important;
    margin: 0 auto !important;
}

#cropImageModal .cropper-wrap-box,
#cropImageModal .cropper-canvas,
#cropImageModal .cropper-drag-box {
    width: 480px !important;
    height: 480px !important;
}

#cropImageModal .cropper-view-box {
    outline: 2px solid #fff !important;
    outline-color: rgba(255, 255, 255, 0.9) !important;
}

#cropImageModal .cropper-line,
#cropImageModal .cropper-point {
    background-color: #fff !important;
}

#cropImageModal .cropper-modal {
    background-color: #000 !important;
    opacity: 0.5 !important;
}

#cropImageModal .crop-close-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 35px !important;
    height: 35px !important;
    border: none !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 40px !important;
    text-align: center !important;
    cursor: pointer !important;
    z-index: 99999 !important;
    padding: 0 !important;
}

#cropImageModal .crop-done-btn {
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    width: 35px !important;
    height: 35px !important;
    border: none !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 40px !important;
    text-align: center !important;
    cursor: pointer !important;
    z-index: 99999 !important;
    padding: 0 !important;
}





#cropImageModal .modal-dialog {
    max-width: 520px;
}

#cropImageModal .modal-content {
    background: #000;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

#cropImageModal .modal-body {
    position: relative;
    width: 100%;
    height: 520px;
    padding: 20px;
    background: #000;
}

#cropper-preview-image {
    max-width: 100%;
}

/* ❌ Close button */
.crop-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

/* ✔ Done button */
.crop-done-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #28a745;
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
}





#cropImageModal .modal-dialog {
    max-width: 520px !important;
    width: 520px !important;
    margin: 1.75rem auto !important;
}

#cropImageModal .modal-content {
    background: #000 !important;
    border: none !important;
    border-radius: 12px !important;
    overflow: visible !important;
}

#cropImageModal .modal-body {
    position: relative !important;
    width: 520px !important;
    height: 520px !important;
    padding: 20px !important;
    background: #000 !important;
    overflow: hidden !important;
}

#cropImageModal #cropper-preview-image {
    max-width: 100%;
    display: block;
}

.crop-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 26px;
    line-height: 1;
    z-index: 1056;
    cursor: pointer;
}

.crop-done-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #28a745;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    z-index: 1056;
    cursor: pointer;
}



.simple-profile-card {
    background: #ebecec;
    border-radius: 18px;
    padding: 28px 20px 24px;
    text-align: center;
    transition: 0.25s ease;
}

.simple-profile-card:hover {
    transform: translateY(-4px);
}

/* IMAGE WRAPPER */
.profile-img-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 14px;
}

/* PROFILE IMAGE */
.simple-profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #ddd;
}

.simple-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* VERIFIED BADGE */
.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #22c55e;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    font-size: 14px;
}

/* NAME */
.simple-profile-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

/* EMAIL */
.simple-profile-email {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

/* META */
.profile-meta {
    font-size: 13px;
    color: #444;
    margin-bottom: 14px;
}

.profile-meta .divider {
    margin: 0 6px;
    color: #999;
}

/* BUTTON */
.simple-profile-btn {
    background: #ff9933 !important;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.simple-profile-btn:hover {
    background: #ff9933 !important;
}



.active-tab-btn {
    background-color: #212529 !important;
    color: #fff !important;
    border-color: #212529 !important;
}

.simple-profile-card {
    background: #f3f3f3;
    border-radius: 18px;
    padding: 28px 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.simple-profile-card:hover {
    transform: translateY(-4px);
}

.profile-img-wrapper {
    position: relative;
    width: 108px;
    height: 108px;
    margin: 0 auto 16px;
}

.simple-profile-img {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
}

.simple-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verified-badge {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    font-size: 14px;
}

.simple-profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111827;
}

.simple-profile-email {
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 15px;
    word-break: break-word;
}

.profile-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    font-size: 15px;
    color: #374151;
}

.profile-meta .divider {
    color: #9ca3af;
}

.simple-profile-btn {
    display: inline-block;
    background: #ff9f2f;
    color: #fff;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.simple-profile-btn:hover {
    background: #f28c00;
    color: #fff;
}

.custom-profile-title {
    font-size: 30px;
    /* adjust like 18px / 22px */
    font-weight: 600;
}

