﻿.modal-container {
    position: fixed;
    bottom: 0%;
    left: 0;
    width: 100%;
    height: calc(100% - 0px);
    z-index: -1000000;
    visibility: hidden;
    /*transition: all ease-in-out 0.3s !important;*/
}

.modal-open {
    z-index: 1000;
    visibility: visible;
    /* bottom: 0%;*/
    /*transition: all ease-in-out 0.3s !important;*/
}

.modal {
    border-radius: 20px;
    /*transition: transform 0.3s ease !important;*/
    /*transition: all ease-in-out 0.3s !important;*/
    /*padding: 10px;*/
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-header {
    width: 100%;
    position: sticky;
    top: 0;
    background: var(--app-bg);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    z-index: 1;
}

    .modal-header h2 {
        font-size: 1.8rem;
        color: #ffd700;
    }

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

    .close-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.modal-body {
    /*padding: 10px;*/
    /*background: linear-gradient(145deg, #1e2349 0%, #2a2f5e 100%);*/
   /* background: white;*/
    /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);*/
    background : var(--app-bg);
    box-shadow: 0 20px 50px rgb(0 0 0 / 9%);
    border-radius: 10px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.app-modalstyle {
    max-height: calc(100% - 0px);
    overflow-y: auto;
    overflow-x: hidden;
}

/*.modb-with-horf{
    height : calc(100% - 50px);
}

.modb-with-hf {
    height: calc(100% - 100px);
}*/

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .cancel-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.6) !important;*/
    background: rgb(161 161 161 / 60%) !important;
    z-index: 1;
    transition: all 0.3s ease;
    overflow: hidden;
}

/*.ddd {
    min-height: calc(100% - 3.5rem);
}*/

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
}

.full-modal {
    padding: 0px;
}

    .full-modal .modal-body {
        padding: 0px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        border-radius: 0px !important;
    }

    .full-modal .modal-header {
        border-radius: 0px !important;
    }

.autoheight-modalbody {
    height: auto !important;
}

.autowidth-modalbody {
    width: auto !important;
}

.app-entry-modal {
    min-height: calc(100% - 3rem);
}

.app-modal-dimension {
    height: calc(100% - 40px);
    width: calc(100% - 40px);
}
