﻿.headname {
    color: white;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-align: center;
    background-color: #ffffff00 !important;
}
.topbar-user {
    background-color: #f3f3f900;
}
@media (max-width: 767px) {
    .headname {
        font-size: 1em;
        letter-spacing: 0.1em;
    }
}
.navbar-header {
    /*background-image: url(assets/images/galaxy/beautysky.jpg);*/
    /*background: linear-gradient(to right, #8dbeff, #7daff3);*/
    background: linear-gradient(to right, #a1c0cb, #477eafbd);
    position: relative;
    background-size: cover;
    background-position: top;
}
footer.footer {
    /*background-image: url(assets/images/galaxy/beautysky.jpg);*/
    /*background: linear-gradient(to right, #477eafbd, #73b9e1);*/
    background: linear-gradient(to right, #477eafbd, #a1c0cb);
    background-size: cover;
    background-position: center;
}
    label.profile-photo-edit.btn.btn-light {
    position: absolute;
    top: 5px;
    right: 5px;
}
.navbar-header .btn-topbar {
    height: 42px;
    width: 42px;
    color: #ffffff;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}
.header-profile-user {
    height: 50px;
    width: 50px;
}
.btn-grad1 {
    background-image: linear-gradient(to right, #76b852 0%, #8DC26F  51%, #76b852  100%);
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 5px;
    display: block;
    cursor: pointer;
}
.btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}
button.btn.dynamic-add-button.fw-bolder.fs-20 {
    color: #66ab66;
}
button.btn.dynamic-add-button.fw-bolder.fs-20:hover {
    color: #34ba34;
}

input#profile-foreground-img-file-input {
    visibility: hidden;
}
button#vertical-hover {
    color: darkseagreen;
}
#back-to-top {
    position: fixed;
    bottom: 15px;
    right: 28px;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    display: none;
    z-index: 1000;
}
.btn-grad2 {
    background-image: linear-gradient(to right, #c34747 0%, #d46464  51%, #d05252  100%);
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 5px;
    display: block;
    cursor: pointer;
  }
.pointered{
    cursor: pointer;
}
a.me-2.ps-2.pe-2.pb-1.pt-1.pointered {
    color: red;
}
.greenplus{
    color: #34ba34;
}
.greenplus:hover{
    color: #2d952d;
}
.form-label:not(.exclude-asterisk):after {
    content: "*";
    color: red;
    
}
a.disabled {
    pointer-events: none;
    cursor: default;
}
.hover_note {
    max-width: 100px;
    overflow: hidden;
}
.card-header {
    background-color: #2687a754 !important;
}
.modal-header {
    background-color: #4ecef761 !important;
}
.card-title {
    background-color: #4ecef761 !important;
    padding: 10px;
    border-radius: 5px;
}
div:where(.swal2-container) div:where(.swal2-popup) {
    display: none;
    position: relative;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 100%);
    width: 20em !important;
    max-width: 100%;
    padding: 0 0 1.25em;
    border: none;
    border-radius: 5px;
    background: #fff;
    color: #545454;
    font-family: inherit;
}
.swal2-show {
    animation: swal2-show 1.5s;
}

.swal2-popup .swal2-title {
    color: var(--vz-heading-color);
}
div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right {
    animation: swal2-rotate-success-circular-line 4.25s ease-in;
}
div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right] {
    top: -0.6875em;
    left: 1.875em;
    transform: rotate(-45deg);
    transform-origin: 0 3.75em;
    border-radius: 0 7.5em 7.5em 0;
}
div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line] {
    position: absolute;
    width: 3.75em;
    height: 7.5em;
    transform: rotate(45deg);
    border-radius: 50%;
}
[class^=swal2] {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
div:where(.swal2-container) div:where(.swal2-popup) {
    display: none;
    position: relative;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 100%);
    width: 32em;
    max-width: 100%;
    padding: 0 0 1.25em;
    border: none;
    border-radius: 5px;
    background: #fff;
    color: #545454;
    font-family: inherit;
    font-size: 1rem;
}
div:where(.swal2-container) div:where(.swal2-actions) {
    display: flex;
    z-index: 1;
    box-sizing: border-box;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 1.25em auto 0;
    padding: 0;
}
div:where(.swal2-icon) {
    position: relative;
    box-sizing: content-box;
    justify-content: center;
    width: 5em;
    height: 5em;
    margin: 1.5em auto -0.5em !important;
    border: 0.25em solid rgba(0, 0, 0, 0);
    border-radius: 50%;
    border-color: #000;
    font-family: inherit;
    line-height: 5em;
    cursor: default;
    user-select: none;
}


