* {
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

:root {
    --primary-color: #1742a4;
    --black-color: #272727;
    --white-color: #fff;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto&display=swap');

/*---------------------------------login Page start ----------------------------*/

.login-outer {
    background: url(../Images/background-img.png);
    height: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.login-hed {
    margin: 0rem 0rem;
    box-shadow: 0 2px 7px 0 rgb(0 0 0 / 25%);

}

.form-section-outer {
    background-color: var(--white-color);
    width: 500px;
    height: 100%;
    padding: 30px 30px;
    box-shadow: 0 2px 7px 0 rgb(0 0 0 / 25%);
    border-radius: 10px;
}

.login-logo {
    display: flex;
    justify-content: center;
}

.login-logo img {
    width: 300px;
    height: 100%;
}

.form-section-outer h2 {
    font-weight: 500;
    font-size: 28px;
    margin: 30px 0px;
    color: var(--primary-color);
}

.form-section-inner {
    margin-top: 20px;
}

.form-section-inner label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--black-color);
}

.form-section-inner input {
    width: 100%;
    padding: 10px;
    border: 1px solid #D3D3D3;
    border-radius: 5px;
    margin-top: 5px;
}

.form-section-inner input:focus {
    outline: none;

}

.form-section-inner select {
    width: 100%;
    padding: 10px;
    border: 1px solid #D3D3D3;
    border-radius: 5px;
    margin-top: 5px;
}

.button-section h6 {
    margin: 25px 0px;
    text-align: end;
    color: var(--primary-color);
    letter-spacing: 1px;
    cursor: pointer;
}

.button-section button {
    padding: 8px 20px;
    border: none;
    color: var(--white-color);
    background-color: var(--primary-color);
    font-weight: 500;
    border-radius: 5px;
    width: 100%;
    font-size: 22px;
}

.button-section p {
    margin-top: 30px;
    margin-bottom: 0px;
}

.button-section p a {
    color: var(--primary-color) !important;
    margin-left: 5px;
    cursor: pointer;
}

.password-field {
    position: relative;
}

.password-field span {
    position: absolute;
    right: 15px;
    top: 40px;
    color: #939393;
}

/*--------------------------- login Page End -------------------------*/



/*----------------------------- Dashboard page start ----------------*/
.main {
    background-color: #f8faff;
    height: 100%;
    min-height: 100vh;
}

.left-sidebar {
    width: 266px;
    height: 100vh;
    background-color: #f6f9ff;
    box-shadow: 0px 0px 4px #b5b5b5;
    transition: all 0.5s;
    position: fixed;
    z-index: 99;
    left: 0;
}
.menu-active .left-sidebar {
    left:-266px;
}

.left-sidebar ul li a {
    text-decoration: none;
    color: #121212;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.left-sidebar ul li a span {
    margin-left: 10px;
}

.left-sidebar ul {
    padding-left: 0px;
}

.left-sidebar ul li {
    padding: 13px;
    margin: 10px 15px 0px 15px;
    border-radius: 10px;
    background-color: var(--white-color);
    color: var(--primary-color);
    font-size: 14px;
}

.header {
    background-color: var(--primary-color);
    padding: 14px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;


}

.content-section {
    width: calc(100% - 266px);
    margin-left: auto;
    transition: all 0.5s;
    position: relative;
}
.menu-active .content-section{
    width: 100%;
}

.dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-toggle::after {
    position: absolute;
    right: 2px;
    top: 22px;
    font-size: 26px;
}

.dropdown-toggle:focus {
    border: none;
}

.active {
    background-color: var(--primary-color) !important;
}

.active a span {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.card-outer {
    margin: 45px;
}

.admin-toggle {
    width: 200px;
}

.search-box i {
    position: absolute;
    right: 10px;
    top: 10px;
}

.card-section {
    margin-top: 25px;
}

.main-card {
    position: relative;
}

.main-card img {
    width: 100%;

}

.card-content {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px 12px;
    bottom: 70px;
    margin: 0px 10px;
}

.card-content button {
    background-color: #466443;
    border: none;
    border-radius: 5px;
    padding: 10px;
    color: #fff;
}

.intro {
    width: 0%;
}

.sidebar-logo a img {
    width: 236px;
    /* width: 130px; */
}

.toggle-icon {
    display: flex;
    align-items: center;
    gap: 20px;
}

.toggle-icon span svg {
    width: 22px;
}

.toggle-icon h5 {
    margin-bottom: 0px;
    color: #fff;
    font-weight: 500;
}

.cstm-btn {
    border: none;
    background: transparent;
    padding: 5px 10px;
    color: var(--white-color);
}

.profile-list li {
    border-bottom: 1px solid #d9d9d9;
    padding: 5px 0px;
}

.profile-list li a:active {
    background-color: transparent;
}

.profile-list li:last-child {
    border: none;

}

.profile-list li:last-child a {
    color: var(--primary-color);
}

.profile-list li:last-child a span i {
    transform: rotate(180deg);
}

.profile-list li a span {
    margin-right: 8px;
}

.list-unstyle li a svg path {
    fill: #1742a4;
}

.list-unstyle .active a svg path {
    fill: #fff;
}

.left-width {
    width: 100px;
    transition: all 0.5s;

}

.main-outer .content-section {
    width: calc(100% - 100px);
    margin-left: 100px;
    transition: all 0.5s;
}

.left-width .sidebar-logo a img {
    width: 80px;
}

.left-width .list-unstyle li a span {
    display: none;
}

.outer-card {
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #d9d9d9;
    /* height: calc(100vh - 100px); */
}

.outer-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 1px solid #d9d9d9;
    padding: 10px 0px 17px 0px;
    font-size: 24px;
}

.outer-card.datatable h3 {
    border-bottom: 0;
    padding: 10px 0px 3px 0px;
}

.gates-check {
    display: flex;
    gap: 40px;
}

.gates-outer label {
    font-size: 18px;
    color: #0c0c0c;
    font-weight: 600;
    position: relative;
}

.gates-outer label span {
    margin-left: 20px;
}

.gates-outer label::before {
    content: '';
    position: absolute;
    background-color: #7f1819;
    width: 10px;
    height: 10px;
    border-radius: 20px;
    top: 8px;
    padding-right: 10px;
}

.gates-check {
    margin: 15px 0px 0px 20px;
}

.gatescheck-inner {
    display: flex;
    align-items: center;
}

.gatescheck-inner input {
    margin-right: 10px;
}

.Duration-check span {
    font-size: 16px;
    font-weight: 600;
    color: #0c0c0c;
}

.Duration-check input {
    border: 1px solid #c5c5c5;
    padding: 5px;
    border-radius: 6px;
}

.gate-button {
    text-align: end;
}

.gate-button button {
    text-align: end;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: #7d1818;
    color: #fff;
    border: none;
}

.gate-button button:hover {
    background-color: #8b1313;
}

.project-manage {
    position: relative;
}

.active .project-manage::after {
    position: absolute;
    right: 2px;
    content: "\f078";
    top: 0px;
    font-size: 15px;
    font-family: FontAwesome;
    color: var(--white-color);
}

.project-manage::after {
    position: absolute;
    right: 2px;
    content: "\f078";
    top: 0px;
    font-size: 15px;
    font-family: FontAwesome;
    color: var(--primary-color);
}

.project-manage[aria-expanded="true"]::after {
    transform: rotate(180deg);
    transition: 0.5s;
}

.upload-outer {
    display: flex;
    justify-content: center;
    margin-top: 50px;

}

.upload-inner {
    width: 786px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 30px;
}

.upload-child-inner {
    border: 1px dashed var(--primary-color);
    padding: 60px 0px;
    text-align: center;
    border-radius: 10px;
}

.upload-child-inner h4 {
    margin-top: 15px;
    font-weight: 600;
    color: #8b8b8b;
    font-size: 22px;
}

.upload-child-inner h5 {
    margin-top: 15px;
    font-weight: 600;
    color: var(--black-color);
    font-size: 18px;
}

.upload-child-inner h5 span {
    color: var(--primary-color);
}

.upload-btn {
    border: none;
    background: transparent;
    padding: 14px 58px;
    color: var(--white-color);
    font-weight: 500;
    background-color: var(--primary-color);
    border-radius: 60px;
    font-size: 9px;
    margin-top: 22px;
}

.upload-file-outer label {
    border: none;
    background: transparent;
    padding: 14px 58px;
    color: var(--white-color);
    font-weight: 500;
    background-color: var(--primary-color);
    border-radius: 60px;
    font-size: 18px;
    margin-top: 22px;
}

.list-unstyle .active-child {
    background-color: #588bff;
}

.list-unstyle .active-child span {
    color: #fff;
}

.list-unstyle .active-child a svg path {
    fill: #fff;
}

/* New code  */
.cheatshet-file {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #D4D4D4;
    white-space: nowrap; /* Prevent wrap */
    overflow-x: auto; /* Allow horizontal scrolling if needed */
}

.chetshet-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chetshet-left h5 {
    margin: 0;
    font-size: 16px;
}

.cheatshet-file input[type="text"],
.cheatshet-file input[type="file"] {
    width: 200px;
    min-width: 140px;
    padding: 6px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* new code end */

/* .chetshet-left {
    display: flex;
    align-items: center;
    gap: 20px;

} */
.checkbox-outer {
    padding: 20px 15px;
    display: flex;
    justify-content: space-evenly;
}

.checkbox-inner {
    display: flex;
    gap: 10px;
}

.checkbox-inner input {
    width: 20px;
    height: 20px;
    accent-color: #1742a4;
}

.rejecteduser-table table thead tr th {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 500;
    font-size: 16px;
    padding: 12px 20px;
    border-right: 1px solid #bbb;
}

.rejecteduser-table table tbody tr td {
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    vertical-align: middle;
}

.action-btn button {
    padding: 8px 10px;
    border-radius: 40px;
    border: none;
    width: 100%;
    max-width: 120px
}

.action-btn button span {
    margin-right: 5px;
    font-size: 16px;
}

.action-btn button:first-child {
    background-color: #68a40c;
    color: var(--white-color);
    margin-right: 5px;
}

.action-btn button:last-child {
    background-color: #ec6769;
    color: var(--white-color);
}

.rejecteduser-table table {
    border-collapse: separate;
    border-spacing: 0;
}

.rejecteduser-table table thead tr th:first-child {
    border-left: 1px solid #bbb;
    border-top-left-radius: 6px;
}

.rejecteduser-table table tbody tr td:first-child {
    border-left: 1px solid #bbb;

}

.rejecteduser-table table thead tr th:last-child {
    text-align: center;
    border-top-right-radius: 6px;
}

.rejecteduser-table table tbody tr td:last-child {
    text-align: center;
}

.rejecteduser-table table tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
}

.rejecteduser-table table tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
}

