@keyframes slide-in-from-right {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slide-out-to-right {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

@keyframes slide-in-from-left {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}
@keyframes slide-in-left {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

:root {
    --primary-color: #071C3B;
}

* {
    margin: 0;
    box-sizing: border-box;
}

.row::after {
    content: "";
    clear: both;
    display: block;
}

[class*="col-"] {
    float: left;
    padding: 15px;
}

.input-error {
    border: 2px solid red !important;
}

/* Modal styles */
.modal {
    font-size: 11px;
    display: none; 
    position: absolute;
    width: auto; 
    height: auto;
    z-index: 1;
}
  /* Modal content */
.modal-content {
    background-color: #fefefe;
    padding: 10px;
    border: 1px solid #888;
    width: 100%; /* Could be more or less, depending on screen size */
    border-radius: 10px;
}

.modal-expand-container{
    display: none;
}

.modal-expand{
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 10px;
    border-radius: 8px;
    width: 70%;
    margin: auto;
    text-align: center;
}

.projectPageCover{
    display: none;
}

.project-page{
    width: 80%;
    margin: auto;
    border-top: none;

}

#project-page-body{
    overflow-y: auto;
    z-index: 1000;
}

.project-page table{
    width: 98%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    /* border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px; */
}


.projectHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 0 20px;
    height: 15vh;
    background-color: var(--primary-color);
    color: white;
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
}

.projectHeader img{
    height: 20px;
    margin-left: auto;
}

.projectHeaderRight{
    display: grid;
    height: 80%;
}

.sectionDiv{
    margin: auto;
    margin-top: 20px;
    /* padding-bottom: 50px; */
    height: 100px;
    margin-bottom: 50px;
    width: 50%;
}

.inventory-dropdown{
    width: 60%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    outline: none;
    color: #495057;
    border-radius: 4px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sectionDiv button, .invReg{
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 8px;
}

.invReg{
    margin-bottom: 20px;
}

#create-button{
    margin-left: 20px;
}

#cancel-button{
    background-color: #f44336;
    border: 0;
    color: white;
}

.container-active{
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    background-color: white;
    overflow-y: auto;
    z-index: 3;
}

.modal-container-active{
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 87vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 3;
}

.landingPage {
    display: flex;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
}

.landingPage .container {
    display: flex;
    margin: auto;
    width: 38%;
    min-width: 420px;
    padding: 0 10px;
    justify-content: space-between;
}

.landingPage button {
    height: 8vh;
    width: 20%;
    min-width: 118px;
    min-height: 55px;
    border-radius: 30px;
    cursor: pointer;
    font-size: larger;
    font-weight: bold;
}

.landingPage button:hover {
    background-color: #f44336;
    color: #fff;
}

table {
    border-collapse: collapse;
    margin: auto;
    margin-top: 30px;
    font-size: 0.9em;
    width: 95%;
    box-shadow: 0 0.188em 1.550em rgb(156, 156, 156);
    margin-bottom: 30px;
    background-color: white;
}

table thead tr{
    /* background-color: #f3f3f3; */
    color: black;
    text-align: left;
    font-weight: bold;
    height: 50px;
    border-bottom: 1px solid #c3c3c3;
}

table th{
    padding-left: 9px;
}

tr, td{
    padding: 12px 10px;
    padding-bottom: 45px;
}

tr, td:first-of-type{
    padding-left: 10px;
}

tbody tr td:nth-of-type(2){
    text-transform: capitalize;
    font-weight: 700;
}

tbody tr{
    border-bottom: 1px solid #dddddd;
    /* background-color: white; */
}

table tbody tr:nth-of-type(even){
    background-color: #f3f3f3;
}

table tbody tr:last-of-type{
    border-bottom: 2px solid var(--primary-color);
}

  /* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.page {
    background-color: #ffffff;
    width: 100%;
    height: 100vh;
}

.nav {
    position: sticky;
    z-index: 1;
    width: 100%;
    height: 13vh;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
}

.nav p{
    /* margin-top: 20px; */
    font-size: 16px;
    font-family: "Inter-Bold", Helvetica;
    font-weight: 500;
}

.nav a{
    margin-left: 8px;
    text-decoration: none;
    font-weight: 700;
    color: white;
}

.brand-logo {
    display: flex;
    width: 15%;
    float: left;
    align-items: center;
    margin-left: 10%;
    height: 100%;
}

.nav .nav-right{
    margin-right: 10%;
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    float: right;
}