img.rounded-circle.listimg {
    Also Used for Member Css width: 100px;
    height: 100px;
    object-fit: cover;
}

.avatar-group .avatar-group-item {
    Put this Seperatly in Household and Member if any issuse occur beacause of Facilitymaintenance And Ministries css above margin-left: -12px;
    border: 2px solid var(--vz-secondary-bg);
    border-radius: 50%;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.memberlistimg {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: flex;
}
.hover-listColor tbody tr:hover {
    background-color: aliceblue;
    cursor: pointer;
}

/*-------------Start Preloader---------------*/

/* Full-screen loader overlay */
/*#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 1);*/ /* White background */
    /*z-index: 9999;*/ /* Ensure it stays on top */
    /*display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;*/ /* Ensure the loader catches all events */
/*}*/

    /* Preloader styling */
    /*#loader .churchloader img {
        height: 100px;
        width: 100px;
        animation: smooth-updown 2s ease-in-out infinite;
    }*/

/* Prevent pointer events behind the loader */
/*body.loading {
    pointer-events: none;*/ /* Disable all interactions while loading */
    /*overflow: hidden;*/ /* Disable scrolling while the loader is active */
/*}*/

/* Keyframe animation for smooth up-down scaling motion */
/*@keyframes smooth-updown {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);*/ /* Slightly larger */
    /*}

    100% {
        transform: scale(1);*/ /* Back to original size */
    /*}
}*/


/*Ajax Preloader*/

/*.Ajaxloader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;*/ /* Match card's border radius */
/*}*/

/* From Uiverse.io by Praashoo7 */
/*.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.heading {
    color: black;
    letter-spacing: 0.2em;
    margin-bottom: 1em;
}

.loading {
    display: flex;
    width: 5em;
    align-items: center;
    justify-content: center;
}

.load {
    width: 23px;
    height: 3px;
    background-color: limegreen;
    animation: 1s move_5011 infinite;
    border-radius: 5px;
    margin: 0.1em;
}

    .load:nth-child(1) {
        animation-delay: 0.2s;
    }

    .load:nth-child(2) {
        animation-delay: 0.4s;
    }

    .load:nth-child(3) {
        animation-delay: 0.6s;
    }

@keyframes move_5011 {
    0% {
        width: 0.2em;
    }

    25% {
        width: 0.7em;
    }

    50% {
        width: 1.5em;
    }

    100% {
        width: 0.2em;
    }
}*/
/*-------------End Preloader---------------*/

/*-------------Start Readonly OverLay---------------*/

.Readonlyoverlay {
    position: relative;
}
    .Readonlyoverlay::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 0px;
        width: 100%;
        height: 55%;
        background-color: #eff2f769;
        z-index: 10; /* Ensure it is above the form elements */
        pointer-events: all; /* Block pointer events */
    }
.Readonlyoverlay.hidden::before {
    display: none; /* Hide the overlay */
}
.Readonlyoverlay input,
.Readonlyoverlay select {
    pointer-events: none; /* Disable interaction with form elements */
}
.Readonlyoverlay.hidden input,
.Readonlyoverlay.hidden select {
    pointer-events: auto; /* Enable interaction when overlay is hidden */
}

.husbandmarriageoverlay {
    position: relative;
}
.husbandmarriageoverlay::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0px;
    width: 100%;
    height: 55%;
    background-color: #eff2f769;
    z-index: 10;
    pointer-events: all;
}
.husbandmarriageoverlay.hidden::before {
    display: none;
}
.husbandmarriageoverlay input,
.husbandmarriageoverlay select {
    pointer-events: none;
}
.husbandmarriageoverlay.hidden input,
.husbandmarriageoverlay.hidden select {
    pointer-events: auto;
}
.wifemarriageoverlay {
    position: relative;
}
    .wifemarriageoverlay::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 0px;
        width: 100%;
        height: 55%;
        background-color: #eff2f769;
        z-index: 10;
        pointer-events: all;
    }
.wifemarriageoverlay.hidden::before {
    display: none;
}
.wifemarriageoverlay input,
.wifemarriageoverlay select {
    pointer-events: none;
}
.wifemarriageoverlay.hidden input,
.wifemarriageoverlay.hidden select {
    pointer-events: auto;
}

/*-------------End Readonly OverLay---------------*/
@media (max-width: 767.98px) {
    .crm-widget .col {
        border-bottom: 1px solid var(--vz-border-color) !important;
        border-right: none !important;
    }
}
.avatar-group .avatar-group-item {
    margin-left: -12px;
    border: 1px !important; 
    border-radius: 50%;
    -webkit-transition: all .2s;
    transition: all .2s;
}

/*Top Bar Notification Media Query*/
@media (min-width: 600px) {
    .dropdown-menu-lg {
        width: 365px !important;
    }
}