.changepass-outer {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.upload-file::-webkit-file-upload-button {
    display: none;
}

.upload-file {
    display: block;
    margin: auto;
    width: 150px;
    max-width: 100%;
    margin-top: 10px;
    padding-left: 10px;
}


/*-------22-08-24-----*/
input#gsearch {
    border: 0;
    border: 1px solid #c7c1c1;
    height: 38px;
    border-radius: 5px;
    margin-bottom: 12px;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 0%), 0 6px 20px 0 rgb(0 0 0 / 19%);
}

label.search {
    color: #909090;
    margin-right: 10px;
}

.add-btn {
    border: none;
    background: transparent;
    color: var(--white-color);
    font-weight: 300;
    background-color: var(--primary-color);
    border-radius: 5px;
    font-size: 16px;
    margin-top: 22px;
    height: 40px;
    width: 129px;
}

.modal-body h2 {
    color: #1742A4;
}

.upload-outer.profile-details .upload-inner {
    width: 786px;
    box-shadow: none;
    border-radius: 10px;
    padding: 30px;
}

.button-section.profile-btn button {
    width: 300px;
}

.avatar-upload {
    position: relative;
    max-width: 205px;
    margin: 0px auto;
}

.avatar-upload .avatar-edit {
    position: absolute;
    right: 12px;
    z-index: 1;
    top: 10px;
}