.nav .nav-txt{
    margin-right: 1%;
    width: 22%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    float: right;
    color: #6a737f;
    /* border: 1px solid red; */
}

.brand-logo img{
    width: 80px;
    height: 80px;
}

.page .bell {
    width: 22px;
    height: 26px;
}

.page .burger {
    width: 25px;
    height: 15px;
    cursor: pointer;
}

.page .sidebar {
    position: fixed;
    bottom: 0;
    right: 0;
    top: 0;
    width: 15%;
    height: 100vh;
    min-height: 550px;
    overflow-y: auto;
    background-color: var(--primary-color);
    overflow-x: hidden;
    padding-top: 10px;
    display: none;
    z-index: 3;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.sidebar.active {
    display: flex;
    animation: slide-in-from-right 0.3s forwards;
}

.sidebar.slide-out {
    display: flex;
    animation: slide-out-to-right 0.3s forwards;
}

.sidebar a {
    width: 100%;
    padding: 10% 30%;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: white;
    font-family: "Inter-Bold", Helvetica;
}

.sidebar a:hover {
    /* background-color: #062758; */
    background-color: white;
    color: #071C3B;
    border: 0.5px solid #071C3B;
}

.sidebar-bottom{
    position: absolute;
    width: 100%;
    bottom: 0;
}

.sidebar-bottom a{
    padding: 20px auto;
    display: block;
}

.sidebar-bottom img{
    height: 17px;
    width: 17px;
    margin-right: 10px;
}

.page .profile-container{
    margin-bottom: 20px;
    text-align: center;
    cursor: pointer;
}

.page .profile-pic-container{
    width: 100px; /* Adjust to your preference */
    height: 100px; /* Adjust to your preference */
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center;
    background-color: #f0f0f0;
    border: 2px solid white;
}

.profile-container p{
    color: white;
    margin-top: 10px;
    font-size: 16px;
}

.page .profile {
    /* flex-shrink: 0; Prevents image from shrinking */
    min-width: 100%;  
    min-height: 100%;
    object-fit: cover;
    object-position: center; 
}

.page .burger-close {
    position: absolute;
    width: 25px;
    height: 25px;
    align-self: baseline;
    margin-top: 5.5vh;
    cursor: pointer;
}

.addingprojectcover{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 4;
    overflow-y: auto;
    display: none;
}

.addingprojectcover.active {
    display: block;
    animation: slide-in-from-right 0.3s forwards;
}

.addingprojectcover.slide-out {
    display: block;
    animation: slide-out-to-right 0.3s forwards;
}

.addingproject{
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 30px;
    border-radius: 8px;
    width: 40%;
    margin: auto;
    margin-top: 25vh;
    text-align: center;
    z-index: 4;
}

.addingproject .back{
    position: absolute;
    top: 0;
    left: 0;
    margin: 15px;
    cursor: pointer;
}

.back img{
    height: 25px;
}

.back .hov{
    display: none;
}

.back:hover .ini{
    display: none;
}
.back:hover .hov{
    display: block;
}

.addingproject h1{
    margin: 0 0 15px 0;
}

.projectHeading h1{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 750;
    font-size: 33px;
    margin-top: 10px;
}

.addingproject .form-input{
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.addingproject .form-submit{
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

#addProjectCancel{
    background-color: white;
    border: 1px solid var(--primary-color);
    color: black;
    margin-left: 10px;
}

#addProjectCancel:hover{
    background-color: #f44336;
    border: 0;
    color: white;
}

.notification {
    position: fixed;
    top: auto;
    bottom: 10px; 
    left: 10px; 
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    z-index: 4;
    opacity: 0.9;
    animation: slide-in-from-left 0.5s ease-out;
}

.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 3; /* Ensure it's above other content */
}

.notification button{
    height: 100%;
    width: 40px;
    background-color: #f44336;
    border: 0;
    color: white;
}

.notification button:hover{
    background-color: #e59f9a;
}

