﻿/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}*/

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

 
 


.icon-me2 {
    font-size: 18px;
    margin-left: 8px;
}

.__ffdrm_main label {
    font-weight: bold !important;
    color: #173f74ed;
    font-size: 0.75rem;
}


.__ffdrm_main .label-note {
    font-size: 0.70rem;
    border-radius: 5px;
    color: #848455;
    padding: 0px 8px;
}

  

.__dfrm_asterisk_mk{
    color:red;
}

.__ffdrm_btns {
    display: flex;
    gap: 8px;
}


    .__ffdrm_btns  button {
        max-height: 40px;
    }

    .__ffdrm_btns button {
        margin: 0px !important;
    }

.sweet-alert h2 {
    font-family: 'iransans';
}

.sweet-alert p {
    font-family: 'iransans';
}

.sweet-alert button {
    font-family: 'iransans';
}


/*
.frm-select-filter::after {
    content: "";
    background-image: url(/assets/img/arrow-down.svg);
    background-size: cover;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 8px;
    top: 50%;
    margin-top: -10px;
}*/

.main-gv-not-found {
    background-color: #fbfafa !important;
    border-color: #e3e3e3 !important;
 
}


.form-control {
    border-radius: 10px !important;
    height: 45px !important;
}


/*.select2-container--default .select2-selection--single {
    border-radius: 10px !important;
    height: 35px !important;
}


.select2-container--default .select2-selection--multiple {
    border-radius: 10px !important;
    height: 35px !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    padding-right: 7px;
    padding-left: 0px !important;
}

    .select2-selection__choice {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #607D8B !important;
    border-radius: 5px !important;
    font-size: 0.75rem !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    top: 1px !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    text-align: right;
    margin-right: 8px;
}
*/
.select2-search__field{
    text-align:right;
}

.btn-update-active {
    max-width: 100px !important;
    height: 35px !important;
    border-radius: 11px !important;
}
.btn-insert-active {
    max-width: 100px !important;
    height: 35px !important;
    border-radius: 11px !important;
}

.btn-cancel-active {
    max-width: 100px !important;
    height: 35px !important;
    background: white;
    border-radius: 11px !important;
    color:black;
    border-color:gray;
}

.btn-delete-active {
    max-width: 100px !important;
    height: 35px !important;
    border-radius: 11px !important;
    background: white;
    color: #dc2626 !important;
    width: 50px;
}


.btn {
    height: 35px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
 

.action-list {
    display: flex;
    gap: 8px;
    justify-content: end;
}


.btn-refresh-my-gv {
    font-size: 0.75rem !important;
}

    .btn-refresh-my-gv:hover {
        background: #fbfafa;
        border: none;
    }


    .btn-refresh-my-gv img {
        width: 20px;
        height: 20px;
    }

.btn:focus,
.btn:active {
    outline: none !important;
    box-shadow: none !important;
}
.btn-export-my-gv {
    font-size: 0.75rem !important;
}

    .btn-export-my-gv:hover {
        background: #fbfafa;
        border: none;
    }


    .btn-export-my-gv img {
        width: 20px;
        height: 20px;
    }

.container-page-tools{
    display:flex !important;
}

.img-container {
    position: relative;
    width: 100%;
    background-size: contain;
    overflow: hidden;
}

    .img-container::after {
        content: attr(data-alt);
        position: absolute;
        inset: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 60%;
        font-size: 14px;
        color: #999;
   
        background: url('/samircore/assets/img/image-placeholder.svg') no-repeat center;
        z-index: 2;
        transition: opacity 0.3s;
        border-radius: 11px;
    }

    .img-container.loaded::after {
        opacity: 0;
        pointer-events: none;
    }

    .img-container.error::after {
   
        border-radius: 11px;
    }

    .img-container img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
        display: block;
    }