.avatar-upload .avatar-edit input {
    display: none;
}

.avatar-upload .avatar-edit input+label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #FFFFFF;
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}

.avatar-upload .avatar-edit input+label:hover {
    background: #f1f1f1;
    border-color: #d6d6d6;
}

.avatar-upload .avatar-edit input+label:after {
    content: "\f040";
    font-family: 'FontAwesome';
    color: #757575;
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

.avatar-upload .avatar-preview {
    width: 192px;
    height: 192px;
    position: relative;
    border-radius: 100%;
    border: 4px solid #1742a4;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.avatar-upload .avatar-preview>div {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.close-icon {
    display: flex;
    align-items: center;
    padding: 36px;
}


.swal2-confirm {
    border-radius: 5% !important;
    /* Apply your desired border-radius */
}

.swal2-cancel {
    border-radius: 2% !important;
    /* Apply your desired border-radius */
}



/* 29 Aug 2024 CSS */
.scrollbar-data-upload {
   /* max-height: calc(100dvh - 550px); */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-height: 300px;
    width: 100%;
    margin: 0px auto;
}
.file-list-table th {
    font-weight: 400;
}
.scrollbar-data-upload .list-view-box-upload {
    display: flex;
    align-items: center;
    gap: 23px;
    /* justify-content: space-between; */
    justify-content: space-evenly;

}

.scrollbar-data-upload .list-view-box-upload p.file_name-bx {
    margin: 0;
    font-weight: 600;
    font-size: 18px;
    width: 33%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.status_bx {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap; /* Prevents text from wrapping */
    flex-wrap: nowrap;    /* Ensures all elements stay in one line */
}

.action_button-bx {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action_button-bx button {
    width: 38px;
    height: 32px;
    border-radius: 4px;
    background: transparent;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status_bx.success-txt {
    color: #008120;
}

.action_button-bx button.download_btn {
    background-color: #008120;
    color: white;
}

.action_button-bx button.clear_btn {
    background-color: #ff173f;
    color: white;
}

.flex_bx-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
}

.flex_bx-radio input {
    width: fit-content;
    margin: 0;
}

.scrollbar-data-upload .outer-card {
    margin: 0 20px;
}

/* This is for input span * after element */
.common::after{
    position: relative;
    content: "*";
    color: red;
    margin-left: 5px;
}

/* .loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-color: #ccc #0000;
    animation: l16 1s infinite linear;
  }
  .loader::before,
  .loader::after {    
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
  }
  .loader::before {
    border-color: #f03355 #0000;
    animation: inherit; 
    animation-duration: .5s;
    animation-direction: reverse;
  }
  .loader::after {
    margin: 8px;
  }
  @keyframes l16 { 
    100%{transform: rotate(1turn)}
  } */

#loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    color: #333;
}

.spinner {
    border: 8px solid #f3f3f3; /* Light gray */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


  .spinner-container {

    position: fixed;
    
    top: 45%;
    
    left: 55%;
    
    transform: translate(-50%,
    -50%);
    
    display: flex;
    
    align-items: 
    center;
    
    justify-content: 
    center;
    
    z-index: 9999;
    
    width: 100vw;
    
    height: 100vh;
    
    }
    
    
    .spinner {
    
    border: 8px
    solid #f3f3f3;
    /* Light grey */
    
    border-top: 8px
    solid #606466;
    /* Blue */
    
    border-radius: 
    50%;
    
    width: 50px;
    
    height: 50px;
    
    animation: spin 
    0.7s linear 
    infinite;
    
    }
    
    
    @keyframes spin {
    
    0% { transform: 
    rotate(0deg); }
    
    100% { transform: 
    rotate(360deg); }
    
    }

.fa-spinner {
    size: 1px;
    margin: 20px 30px;
    animation: iconmove 1s infinite;
}

@keyframes iconmove {
    0% {
        transform:
            rotate(0deg);
    }

    100% {
        transform:
            rotate(360deg);
    }
}

/*Alert*/
.alert {
    
    padding: 15px;
    background-color: #93d0f37e; 
    color: #2b2928 !important;
    margin-bottom: 15px;
    border-radius: 5px;
    opacity: 1;
    transition: opacity 0.5s ease;
    display: none;
    position: fixed;
    top: 13%;
    right: 20px;
    z-index: 1000;
}

.alert.fade-out {
    opacity: 0;
}

.trash{
    width: fit-content;
    display: flex;
    gap: 2rem;
}

img {
    /*  border-radius: 50%;  */
    overflow: hidden;
  }


  .circle {
    width: 40px; 
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  
  .circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.checkbox {
    display: flex;
    align-items: baseline;
    justify-content: start;
    flex-wrap: wrap;
    gap: 13.1px;
}

/* 30-07-2025 new css */
.rejecteduser-table.custmScrollRej{
    overflow: unset;
}
.custmScrollRej .dt-container .dt-layout-table .dt-layout-cell{
overflow: auto;
}

.cursor-disabled {
    cursor: not-allowed !important;
}

#message {
            color: red;
            margin-top: 10px;
        }


  @media (max-width: 576px) {
    .outer-card h3 {
        font-size: 1.2rem;
    }
    table td, table th {
        font-size: 0.9rem;
        white-space: nowrap; /* Avoid wrapping table content */
    }
}


input:disabled, select:disabled, textarea:disabled {
    background-color: #f5f5f5;
    opacity: 0.6;
    cursor: not-allowed;
}

.blurred {
    background-color: #f5f5f5 !important;
    opacity: 0.6;
    cursor: not-allowed;
}