@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins",sans-serif;
}
:root{

--main-color:  #000000;
--mainlight-color: #FFFFFF;

--secoundry-color:#BA0901;
--third-color:#268124;

--tran-02: all 0.2 ease ;
--tran-03: all 0.3 ease ;
--tran-04: all 0.4 ease ;
--tran-05: all 0.5 ease ;

}
body{
    height: 100vh;
    background-color: var(--mainlight-color);


    /* opacity: 0.5; */
    /* display:flex ;
    justify-content: center;
    align-items: center;
    min-height: 100vh; */
    /* background: url('../images/logopid.png')no-repeat; */
    /* background-size: contain;
    background-position: center; */
    /* background-color: black; */
    /* margin: 0;
            padding: 0;
            font-family: 'Arial', sans-serif;
            background-color: #00000000; */

}

/* ===== Sidebar ===== */
.mb-0{
position: fixed;
top: 100px;
left: 100px;
}

.sidebar{
    position:fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    padding: 10px 14px;
    background: var(--third-color);
    transition:var(--tran-05) ;
    z-index: 100;



}
.sidebar.close{
    width: 88px;
    transition:var(--tran-05)  ;
}



/* ===== Reusable CSS ===== */
.sidebar .text {
    font-size: 16px;
    font-weight: 500;
    color: var(--mainlight-color);
    transition: var(--tran-03);
    white-space: nowrap;

}
.sidebar .image{
    min-width: 60px;
    display: flex;
    align-items: center;

}
.sidebar.close .text{
    opacity:0;
}


.sidebar li {
    height: 50px;
    margin-top: 10px;
    list-style: none;
    display: flex;
    align-items: center;

}
.sidebar li .icon{
    min-width: 60px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;

}
.sidebar li .icon,
.sidebar li .text{
    color: var(--mainlight-color);
    transition: var(--tran-03);


}
.sidebar li .ico{
    min-width: 60px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    transition: var(--tran-03);

}
.sidebar.close li .ico{
    opacity:0;

}


.sidebar header{
    position: relative;

}

.sidebar .image-text img {
    width: 40px;
    border-radius: 6px;

}
.sidebar header .image-text{
    display: flex;
    align-items: center;

}
header .image-text .header-text{
    display: flex;
    flex-direction:column ;


}
.header-text .name {
    font-weight: 600;
}
.header-text .proffession {
    margin-top: -2px;

}
.sidebar header .toggle{
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    height: 25px;
    width: 25px;
    background: var(--mainlight-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px var(--third-color);
    border-style:solid;
    color: var(--third-color);
    font-size: 22px;

}
.sidebar.close header .toggle {
    transform: translateY(-50%) rotate(188deg);
}
.sidebar li a{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--tran-04);

}
.sidebar li a:hover{
    background: var(--mainlight-color);




}
.sidebar li a:hover .icon,
.sidebar li a:hover .text{
    color: var(--third-color);
}

