html {
  font-size: 14px;
}

@font-face {
    font-family: 'DastNevis';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/DastNevis.ttf') format('truetype');
}

@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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ===============================
    UI Compact Mode (Opt-in)
    Compatible with Bootstrap 5
  =============================== */
@media (min-width: 1600px) {
    .ui-compact {
        --ui-font-sm: 0.85rem;
        --ui-padding-sm: 0.3rem 0.55rem;
    }
}

.ui-compact {
    --ui-font-sm: 0.875rem;
    --ui-font-xs: 0.8rem;
    --ui-padding-sm: 0.375rem 0.6rem;
    --ui-radius: 0.5rem;
}

    .ui-compact .form-control,
    .ui-compact .form-select {
        font-size: var(--ui-font-sm);
        padding: var(--ui-padding-sm);
    }

    .ui-compact textarea.form-control {
        min-height: 80px;
    }

    .ui-compact .form-label {
        font-size: var(--ui-font-xs);
        margin-bottom: 0.25rem;
        color: #555;
    }

    .ui-compact .mb-3 {
        margin-bottom: 0.75rem !important;
    }

    .ui-compact .mb-2 {
        margin-bottom: 0.5rem !important;
    }

    .ui-compact .btn {
        font-size: var(--ui-font-sm);
        padding: 0.4rem 0.75rem;
    }

    .ui-compact .btn-primary {
        border-radius: var(--ui-radius);
    }

    .ui-compact .card {
        border-radius: 0.75rem;
    }

    .ui-compact .card-body {
        padding: 1rem 1.25rem;
    }

    .ui-compact h1,
    .ui-compact h2,
    .ui-compact h3,
    .ui-compact h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .ui-compact h5,
    .ui-compact h6 {
        font-size: 0.9rem;
    }

.auth-form {
    max-width: 800px;
    margin: auto;
}


#MsgAreaModal {
    max-height : 70vh;
    min-width: 330px;
    position: fixed;
    display: none;
    Top: 1%;
    right: 1%;
    width: 98%;
    height: 98%;
    z-index: 400 !important;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background-color: #011324db;
    animation: fadeIn 0.5s;
}

.w-min-300 {
    display: inline-block;
    min-width: 300px;
}

.w-max-100 {
    display: inline-block;
    width: 100%;
    max-width: 100px !important;
}

.w-fix-250 {
    display: inline-block;
    width: 250px !important;
}
.w-max-500 {
    display: inline-block;
    width: 100%;
    max-width: 500px !important;
}
.w-min-330 {
    display: inline-block;
    min-width: 330px;
}

.icofont-00x {
    font-size: 1.5em !important;
}


.btn_Icon {
    background-color: transparent;
    padding: 5px 5px 5px 5px;
    transition: color .75s ease-in-out, background-color .75s ease-in-out;
    border-radius: 5px;
    border: 0px;
}

    .btn_Icon span {
        font-size: medium;
    }
.Icon_Brown {
    color: saddlebrown;
}

    .Icon_Brown:hover {
        background-color: saddlebrown;
        color: lightgoldenrodyellow;
        filter: drop-shadow(3px 5px 5px rgb(105 56 14 / 0.75));
    }
.Icon_Blue {
    color: blue;
}

    .Icon_Blue:hover {
        background-color: #1567fa;
        color: lightyellow;
        filter: drop-shadow(3px 5px 5px rgba(0, 0, 0, 0.45));
    }

.Icon_Red {
    color: #fb3755;
}

    .Icon_Red:hover {
        color: lightgoldenrodyellow;
        background-color: #932435;
        filter: drop-shadow(3px 5px 5px rgba(0, 0, 0, 0.45));
    }

.timer {
    font-size: 32px;
    font: bold;
    margin-top: 10px;
    position: relative;
    color: darkorange;
    top: -88px;
    left: 0px;
}
.btn_IconPill {
    background-color: transparent;
    padding: 1px;
    transition: color .75s ease-in-out, background-color .75s ease-in-out;
    border-radius: 5rem !important;
    border: 0px;
}
#ModalSpiner {
    position: fixed;
    display: none;
    Top: 1%;
    right: 1%;
    width: 98%;
    height: 98%;
    z-index: 400 !important;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background-color: #011324db;
    animation: fadeIn 0.5s;
}
#ConfirmModal {
    position: fixed;
    display: none;
    Top: 1%;
    right: 1%;
    width: 98%;
    height: 98%;
    z-index: 600 !important;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background-color: #011324db;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.LoginForm {
    margin: 30px;
    background-color: #3b3737;
    border: 1px solid black;
    opacity: 0.8;
}

.BTN {
    background-color: transparent;
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    border-color: white;
    padding: 6px 10px 6px 10px;
    text-align: center;
    transition: color .75s ease-in-out, background-color .75s ease-in-out, transform 0.7s;
    text-decoration: none;
}
.btn_Normal {
    border-radius: 5px !important;
}

    .btn_Normal:hover {
        border-color: brown;
        background-color: aliceblue;
    }
.btn_Blue {
    color: #010149;
    background-color: #2ebff6;
}

    .btn_Blue:hover {
        background-color: #1567fa;
        color: white;
        filter: drop-shadow(3px 5px 5px rgba(0, 0, 0, 0.45));
    }
.Icon_Yellow {
    color: #ffce00;
}

    .Icon_Yellow:hover {
        background-color: #b9c107;
        color: lightgoldenrodyellow;
        filter: drop-shadow(3px 5px 5px rgba(0, 0, 0, 0.45));
    }
.Icon_Gray {
    color: #5e5c5c;
}

    .Icon_Gray:hover {
        background-color: #43484e;
        color: lightgray;
        filter: drop-shadow(3px 5px 5px rgba(0, 0, 0, 0.45));
    }