.notification .no{
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.notification-dialog{
    padding: 0;
    margin: 0;
    margin-left: 315px;
    height: 49px;
    background-color: #f44336;
}

/* .notification img{
    height: 13px;
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
} */

.page .container {
    margin-left: 11%;
    width: 73%;
    height: auto;
    background-color: inherit;
    /* padding-bottom: 100px; */
}

.page .head{
    margin: auto;
    width: 100%;  
}

.page .greetings {
    padding-top: 50px;
    padding-bottom: 40px;
    padding-left: 1.5%;
    font-family: "Inter-Bold", Helvetica;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.page .greetings-text-wrapper {
    font-weight: bold;
    font-size: 22px;
}

.page .greetings-text-wrapper-2 {
    color: #ff0000;
    font-size: 15px;
}

.page .projects {
    width: 100%;
    /* height: 68vh; */
    background-color: #ddd;
    border-radius: 20px;
    /* margin-bottom: 100px; */
}

.projects-head{
    padding: 20px 0 20px 0;
    display: flex;
    justify-content: space-between;
}

.page .projects-text-wrapper {
    padding-left: 3%;
    font-family: "Inter-Regular", Helvetica;
    font-weight: bold;
    font-size: 35px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;

}

.add-project-btn-ph{
    height: 30px;
    width: 70px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.add-project-ph{
    height: 10px;
}

.page .search-wrapper {
    margin-top: 0.7%;
    margin-right: 1.5%;
    display: flex;
    align-items: center;
    width: 250px;
    height: 25px;
    background-color: #ffffff;
    border-radius: 60px;
}

.page .search {
    margin-left: 2%;
    width: 15px;
    height: 15px;
}

.searchtext{
    border: 0;
    outline: 0;
    margin-left: 5px;
    width: 85%;
}

/* .searchtext:focus .search-wrapper{
    border: 1px solid black;
} */

hr{
    width: 80%;
    margin: auto;
    margin-bottom: 15px;
    border-radius: 60px;
    border-top: 3px solid var(--primary-color);
}

.p-hr{
    width: 95%;
    border: 1px solid rgb(141, 141, 141);
    margin-bottom: 0;
}

.sortingSection {
    display: flex;
    justify-content: end;
    margin-right: 6%;
}

.sortingSection img {
    z-index: 1;
}

.custom-dropdown{
    display: flex;
    padding: 2px;
    border: 2px solid white;
    
}

.custom-dropdown, .custom-dropdown img {
    transition: transform 0.6s ease;
}

.show-transition, .show-transition img {
    transform: translateX(-6px);
}

.toggleLayout, .dropdown-icon-div{
    display: flex;
    align-items: center;
    border-radius: 1px;
    padding: 4px;
    margin-right: 5px;
}

.dropdown-icon-div{
    margin-right: 0;
}

.toggleLayout:hover, .dropdown-icon-div:hover{
    background-color: white;
}

.toggleLayout img{
    height: 15px;
}

.toggleLayout .grid-view-btn{
    display: none;
}

.toggleLayout .show{
    display: flex;
}

.toggleLayout .inactive{
    display: none;
}

.dropdown-icon {
    cursor: pointer;
    height: 15px;
    width: 22px;
}

.dropdown-content option {
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
}

/* Style for when option is hovered */
.dropdown-content option:hover {
    background-color: #eaeaea;
    cursor: pointer;
}

/* Style for when option is selected */
.dropdown-content option:checked {
    background-color: #0056b3;
    color: #fff;
}

.dropdown-content {
    display: none;
    background-color: white;
    min-width: 70px;
    outline: none;
    border: none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}


.dropdown-content.show {
    display: flex;
    position: relative;
    animation: slide-in-left 0.6s ease-out;
}

.dropdown-icon-div.active{
    background-color: white;
}

.no-proj, .no-search{
    text-align: center;
    font-weight: bolder;
    font-size: 50px;
    display: none;
}

.page .project-body{
    display: flex;
    height: fit-content;
    margin-top: 10px;
    /* padding-bottom: 30px; */
}

.project-list{
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    min-height: 50px;
    max-height: 45vh;
    max-width: 94%;
    width: 94%;
    overflow-y: auto;
    padding: 10px;
    margin-bottom: 20px;
}

.horizontal-view {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 15px;
    height: 30vh;
    min-height: 100px;
}

.horizontal-view .project-wrapper, .add-project-wrapper {
    flex: 0 0 auto;
    width: 33.333%;
}

.project-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.project-list::-webkit-scrollbar-thumb {
    background: #062758;
    border-radius: 8px;
}

.project-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.project-list::-webkit-scrollbar {
    width: 7px;
}

.page .project-wrapper:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    /* border: 2px solid var(--primary-color); */
}

.project-wrapper:hover .options{
    display: flex;
}

.project-wrapper:hover .date button{
    display: inline-block;
}

.horizontal-view::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.horizontal-view::-webkit-scrollbar-thumb {
    background: #062758;
    border-radius: 8px;
}

.horizontal-view::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.horizontal-view::-webkit-scrollbar {
    width: 2px;
}

.page .project-wrapper {
    position: relative;
    margin-left: 0.7%;
    width: 21.5vw;
    height: 180px;
    background-color: #fbfbfb;
    border-radius: 10px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.project-wrapper p{
    margin-bottom: 7px;
}

.page .project-title {
    font-family: "Inter-Bold", Helvetica;
    font-weight: 400;
    color: #000000;
    font-size: 20px;
    padding: 1.5% 0 0 2%;
}

.page .project-title-name {
    font-weight: 700;
    width: 100%;
}

.page .project-title-address {
    font-size: 15px;
    padding-top: 0;
}

.project-type{
    display: none;
}

.options{
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    flex-direction: column;
}

.delete{
    height: 20px;
    width: 17px;
    margin: 5px;
}

.edit{
    height: 20px;
    width: 20px;
    margin: 5px;
    margin-top: 0;
}

.date{
    display: flex;
    font-size: 12px;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    justify-content: space-between;
}

.date p{
    margin-left: 10px;
}

.date button{
    cursor: pointer;
    border: none;
    width: 20px;
    height: 20px;
    border-bottom-right-radius: 10px;
    display: none;
}


.date img{
    height: 13px;
    cursor: pointer;
}

.project-list .add-project-wrapper {
    margin-left: 35%;
    margin-top: 50px;
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border-radius: 76.5px;
    border: 3px solid;
    border-color: #000000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.horizontal-view .add-project-wrapper{
    margin-left: 1.5%;
    height: 75px;
    width: 75px;
}

.add-project-wrapper:hover{
    transform: scale(1.1);
    transition-duration: 0.5s;
}

.page .add-project {
    width: 30px;
    height: 30px;
}

.suppliers-section {
    font-family: "Inter-Bold", Helvetica;
    margin-top: 20px;
    padding: 20px;
    background-color: #d9d9d9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Search and Filter Bar */
.search-filter-bar {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* .search-filter-bar input,
.search-filter-bar select {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
} */

/* Suppliers Table */
.suppliers-table {
    width: 100%;
    border-collapse: collapse;
}

.suppliers-table th,
.suppliers-table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.suppliers-table th {
    background-color: var(--primary-color);
    color: #ffffff;
}

.suppliers-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Pagination */
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination button {
    padding: 5px 10px;
    margin: 0 5px;
    border: none;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
}

.pagination button:hover {
    background-color: #0056b3;
}

/* Add Supplier Button */
.add-supplier-btn {
    display: block;
    width: 200px;
    padding: 10px;
    margin: 20px auto;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.add-supplier-btn:hover {
    background-color: #45a049;
}

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

@media only screen and (max-width: 1400px) {
    .addingproject .form-submit{
        width: 15vw;
    }

    .sidebar a{
        padding: 8% 25%;
        margin: 10px 0;
    }
}

@media only screen and (max-width: 1225px) {
    .page .sidebar {
        width: 20%;
    }

    .sidebar a{
        padding: 7% 23%;
        margin: 8px 0;
    }
}

@media only screen and (max-width: 930px) {
    /* For mobile phones: */
    [class*="col-"] {
        width: 100%;
    }

    .addingproject .form-submit{
        width: 17vw;
    }

    .page{
        margin-bottom: 0;
    }

    .page .nav{
        height: 10vh;
        max-height: 100px;
        min-height: 60px;
    }

    .page .brand-logo{
        margin-left: 0.5%;
        margin: 0;
    }

    .brand-logo img{
        width: 65px;
        height: 65px;
    }
    
    .page .bell {
        width: 18px;
        height: 20px;
    }
    
    .page .burger {
        width: 20px;
        height: 15px;
        cursor: pointer;
    }

    .nav .nav-right{
        height: 100%;
        width: 25%;
        margin-right: 5%;
    }

    .page .container{
        width: 100%;
        height: 100vh;
        max-height: 750px;
        min-width: 100%;
        min-height: 90vh;
        margin: 0;
        background-color: #ddd;
    }

    .page .projects{
        border-radius: 0;
    }

    .page .greetings{
        padding: 0;
        padding-top: 5%;
        padding-left: 2%;
        padding-bottom: 2%;
        font-size: 16px;
    }

    .page .greetings-text-wrapper {
        font-size: 20px;
    }

    .page .greetings-text-wrapper-2{
        font-size: 12px;
    }

    .projects-head{
        display: block;
        width: 100%;
        text-align: center;
        padding-bottom: 10px;
    }

    .page .projects-text-wrapper{
        padding: 0;
        font-size: 28px;
        height: 40px;
    }

    .add-project-btn-ph{
        width: 55px;
        height: 4.5vh;
        display: flex;
        margin-top: 2.2vh;
        margin-left: 60%;
        width: 20%;
        padding-top: 6px;
        padding-left: 7.5vw;
        font-weight: bold;
        max-height: 28px;
        min-height: 28px;
    }

    .add-project-ph{
        display: none;
    }

    .page .search-wrapper{
        margin: auto;
        margin-top: 1.2vh;
        margin-left: 10%;
        width: 30%;
        min-width: 170px;
    }

    .searchtext{
        width: 80%;
    }

    .page .project-wrapper {
        /* position: static; */
        width: 38vw;
        height: 180px;
        background-color: #fbfbfb;
        border-radius: 10px;
        cursor: pointer;
        transition: box-shadow 0.3s ease;
    }

    .project-list{
        margin: auto;
        margin-left: 8.5%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(200px, auto);
        height: 52vh;
        min-height: 200px;
        max-width: 94%;
        width: 85%;
        /* overflow-y: auto; */
        padding: 10px;
    }

    .horizontal-view {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        margin-bottom: 15px;
        height: 30vh;
        min-height: 100px;
    }

    .sidebar a{
        padding: 6.5% 22%;
    }

    .sortingSection {
        display: flex;
        justify-content: start;
        margin: 0;
        margin-left: 10vw;
    }

    .addingproject{
        width: 50%;
    }

    .page .sidebar {
        width: 25%;
    }

    .page .home-burger{
        display: inline;
    }

    .no-proj, .no-search{
        font-size: 35px;
    }

    .modal-container-active{
        height: 90vh;
    }

    .modal-expand{
        width: 85%;
        margin: auto;
    }
    
}

@media only screen and (max-width: 770px) {
    .page .sidebar {
        width: 37%;
    }

    .sidebar a{
        padding: 5% 25%;
    }

    .addingproject{
        width: 70%;
    }

    .addingproject .form-submit{
        width: 25vw;
    }

    .no-proj, .no-search{
        font-size: 32px;
    }

    .modal-expand{
        width: 100%;
    }
}

@media only screen and (max-width: 560px) {
    .page .sidebar {
        width: 45%;
    }

    .sidebar a{
        padding: 5% 29%;
    }

    .no-proj, .no-search{
        font-size: 28px;
    }

    .project-list{
        margin: 0;
        width: 100%;
        max-width: 100vw;
    }

    .page .project-wrapper{
        width: 45vw;
    }

    .add-project-btn-ph{
        padding-left: 6.5vw;
    }

    .addingproject{
        width: 80%;
    }

    .addingproject .form-submit{
        width: 30vw;
    }
}

@media only screen and (max-width: 495px) {
    .page .project-wrapper{
        width: 100%;
    }

    .page .project-list{
        grid-template-columns: repeat(1, 1fr);
    }

    .page .sidebar {
        width: 50%;
    }

    .sidebar a{
        padding: 5% 25%;
    }

    .addingprojectcover{
        background-color: #071C3B;
    }

    .addingproject{
        width: 90%;
        height: 70%;
        margin-top: 10vh;
    }

    .addingproject .form-submit{
        width: 60vw;
    }
    .addingproject #addProjectCancel{
        margin-left: 0;
    }

    /* .no-proj, .no-search{
        font-size: 30px;
    } */

}

@media only screen and (max-width: 390px) {
    .page .search-wrapper{
        width: 80%;
        margin-top: 5vh;
        margin-bottom: 0;
    }

    .add-project-btn-ph{
        margin-top: 0.5vh;
        margin-left: 30%;
        padding-left: 16vw;
        width: 40%;
    }

    .addingproject{
        width: 100%;
    }

    .page .sidebar {
        width: 100%;
    }

    .page .burger-close {
        margin-top: 40vh;
    }

    .sidebar a{
        margin: 5px 0;
        padding: 5% 35%;
    }

}

@media only screen and (max-width: 320px){
    .sidebar a{
        padding: 5% 30%;
    }
}



.building-register-cover{
    display: none;
}
.register-active{
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 100;
}
/* Center the form vertically and horizontally */
.building-register { 
    max-width: 500px; 
    margin: 7px auto; 
    padding: 20px; 
    background-color: #fff; 
    border-radius: 8px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

/* Style form headings */
.building-register h2 { font-size: 24px; margin-bottom: 20px; }

/* Style form fields and labels */
.form-group {
    margin-bottom: 20px;
}

.building-register label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.building-register input[type="text"]
, input[type="number"]
,textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.building-register select{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.building-register textarea {
    resize: vertical;
}

/* Style submit button */
.building-register button[type="submit"] { 
    background-color: var(--primary-color); 
    color: white; 
    padding: 12px 20px; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 16px; 
    transition: background-color 0.3s;
}
.building-register button[type="submit"]:hover { background-color: #45a049; }

.login-page{
    background-color: #071C3B;
    font-family: "Inter-Bold", Helvetica;
    width: 100%;
    height: 100vh;
    padding-top: 20vh;
}

.login-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    margin: auto;
    /* margin-top: 6vh; */
    /* margin-bottom: 50px; */
}

.login-title {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.input-group input:focus {
    outline: none;
    border-color: #007BFF; /* Highlight on focus */
}

/* Login Button */
.login-btn {
    width: 100%;
    background-color: #0056b3;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #071C3B;
}

/* Signup Text */
.signup-text {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

.signup-text a {
    color: black;
    text-decoration: none;
}

.signup-text a:hover {
    color: #007BFF;
    text-decoration: underline;
}

.logo-container{
    position: absolute;
    top: 0;
    left: 0;
}
/*
.logo-container img{
    height: 90px;
    width: 90px;
} */

.signup-page {
    font-family: "Inter-Bold", Helvetica;
    width: 100%;
    height: 100vh;
    background-color: #071C3B;
    /* padding-top: 20vh; */
}
.signup-container, .verificationForm{
    max-width: 500px;
    padding: 30px;
    background-color: #071C3B;
    border-radius: 10px;
    border: 1px solid white;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    margin: auto;
    margin-top: 6vh;
    margin-bottom: 50px;
}

.verificationPage{
/*    display: none;*/
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background-color: #071C3B;
    z-index: 3;
}

.signup-container h2 {
    font-size: 19px;
    margin-bottom: 20px;
    color: #6a737f;
    font-weight: 200;
}

.signup-container .form-group {
    display: block;
    margin-bottom: 20px;
}

.signup-container  .form-pwd,
.signup-container .form-c-pwd{
    display: none;
}

.c-pwd{
    margin-top: 10px;
}

.signup-container label, .verificationForm label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: white;
    font-weight: 1000;
}

.signup-container input[type="email"],
.signup-container input[type="password"],
.verificationForm input[type="email"],
.verificationForm input[type="text"] {
    width: 80%;
    padding: 8px;
    margin: 0 auto;
    background-color: #071C3B;
    border: 0;
    border-radius: 7px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    color: #2b80ff;
    font-weight: 800;
}

.signup-container input[type="email"]:focus,
.signup-container input[type="password"]:focus,
.verificationForm input[type="email"]:focus,
.verificationForm input[type="text"]:focus {
    border: 0.1px solid white;
}

.verificationForm input[type="email"],
.verificationForm input[type="text"] {
    width: 100%;
}

.next{
    display: none;
    background-color: #071C3B;
    border: 1px solid #6a737f;
    color: #6a737f;
    border-radius: 7px;
    margin-left: 2px;
    font-size: 14px;
    padding: 6px 20px;

}

.validNext{
    display: inline-block;
    background-color: #071C3B;
    border: 1px solid #4CAF50;
    border-radius: 7px;
    margin-left: 2px;
    font-size: 14px;
    padding: 6px 20px;
    color: #4CAF50;
}

/* .signup-container input[type="email"]:focus,
.signup-container input[type="password"]:focus {
    border: 0;
    background-color: white;
} */

.verificationForm button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.verificationForm button:hover {
    background-color: #0056b3;
}

.signup-container .error-message {
    color: red;
    text-align: center;
    margin-top: 10px;
    display: none;
}

.passwordRequirements{
    display: none;
    margin-left: 10px;
    padding: 0;
}

.requirement {
    color: #6a737f; /* Initial color for unmet requirements */
    font-size: 14px;
    list-style: none;
}

.requirement.met {
    color: green; /* Color for met requirements */
    text-decoration: line-through; /* Strike-through effect */
}