﻿/*=========================================================*/
/*==Model Printing /BirthDataWindow ===============*/
/*=========================================================*/
.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    max-height: 260px;
    overflow-y: auto;
    background: white;
    border: 1px solid maroon;
    z-index: 1050;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dropdown-item {
    padding: 5px 6px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 3px;
}

    .dropdown-item:hover {
        background-color: #f7d94f;
    }
.custom-box {
    margin: auto;
    border: 1px solid #e0e0e0;
    box-shadow: rgba(0, 0, 0, 0.9) 0px 7px 15px;
    display: flex;
    flex-direction: column;
    background: white;
}

    .custom-box:hover {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
    }

.bg-section {
    background-color: #F2F2F2;
    color: #212529;
    padding: 0.25rem;
    padding-left: 0.67rem;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .bg-section:hover {
        background-color: #343A40;
        color: #FFFFFF;
    }

        .bg-section:hover .form-check-label,
        .bg-section:hover h6 {
            color: #FFFFFF;
        }

    .bg-section:focus-within {
        outline: 2px solid #0d6efd;
        outline-offset: 2px;
    }

.custom-header {
    position: relative;
    height: 30px;
    padding: 8px 12px;
    border-bottom: 1px solid silver;
    display: flex;
    align-items: center;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.custom-body {
    flex: 1;
    padding: 20px;
    border: 1px solid silver;
    background-color: #F3F3F3;
    /* height:100%; */
}

.custom-footer {
    height: 50px;
    padding: 8px 16px;
    background-color: #D4D4D4;
    border-top: 1px solid #D0D0D0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
}

.list-group-item.active {
    background-color: #D4D4D4 !important;
    border-color: #f7d94f !important;
    color: inherit !important;
}

.footer-btn {
    min-width: 90px;
    padding: 4px 12px;
    font-size: 13px;
    border-radius: 2px;
    border: 1px solid #BDBDBD;
    background-color: #FFFFFF;
    color: #1F1F1F;
    transition: all 0.2s ease;
}

    .footer-btn:hover:not(:disabled) {
        background-color: #E0E0E0;
        border-color: #9E9E9E;
    }

    .footer-btn:active:not(:disabled) {
        background-color: #D6D6D6;
    }

    .footer-btn:disabled {
        background-color: #ECECEC;
        color: #9A9A9A;
        border-color: #DADADA;
        cursor: not-allowed;
    }

.form-check-label {
    font-size: 13px;
}

/* ===== Hover-reveal action buttons ===== */
.page-list-item .page-action-btns {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.page-list-item:hover .page-action-btns {
    visibility: visible;
    opacity: 1;
}

/*======================End =======================*/
/*=================================================*/




/*----------Form Check Box Input-------------*/
/* Radio + Checkbox default border */
.form-check-input {
    border: 2px solid #000 !important;
}

/*     When checked */
    .form-check-input:checked {
        background-color: #000 !important;
        border-color: #000 !important;
    }

/*     Remove blue glow on focus */
    .form-check-input:focus {
        box-shadow: none !important;
        border-color: #000 !important;
    }

/*--------Close Button--------------*/
.close-btn {
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
    color: gray;
}

/*.form-label {
    font-size: 14px;
    margin-bottom: 4px;
    color:black;

}*/
/* Right panel smooth animation */
.right-panel {
    transition: all 0.4s ease;
    overflow-y: auto;
}

/*-------------------------------*/
.tile-img {
    width: 50px;
    height: 50px;
}
/*---------------Setting Head Color----------*/
.setting-labelHead{
    color:red;
}
/*---------------------------------------
----------Popup Css------------------
---------------------------------------*/
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
/* LARGE OVERLAY - For big modals like ModalPrinting that need more vertical space */
.popup-overlay-large {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.3);
/*    padding: 20px; */
    box-sizing: border-box;
    overflow-y: auto; 
}

.popup-container-setting {
    position: relative;
        width: 580px;
    height: 70vh;
    overflow: auto;
        background-image: url('../images/b6half.jpg') !important;
        background-position: left;
    border: 1px solid silver;
        box-shadow: 2px 0px 10px rgba(0,0,0,0.8);
    background-repeat: no-repeat;
        padding-top: 20px;
    margin-left: 40px;
    padding: 20px;
    z-index: 2000;
}

.popup-container {
    position: relative;
/*    width: 580px;
    height: 70vh;*/
    overflow: auto;
/*    background-image: url('../images/b6half.jpg') !important;*/
/*    background-position: left;*/
    border: 1px solid silver;
/*    box-shadow: 2px 0px 10px rgba(0,0,0,0.8);*/
    background-repeat: no-repeat;
/*    padding-top: 20px;
    margin-left: 40px;
    padding: 20px;*/
    z-index:2000;
}
/*close button popup setting*/
.popup-close-btn {
    position: absolute;
    top: 7px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: gray;
    cursor: pointer;
    line-height: 1;
}

    .popup-close-btn:hover {
        color: darkgray;
    }
.popup-content {
    display: flex;
    width: 100%;
}

.design-list {
    width: 40%;
    height: 300px;
    background-color:white;
    overflow-y: scroll;
    border-right: 1px solid silver;
    padding-right: 10px;
}

.design-item {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

    .design-item:hover, .design-item.active {
        background: #007bff;
        color: white;
    }

.preview-area {
    width: 60%;
    padding: 10px;
    padding-left: 30px;
}

.popup-footer {
    position: absolute;
    bottom:20px;
    right: 10px;
    line-height: 1;

}
.popup-footer-btn {
    background-color: #fff4bb !important;
    color: black;
    border: 1px solid silver !important;
}
/*------------------------------------------
--Table Related Custom Css-----
------------------------------------------*/

/* Keep pointer nicer on resizers */
.resizer {
    touch-action: none;
}

/*     prevent text selection while dragging */
    .resizer, .resizer * {
        user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
    }
