﻿/*Arbaz*/

/*form CSS*/
@import url('msz.css');
.mForm-Header {
    webkit-box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
    box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
    background-color: var(--FH);
    border: 1px solid #C9C9C9;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px 0px;
    margin-bottom: 10px;
}

.mForm-input {
    border-radius: 5px;
    padding: 6px 10px;
    display: block;
    margin-bottom: 4px;
    font-weight:600;
    width: 100%;
    color: #495057;
    background-color: #F6F8FA;
    border: 1px solid #D2DEF0;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    outline: none;
}

    .mForm-input:focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
    }

/* Loader Container */
.loader-container {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh; 
    background: rgba(0, 0, 0, 0.4); 
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

/* Rotating Loader Container */
.rotating-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%; 
    position: relative;
}

/* Image styling */
.loader-image {
    width: 125px;
    height: 125px;
    animation: slowRotate 3s linear infinite;
    background: transparent;
    display: block;
    margin: auto;
    position: relative;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
}

/* Alternative centering using absolute positioning */
.loader-container.absolute-center {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

    .loader-container.absolute-center .rotating-loader {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

/* Slow rotation animation */
@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*.loader-container {
    display: none;*/ /* Hidden by default */
    /*position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;*/
/*    background: rgba(255, 255, 255, 0.7);*/
    /*background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid var(--BAP);*/ /* Customize color */
    /*border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}*/

.mRequired{
    color:red;
}
/*For PopUp*/
.popup {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-content {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    width: 400px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.popup-title {
    color: var(--BAP);
    font-size: 20px;
}

.popup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}


.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}


#popup-body {
    white-space: pre-line; /* enable line breaks from \n */
    text-align: left;
    font-size: 15px;
    font-weight:500;
    padding-left: 20px;
    position: relative;
}


.popup-btn {
    height: 40px;
    width: 100%;
    background-color: var(--BAP);
    color: white;
    font-size: 16px;
    align-content: center;
    border-radius: 5px;
    border: none;
}

/* Overlay effect */
#commonDialog.modal {
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* prevent background scroll */
}

.modal-icon img {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #e6f0ff 30%, transparent 31%);
    border-radius: 50%;
    padding: 2px;
}

.modal-dialog-centered {
    width: 500px;
    height:700px;
}

.modal-title {
    color: #0069B3;
    font-weight: 500;
    font-size: 24px;
}
.modal-desc {
    color: #747577;
    font-weight: 400;
    font-size: 14px;
}