.Notificationbadge {
    color: white;
    font-size: 13px;
    padding: 4px 3px 4px 3px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    width: 20px;
    justify-content: center;
}
/**/
.custom-hover {
    color: #fff;
    background-color: #007bff;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

    .custom-hover:hover {
        color: #007bff;
        background-color: #fff;
        padding: 5px 10px;
        border-radius: 5px;
        text-decoration: none;
    }

.custom-hover_disabled {
    color: #b6d2eb;
    background-color: #6088b3b0;
    padding: 5px 10px;
    border-radius: 5px;
}
.countervalue-colour 
{
    color: #62e962;
}
@media (max-width: 768px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    .table th, .table td {
        white-space: nowrap;
        word-wrap: break-word;
    }

        .table td input, .table td select {
            width: 100%;
        }
}

/* Custom Tooltip Styling */
.custom-tooltip {
    max-width: none !important; /* Allow tooltip to expand */
    min-width: 300px; /* Set a reasonable min width */
    white-space: normal !important;
}

.custom-tooltip .tooltip-inner {
    font-size: 16px !important; /* Increase font size */
    line-height: 1.6 !important; /* Improve line spacing */
    text-align: left !important;
    max-width: none !important;
    min-width: 300px;
    background-color: white !important;
    color: black !important;
    border: 1px solid black !important;
    padding: 10px;
}

/* Button Styling */
.info-button {
    border: none !important;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

/* Icon Styling */
.info-button i {
    font-size: 27px; /* Bigger icon */
    color: deepskyblue !important; /* Blue color */
}

/* Preloader, Custom Table and Image Hover */

.table-preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* stack spinner + text */
    z-index: 10;
    padding: 40px 0; /* adds space at top and bottom */
    text-align: center;
}

.spinner-border-btn {
    width: 1rem;
    height: 1rem;
    margin-top: 2px;
}

.spinner-border-body {
    width: 3rem;
    height: 3rem;
    margin-bottom: 15px;
}

.spinner-border-full {
    width: 3rem;
    height: 3rem;
    margin-bottom: 15px;
}


.loading-text {
    font-size: 1.1rem;
    color: #0d6efd; /* bootstrap primary blue */
    font-weight: 500;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* Wrapper for scrollable tables */
.custom-scroll-table {
    min-height: 250px;
    max-height: 650px; /* fixed height for ~10 rows */
    overflow-y: auto;
    position: relative;
}

/* Table base */
.custom-scroll-table table {
    width: 100%;
    border-collapse: collapse;
}

/* Sticky header fix */
.custom-scroll-table thead th {
    position: sticky;
    top: 0;
    z-index: 10; /* higher than tbody rows */
    background-color: #f8f9fa; /* solid background */
    border-bottom: 2px solid #dee2e6;
}

/* Thumbnail preview */
.custom-scroll-table .thumbnail {
    position: relative;
    display: inline-block;
    overflow: visible !important;
}

.custom-scroll-table .thumbnail img {
    display: block;
}

.custom-scroll-table .thumbnail .preview {
    display: none;
    z-index: 9999;
    border: 1px solid #ccc;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    white-space: nowrap;
}

.custom-scroll-table .thumbnail:hover .preview {
    display: block;
}
    /* Zebra striping with light blue */
    .custom-scroll-table tbody tr:nth-child(odd) {
        background-color: #ffffff; /* White */
    }

    .custom-scroll-table tbody tr:nth-child(even) {
        background-color: #eaf6ff; /* Light blue */
    }

    /* Row hover effect */
    .custom-scroll-table tbody tr:hover {
        background-color: #d6ecff; /* Slightly darker blue on hover */
        transition: background-color 0.2s ease-in-out;
    }
    .filter-badge {
        display: inline-flex;
        max-width: 100%;
        min-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px; /* 🔹 Slightly bigger */
    }

    .filter-label {
        font-size: 14px;
    }

    .filter-value {
        font-size: 12px;
    }
.sortable {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.sort-icon {
    display: inline-block;
    margin-left: 5px;
    width: 10px;
    height: 10px;
    position: relative;
}

    .sort-icon::before,
    .sort-icon::after {
        content: "";
        position: absolute;
        left: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
    }

    .sort-icon::before {
        top: -6px;
        border-bottom: 6px solid #ccc; /* default inactive */
    }

    .sort-icon::after {
        bottom: -6px;
        border-top: 6px solid #ccc; /* default inactive */
    }

    .sort-icon.asc::before {
        border-bottom-color: #000; /* active ascending */
    }

    .sort-icon.desc::after {
        border-top-color: #000; /* active descending */
    }