.sidebar .menu-bar{
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* ========== header ============== */


.home{
    position:fixed ;
    height: 10vh;
    left: 250px;
    width: calc(100% - 250px);
    margin-top: 0;
    top: 0;
    transition: var(--tran-05);
    background-color: var(--mainlight-color);
    padding: 20px;
    text-align: center;
    color: var(--third-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.home.close {
    left: 88px;
    width: calc(100% - 88px) ;

}
.profile-notification {
    display: flex;
    align-items: start;
    gap: 20px;
    color: var(--third-color);
}

.profile-notification a {
    text-decoration: none;
    color: var(--third-color);
    display: flex;
    align-items: start;

}

.profile-notification .icon{
    font-size: 20px;
    align-items: start;
    color: var(--third-color);
    margin-right: 5px;
}
.home .text {
    align-items: end;
}


/* ========== login ============== */

/* .wrapper{
  width: 420;
  background: transparent;
  color: var(--third-color);
  padding: 30px 40px;
  border-radius: 40px;
  border: 2px solid var(--mainlight-color);
}
.wrapper h1 {
   font-size: 36;
   text-align: center;
   color: var(--mainlight-color);
}
.wrapper .input-box{
   position: relative;
   width:  100%;
   height: 50px;
   margin: 30px 0;
}
.input-box input{
   width:  100%;
   height: 100%;
   background: transparent;
   border: none;
   outline: none;
   border: 2px solid var(--mainlight-color);
   border-radius: 40px;
   font-size: 16px;
   color: var(--main-color);
   padding: 20px 45px 20px 20px;
}
.input-box-new input{
    width:  100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid var(--mainlight-color);
    border-radius: 40px;
    font-size: 16px;
    color: var(--third-color);
    padding: 20px 45px 20px 20px;
}
.input-box input::placeholder{
   color:var(--mainlight-color) ;
   text-align: left;
}
.input-box i{
   position: absolute;
   right: 20px;
   top: 50%;
   transform: translateY(-50%);
   font-size: 20px;

}
 .wrapper .remmember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: -15px 0 15px;
    color: var(--mainlight-color);
}
.remmember-forgot label input{
    accent-color: var(--mainlight-color);
    margin-right: 3px;

}
.remmember-forgot a{
    color: var(--mainlight-color);
    text-decoration: none;
    border-color: var(--main-color);

 }
.remmember-forgot a:hover{
    text-decoration: underline;
            }
.wrapper .btn{
    width:  100%;
    height: 45px;
    background:var(--mainlight-color);
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0,0,0,-1);
    cursor: pointer;
    font-size: 16px;
    color: var(--third-color);
    font-weight: 600;
}
.wrapper .input-box{
   position: relative;
   width:  100%;
   height: 50px;
   margin: 30px 0;
}
*/

/* ========== Dashboard ============== */

   .tools {
    width: 50%;
    height: 25%;
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    top: 100px;
    margin-right: 60%;
    left: 250px;

    width: calc(100% - 250px);
    justify-content: space-between;
    padding: 10px;


}
.tools.close {
    width: 75%;
    height:50%;
    top: 100px;
    margin-right: 40%;
    width: calc(100% - 88px) ;
    left: 88px;


}

 .tools .box{
    flex: auto;
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 6px;
    background-color: var(--main-color);
    margin: 10px;
}
.box .filter{
    padding-top: 50px;
    align-items: center;
    align-content: justify;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    transform: translate(0%, -100%);
    background-color: rgba(4, 4, 4, 0.526);
    text-align: center;
}

.box .pic{
    width: 100%;
    height: 100%;
    border-radius: 6px;
}
.filter h1{
    color: var(--third-color);
    font-size: 250%;

}
.filter .icon {
    color: var(--secoundry-color);
    font-size:700%;
    opacity: 0.5;
}
.icon {
    color: var(--secoundry-color);
    font-size:20px;
    opacity: 0.5;
    border: none;
}
.filter p{
    font-size: 80%;
    color: var(--main-color);
}
.tools a{
    text-decoration: none;
}
/* ================== employees============== */
.emp-table{
    position: absolute;
    border-collapse: collapse;
    width: calc(100% - 262px);
    margin-top: 200px;
    left: 262px;
    border-radius: 10px;
    overflow: hidden;

}
.emp-table.close{
    width: calc(100% - 100px);
    left: 100px;


}
th, td {
    border: 1px solid var(--third-color);
    text-align: center;
    padding: 8px;

}
td{
    color: var(--main-color);
    font-weight: 600;

}

th {
    background-color: var(--third-color);
    color: var(--main-color);
}
td a{
    text-decoration: none;
    color: var(--third-color);
}

td .icon{
    font-size: 20px;
    color: var(--secoundry-color);
    margin-right: 5px;
}

.popup {
    display: none;
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    border-radius: 6px;

}
.popupupup{
    display: none;
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.popup-content {
    width: 50%;
    background: var(--mainlight-color);
    padding: 20px;
    border-radius: 10px;
    color: var(--third-color);
    display: flex;
    flex-direction: column; /* Align items vertically */
    justify-content: center; /* Center content vertically */
}
.popup h2{
    text-align: center;
    margin-bottom: 10px;
}

.close-btn {
    position: absolute;
    top: 10%;
    cursor: pointer;
    top: 10px;
    right: 10px;
    color: var(--third-color);

}
.btn-add{
    position: absolute;
    top: 140px;
    left: 262px;
    background-color: var(--mainlight-color);
    color: var(--third-color);
    border: none;
    border-radius: 20px;
    width: 50px;
    height: 50px;
    align-content: center;
    box-shadow: 0 10px 14px rgba(0, 0, 0, 0.1);
    cursor: pointer;


}

.btn-add .icon{
    font-size: 30px;
    color: var(--secoundry-color);
    margin-right: 5px;
    align-self: center;
}

.btn-add.close{
    left: 100px;

}
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    text-align: right;
}

input, select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color:transparent;
    color: var(--third-color);
    font-size: 20px;

}
.upload{
color:var(--third-color) ;
font-weight: 900;
background-color: var(--mainlight-color);
border-radius: 4px;
border: none;
box-shadow: 0 10px 14px rgba(0, 0, 0, 0.1);
width: 100px;
height: 40px;
margin-left: 100px;
margin-right: 100px;
}
/* ====================== searchBox================= */

.search {
    position: absolute;
    right: 0;
    width: 300px;
    top: 150px;
    color: var(--third-color);
    display: flex;




}
/* .searcher {

    width: 100px;
    top: 150px;
    color: transparent;
    display: flex;
border: none;
} */
.search input{
    color: var(--main-color);
    border: 2px solid var(--mainlight-color);
    background: var(--third-color);
    text-align: right;
    box-shadow: 0 10px 14px rgba(0, 0, 0, 0.1);



}
/* .searcher input{
    color: var(--main-color);
    border:  none ;
    background: var(--third-color);
    text-align: left;
    box-shadow: 0 10px 14px rgba(0, 0, 0, 0.1);
} */

input[type="text"] {
    padding: 8px;
    font-size: 16px;
}

.search button {
    padding: 8px 12px;
    font-size: 16px;
    background-color: var(--mainlight-color);
    color: #fff;
    border: none;
    cursor: pointer;
    border-color: #8e744b;
    border: thick;
    border-radius: 6px;
    box-shadow: 0 10px 14px rgba(0, 0, 0, 0.1);

}
.bttonadd{
    position: absolute;
    padding: 8px 12px;
    font-size: 16px;
    background-color: var(--main-color);
    color: #fff;
    border: none;
    cursor: pointer;
    border-color: #8e744b;
    border: thick;
    border-radius: 6px;
    left: 40%;
    box-shadow: 0 10px 14px rgba(0, 0, 0, 0.1);
}
.searcher button {
    padding: 8px 12px;
    font-size: 16px;
    background-color: var(--mainlight-color);
    color: #fff;
    border: none;
    cursor: pointer;
    border-color: #8e744b;
    border-radius: 6px;
    box-shadow: 0 10px 14px rgba(0, 0, 0, 0.1);

}
.search button:hover {
    background-color: var(--main-color);
}
.searcher button:hover {
    background-color: var(--main-color);
}
.searcher {
    display: flex;
    align-items: center; /* Align items vertically */
}
.searcher input {
    flex-grow: 1; /* Allows the input to grow and fill the space */
    margin-right: 8px; /* Adds some space between the input and the select */
}

.searcher select {
    flex-grow: 0; /* Prevents the select from growing */
    margin-right: 8px; /* Adds some space between the select and the button */
}


/* ===============profile================ */

.container {
    position: relative;
    top : 200px;
    right: 20px;
    left: 260px;
    width: calc(100% - 260px);


}
.container.close{

    left: 98px;
    width: calc(100% - 98px);


}

.container .card .card-header .mb-0{

    text-align: center;
    margin-left: 35%;
    /* margin-right:  35%; */


}
.container .card .card-body .row .col-md-6 .mb-4{

    text-align: right;
    color: var(--third-color);
    margin-bottom: 50px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}
/* .container .card .card-body .row .col-md-6 .mb-but4{

    text-align: right;
    color: var(--third-color);
    margin-bottom: 50px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

} */
.container .card .card-body .row .card-info{
    text-align: right;
    width: auto;
    height: fit-content;
    right: 0;
    /* border: 2px solid var(--main-color); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--third-color);
    border-radius: 6px;

}
.container .card .card-body .row .card-info p{
    padding: 10px;

}
.container .card .card-body .row .card-info p a{
    text-decoration: none;
    color: var(--secoundry-color);


}

.font-semibold {
    color: var(--third-color);
}
.max-w-7xl{
    background-color: var(--mainlight-color);
}
.py-12{
    background-color:  var(--mainlight-color);
}
.p-4 {
    background-color: var(--third-color);
}
.any-form {
    background-color: var(--third-color);
    padding: 20px;
    border-radius: 10px;
    color: var(--mainlight-color);

}

/* Style the text input fields */
.any-form input[type="text"],
.any-form input[type="email"],
.any-form input[type="password"] {
    background-color: transparent; /* Set a transparent background for input fields */
    border: 1px solid var(--mainlight-color); /* Set a border color for input fields */
    color: var(--mainlight-color); /* Set text color for input fields */
    padding: 10px; /* Add padding to input fields */
    margin-bottom: 10px; /* Add margin between input fields */
    text-align: center;
}

/* Style the select dropdown */
.any-form select {
    background-color: transparent; /* Set a transparent background for the dropdown */
    border: 1px solid var(--secoundry-color);; /* Set a border color for the dropdown */
    color: #8e744b; /* Set text color for the dropdown */
    padding: 10px; /* Add padding to the dropdown */
    margin-bottom: 10px; /* Add margin between the dropdown and other elements */
}
/* Style the labels for input fields and select dropdown */
.any-form label {
    color: var(--mainlight-color); /* Set text color for labels */
    display: block;  /*  Ensure labels are displayed as blocks */
    margin-bottom: 5px; /* Add margin below labels */
}

/* Style the submit button */
.any-form button {
    background-color: var(--secoundry-color);
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    border-radius: 6px;
}
.any-form button:hover {
    background-color: #fff; /* Set the background color for the submit button */
    color: #8e744b; /* Set text color for the submit button */
    padding: 10px; /* Add padding to the submit button */

}

/* Style the link */
.any-form a {
    position: relative;
    color: #8e744b; /* Set the link color */
    text-decoration: none; /* Remove underline from the link */

}

.any-form a:hover {
    text-decoration: underline; /* Underline the link on hover */
    color: #8e744b;
}
.x-application-logo {
    width: 150px; /* Adjust the width to your desired size */
    height:150px; /* Adjust the height to your desired size */
    display: block; /* Ensure it is a block-level element for margin auto to work */
    margin: 0 auto; /* Center horizontally */
}




/* Additional styling for the surrounding div if needed */

.font-sans{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 40px;
    left: 250px;
    width: calc(100% - 250px);
}
.font-sans.close{
    left: 88px;
    width: calc(100% - 88px) ;
}
.any-form .mt-4-block {
    display: flex;
    flex-direction: row; /* Ensure the flex direction is set to row */

    justify-content: space-between;
    align-items: center;
}
.card-info .row{
    display: flex;
    justify-content: space-between;
}
.card-info .row .column {
    width:48%;
    justify-content: center;

}
.delete-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #007bff; /* You can set the color you prefer */
    text-decoration: none;
    padding: 0; /* Optional: Remove padding if there is any */
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    color: var(--third-color);
    text-decoration: none;
    font-size: 14px;
    text-align: center;}

.dropdown-menu li a:hover {
    background-color: var(--third-color);
    color: var(--mainlight-color);
    align-items: center;
    text-align: center;
}
/* CSS for submenu */
.submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.submenu.show {
    display: block;
}

.submenu li {
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu li a {
    display: block;
    color: var(--third-color);
    text-decoration: none;
    font-size: 14px;
    text-align: center;
}

.submenu li a:hover {
    background-color: var(--third-color);
    color: var(--mainlight-color);
    align-items: center;
    text-align: center;}

    .dropdown{
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        text-decoration: none;
        border-radius: 6px;
        transition: var(--tran-04);
        }
        /* ----------------------------------style filtered btns--------------------------------------- */
        .button-row-filter {
            top:160px;
            position: absolute;
            left: 98px;
            width: calc(100% - 88px);
            display: flex;
            justify-content: space-around;
            align-items: center;

            }

        .button-filter {

            padding: 10px 20px;
            background-color: var(--main-color);
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .button-filter:hover {
            background-color: var(--third-color);
            color: var(--main-color);
        }

        .button-row-filter.close{
            left: 260px;
            width: calc(100% - 250px);

        }
.btn-add-item
{
    position: absolute;
    top: 100px;
    left: 262px;
    background-color: var(--mainlight-color);
    color: var(--third-color);
    border: none;
    border-radius: 20px;
    width: 50px;
    height: 50px;
    align-content: center;
    box-shadow: 0 10px 14px rgba(0, 0, 0, 0.1);
    cursor: pointer;

}
.btn-add-item .icon{
    font-size: 30px;
    color: var(--third-color);
    margin-right: 5px;
    align-self: center;

}

.btn-add-item.close{
    left: 120px;

}

.invoice-container {
    max-width: 800px;
    border: 1px var(--third-color);
    border-style:solid;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.invoice-container h1 {
    text-align: center;
}

.invoice-table {
    width: 100%;

    border-collapse: collapse;
    margin-bottom: 20px;

}

.invoice-table thead th {
    background-color: #f2f2f2;
    text-align: left;
    padding: 8px;

}

.invoice-table tbody td {
    border-bottom: 1px solid #ddd;
    padding: 8px;
}

.summary-section {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.summary-section h2 {
    margin-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.invoice-container .company-info{
    text-align: center;
}
.invoice-details select{
    background-color: #fff;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    z-index: 1;
    width:fit-content;
    color:var(--main-color);
    margin-bottom: 5px;
    margin-left: 0;
    margin-right: 0;
}
.invoice-in {
    width: 100px;
    background-color: transparent;
    border: none;
    outline: none;
    color:var(--third-color);
    cursor: pointer;
}

.invoice-in::placeholder {
    color: var(--third-color);
    text-align: center;
}
#addRowButton{
background-color: var(--third-color);
border-style: none;
color: var(--mainlight-color);
pointer-events: stroke;
}
#addRowButtonothers{
    background-color: var(--third-color);
border-style: none;
color: var(--mainlight-color);
}
.price-offering-table{
    position: absolute;
    width:100%;
    margin: 100px;




}
.price-offering-table input{
    background-color: transparent;
    border-style: none;
}
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

.popup-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px; /* Max width for the popup */
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.popup-content h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.upload {
    position: relative;
    display: block;
    width: 100px;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 200px;
}

.upload:hover {
    background-color: #218838;
}

