﻿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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.custom-card {
    position: relative !important;
/*    display: flex !important;*/
/*    flex-direction: column !important;*/
    min-width: 0 !important;
    word-wrap: break-word !important;
    background-color: #fff !important;
    background-clip: border-box !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 15px !important;
}

.custom-card-body {
    flex: 1 1 auto !important;
    padding: 1rem !important;
}
/* Padding */
.custom-p-0 {
    padding: 0 !important;
}

.custom-p-1 {
    padding: 0.25rem !important;
}

.custom-p-2 {
    padding: 0.5rem !important;
}

.custom-p-3 {
    padding: 2rem !important;
}

.custom-p-4 {
    padding: 2.5rem !important;
}

.custom-p-5 {
    padding: 3rem !important;
}

/* Padding X-axis */
.custom-px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.custom-px-1 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.custom-px-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.custom-px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Padding Y-axis */
.custom-py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.custom-py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.custom-py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.custom-py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Margin */
.custom-m-0 {
    margin: 0 !important;
}

.custom-m-1 {
    margin: 0.25rem !important;
}

.custom-m-2 {
    margin: 0.5rem !important;
}

.custom-m-3 {
    margin: 1rem !important;
}

.custom-m-4 {
    margin: 1.5rem !important;
}

.custom-m-5 {
    margin: 3rem !important;
}

/* Margin Top */
.custom-mt-0 {
    margin-top: 0 !important;
}

.custom-mt-1 {
    margin-top: 0.25rem !important;
}

.custom-mt-2 {
    margin-top: 0.5rem !important;
}

.custom-mt-3 {
    margin-top: 1rem !important;
}

.custom-mt-4 {
    margin-top: 1.5rem !important;
}

.custom-mt-5 {
    margin-top: 3rem !important;
}

/* Margin Bottom */
.custom-mb-0 {
    margin-bottom: 0 !important;
}

.custom-mb-1 {
    margin-bottom: 0.25rem !important;
}

.custom-mb-2 {
    margin-bottom: 0.5rem !important;
}

.custom-mb-3 {
    margin-bottom: 1rem !important;
}

.custom-mb-4 {
    margin-bottom: 1.5rem !important;
}

.custom-mb-5 {
    margin-bottom: 3rem !important;
}

/* Margin Left/Right (X-axis) */
.custom-mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.custom-mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.custom-mx-1 {
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
}

.custom-mx-2 {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
}

/* Margin Y-axis */
.custom-my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.custom-my-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

.custom-my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}


/* Display */
.d-flex {
    display: flex !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

/* Flex Direction */
.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-row-reverse {
    flex-direction: row-reverse !important;
}

.flex-column-reverse {
    flex-direction: column-reverse !important;
}

/* Justify Content */
.justify-content-start {
    justify-content: flex-start !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-around {
    justify-content: space-around !important;
}

.justify-content-evenly {
    justify-content: space-evenly !important;
}

/* Align Items */
.align-items-start {
    align-items: flex-start !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-baseline {
    align-items: baseline !important;
}

.align-items-stretch {
    align-items: stretch !important;
}

/* Align Self */
.align-self-start {
    align-self: flex-start !important;
}

.align-self-end {
    align-self: flex-end !important;
}

.align-self-center {
    align-self: center !important;
}

.align-self-baseline {
    align-self: baseline !important;
}

.align-self-stretch {
    align-self: stretch !important;
}

/* Flex Wrap */
.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-nowrap {
    flex-wrap: nowrap !important;
}

.flex-wrap-reverse {
    flex-wrap: wrap-reverse !important;
}

/* Align Content (multi-line flex container) */
.align-content-start {
    align-content: flex-start !important;
}

.align-content-end {
    align-content: flex-end !important;
}

.align-content-center {
    align-content: center !important;
}

.align-content-between {
    align-content: space-between !important;
}

.align-content-around {
    align-content: space-around !important;
}

.align-content-stretch {
    align-content: stretch !important;
}

/* Gap utilities (optional) */
.gap-1 {
    gap: 0.25rem !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

.gap-5 {
    gap: 3rem !important;
}
.nav-underline .nav-link {
    position: relative;
    color: #6c757d; /* Gray text by default */
    padding-bottom: 0.5rem;
    border: none;
}

    .nav-underline .nav-link.active {
        color: #0d6efd; /* Bootstrap primary color */
        font-weight: 500;
    }

        .nav-underline .nav-link.active::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            height: 3px;
            width: 100%;
            background-color: #0d6efd; /* Match active color */
            border-radius: 3px;
        }



/* From Uiverse.io by gharsh11032000 */
/* The switch - the box around the slider */
.switch {
    font-size: 8px;
    position: relative;
    display: inline-block;
    width: 3.5em;
    height: 2em;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #9fccfa;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .slider:before {
        position: absolute;
        content: "";
        display: flex;
        align-items: center;
        justify-content: center;
        height: 2em;
        width: 2em;
        inset: 0;
        background-color: white;
        border-radius: 50px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.4);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

.switch input:checked + .slider {
    background: #0974f1;
}

.switch input:focus + .slider {
    box-shadow: 0 0 1px #0974f1;
}

.switch input:checked + .slider:before {
    transform: translateX(1.6em);
}

/* End of switch  */

.image {
    max-width: 100%;
    height: auto;
    max-height: 300px; /* or 400px depending on layout */
    object-fit: contain; /* or 'cover' if you want it to fill */
    border-radius: 8px; /* optional, for rounded corners */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* optional */
}


table.dataTable tbody td {
    text-align: left !important;
}
.fw-bold{
    font-weight:700 !important;
}
.fw-light {
    color: #303992 !important;
}
.header{
    display:flex;
    justify-self:center !important;
    font-size:1.2rem !important;
    font-weight:900 !important;
}
.scroll-box {
    max-height: 200px !important;
    overflow-y: auto !important;
    border: 1px solid #dee2e6 !important;
    padding: 10px !important;
    border-radius: 5px !important;
}
.maincenter {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f8f9fa; 
/*    text-align: center;*/
}
.btn-login {
    background-color: rgba(0,0,0,0.4);
    color: rgba(256,256,256,0.7);
    border: 0;
    border-radius: 15px;
    display: block;
    margin: 15px auto;
    padding: 15px 45px;
    width: 100%;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all .3s ease;
}

    .btn-login:hover,
    .btn-login:focus {
        transition: all .3s ease;
     
        background-color: #77bc3f;
    }

    .btn-login:active {
        background-color: #19275f;
        transform: translateY(1px);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    }
    .close-icon{
        widht:14px !important;
        height:14px !important;
    }
    .btn-salam{
        background-color: #6D874B !important;
    }