/* 
    <i class="fas fa-toggle-on"></i>

    <i class="fas fa-toggle-off"></i>

    <i class="fas fa-trash-alt"></i>

*/

:root {

    --primary: #3700B3;
    --primary2: #6200EE;
    --primaryLight: #f2e7fe;
    --secondary: #018786;
    --secondary2: #03dac5;
    --shade : #9575de;
    --white: #fff;
    --black: #000;

    /* buttons */
    --btnPri: #BB86FC;
    --btnPriHover: #c6a0f5;
    --btnSec: #03dac5;
    --btnSecHover: #00fae2;
    --btnErr: #b00020;
    --btnErrHover: #c50225;
    --btnInfo: #018786;
    --btnInfoHover: #00a8a7;
    
}
/* General setting   */
body{
    background-color: var(--white);
}

body.no-scroll {
    overflow: hidden;
}

a{
    color:var(--black);
}



.nav{
    color:  var(--white);
    background-color: var(--primary);;
    height: auto;
    min-height: 100vh;
    padding-right:0;
    /* border-right: 1px solid #ddd; */
}
/* .nav .admin-head{
    border-bottom: 1px solid #6200EE;
    padding: 15px;
} */
.nav h4{
    border-bottom:1px solid var(--primary2);
    padding: 15px;
    margin-bottom: 0;
}
.nav a{
    padding: 15px;
    color: var(--white);
}
.nav a:hover{
    color: var(--black);;
    background-color: var(--secondary);
}

.my-active{
    color: var(--black) !important;
    background-color: var(--secondary);
}
.page{
    padding-right: 0;
    padding-left: 0;
    /* overflow: hidden; */
}

.head{
    background-color: var(--primary2);
    color: var(--white);
    padding: 15px;
}

/* Languages switch */
.head .lanSwitch {
    display: inline-block;
    text-decoration: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 15px;
    font-size: 22px;
    color: var(--black);
    background-color:var(--white);
    transition: background-color 0.3s, color 0.3s;
}
.head .lanSwitch:hover {
    background-color: var(--black);
    color: var(--white);
}
  /* Center text */
.head .lanSwitch span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}
/* Languages switch */


.head .holder{
    cursor: pointer;
}
.head .holder img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.pos-rel{
    position: relative;
}
.sub-men{
    position: absolute;
    background-color: var(--primary);
    width: 170px;
    right: 10px;
    top: 66px;
    z-index: 99;
    border-radius: 5px;
    display: none;
}
.sub-men a{
    padding: 12px 30px;
    color: var(--white);
}
.sub-men hr{
   border: 1px solid var(--white);;
}
.sub-men a:hover{
  /* background-color: #00a8a7; */
  background-color: var(--secondary);;
  color: var(--black);;
}
.sub-men hr{ 
    margin: 0;
}

/* Style for the hamburger menu */
.hamburger-menu {
    cursor: pointer;
    font-size: 22px;
    visibility: hidden;
}


.mobile-menu {
    top: 65px;
    left: -100%;
    position: absolute;
    width: 40%;
    transition: left 0.4s ease-in-out;
    overflow: hidden;
    color: var(--white);
    background-color: var(--primary);
    height: auto;
    min-height: calc(100vh - 64.8px);
    z-index: 9999;
}


.mobile-menu a{
    padding: 15px;
    display: block;
    color: #fff;
}

.mobile-menu a:hover{
    color: var(--black);
    background-color: var(--secondary);
}

.mobile-menu.mob-active {
    /* overflow: hidden; */
    left: 0;
    transition: left 0.4s ease-in-out;
}

.content{
    padding: 70px 20px 0 20px;
}
.content h2{
    margin-bottom: 20px;
}

.align{
    text-align: end;
}
.prime{
    background-color: var(--primaryLight);;
}

/*  tables  */

tr td:first-child {
    position: relative; /* Set position to relative for positioning the pseudo-element */
}

tr:not(.child) td:first-child::before {
    content: '+'; /* Text content of the pseudo-element */
    position: absolute; /* Position the pseudo-element */
    top: 50%; /* Align the pseudo-element vertically */
    left: 5px; /* Offset the pseudo-element from the left */
    height: 1em; /* Set height */
    width: 1em; /* Set width */
    margin-top: -9px; /* Adjust margin-top */
    display: block; /* Display as block */
    color: white; /* Text color */
    border: 0.15em solid white; /* Border */
    border-radius: 1em; /* Border radius */
    box-shadow: 0 0 0.2em #444; /* Box shadow */
    box-sizing: content-box; /* Box sizing */
    text-align: center; /* Text alignment */
    text-indent: 0 !important; /* Text indentation */
    font-family: "Courier New",Courier,monospace; /* Font family */
    line-height: 1em; /* Line height */
    background-color: #00a8a7; /* Background color */
    content: '+'; /* Text content of the pseudo-element */
    display: none;
}

/* Add a class to the first td when clicked */
tr td:first-child.resp-display::before{
    content: '-'; 
    background-color: #b00020;
}


table tr.child{
    background-color: var(--white) !important;
    display: block;
}

table .no-bullets {
    list-style-type: none; /* Remove bullets */
    padding-left: 0; /* Remove default padding */
}

table .no-bullets li {
    padding-bottom: 12px; /* Add space between list items */
    /* border-bottom: 1px solid #ccc; Add thick line after each list item */
}



/* form login  */
.header {
    margin: 50px auto;
    font-size: 2.5rem;
    font-weight: bold;
    color:  #3700B3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.login-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.login-header {
    background-color:  #3700B3;
    color: #fff;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.login-form {
    padding: 20px;
}

.login-form label {
    font-weight: bold;
    color: #333;
}

.login-form input {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px;
}

.login-form input:focus {
    border-color:  #3700B3;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.login-form button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    background-color:  #3700B3;
    border: none;
    border-radius: 5px;
    color: #fff;
    transition: background-color 0.3s ease;
}

.login-form button:hover {
    background-color: #6200EE;
}

.demo-message {
    background-color: #f5f5f5; /* Light gray background */
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    border: 1px solid #ddd; /* Subtle border */
    font-size: 0.9rem;
    color: #555; /* Muted text color */
    text-align: center;
    line-height: 1.5;
}

.demo-message strong {
    color: #3700B3; /* Match the primary color */
    font-weight: bold;
}

.alert {
    margin-bottom: 15px;
    border-radius: 5px;
}
/* Orders page*/
.oreder{
    cursor: pointer;
}
.removeFill{
    display: none;
    cursor: pointer;
    background-color:var(--white);
    width: 25px;
    height: 25px;
    color:var(--black);
    border-radius:50%;
    font-size: 12px;
    text-align: center;
    line-height: 25px;
    transition: background-color 0.3s, color 0.3s;
}
.removeFill:hover{
    background-color:var(--black);
    color:var(--white);
}
.search-bar .num-search{
    position: absolute;
    right: 13px;
    top: 7px;
    cursor: pointer;
    color: var(--shade);
    /* color: #777; */
    
}
.search-bar input{
    border-radius: 5px;
    padding: 7px;
    border: 1px solid var(--shade);
}

.search-bar input:focus-visible{
    outline: 1px solid var(--primary2);
}

.filters{
    /* border: 1px solid #888; */
    padding: 15px;
    width: calc(100% - 50px);
    margin-top: -5px;
    border-top: none;
    margin-bottom: 10px;
    display: none;
}
.filters .drop{
    position: relative;
}

.filters div button::after{
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    margin: 0;
    margin-inline-start: 0.500em;
}
.filters .dropDown{
    position: absolute;
    /* transform: translate3d(0px, -144px, 0px); */
    top: 40px;
    left: 15px;
    will-change: transform;
    min-width: 194px;
    background-color: var(--white);
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
    display: none;
}
.show{
    display: block !important;
}
/* Product details   */
.pro_det{
    background-color: var(--white);

}
.pro_det-head{
    color: var(--white);
    background-color: var(--primary2);
    padding: 15px;

}
.pro_det .pro-each{
    padding:15px ;
    /* border-bottom: 1px solid #eaeaea; */
    
}
.cus-det{
    padding: 15px;
}

/* product page */
.img-table{
    width: 40px;
    height: 40px;
}

table{
    margin-top: 20px;
}


/* Add and edit pages*/
.add-form input{
    margin-bottom: 20px;

}
.add-form button,
.add-form a{
    margin-top: 20px;
}
.unvisable{
    visibility: hidden;
}
/* Sorting product page*/
.dropdown {
    position: relative;
  }
  
  .dropdown-content {
    width: 100%;
    background-color: var(--white);
    display: none;
    position: absolute;
    z-index: 1;
    top:40px ;
  }
  
  .dropdown-content ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  .dropdown-content li {
    display: block;
  }
  
  .dropdown-content li a {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    /* color: #333; */
  }
  
  .dropdown-content li a:hover {
    background-color: var(--primaryLight);
  }

/* manual sorting*/

.ui-sortable-handle,
.ui-state-default {
    background-color: var(--white);
    border: 1px solid var(--primaryLight);
    cursor: pointer;
    margin: 5px;
    padding: 5px;
}

.ui-state-highlight {
    background-color: #f6ffdd;
    border: 1px solid #d3d3d3;
    cursor: pointer;
    margin: 5px;
    padding: 5px;
}

  /* .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0;
    padding: 5px 0;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .dropdown-content li {
    padding: 5px 10px;
    cursor: pointer;
  }
  
  .dropdown-content li:hover {
    background-color: #ddd;
  }
   */


/* Design page */

.design img{
    max-width: 100%;
}
/* CAT PAGE*/
#submenu-dropdown,
#esubmenu-dropdown,
.submenu-msg,
.esubmenu-msg{
    display: none;
}

/* Tags */

.tags-holder{
    width: 100%;
}
.tags-wrapper {
	background:white;
	overflow:hidden;
	/* width:100%; */
	/* background-image: -webkit-linear-gradient(top, rgb(238, 238, 238) 1%, white 15%);
	box-shadow: 0 0 5px rgba(0, 0, 0, .3); */
    display: block;
    width: 100%;
    padding: 2px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-bottom: 20px;
}
.tags-wrapper ul {
	margin:0px;
	padding:0px;
}
.tags-wrapper li {
	float:left;
}

.tags-wrapper li.tag {
	border-radius:3px;
	list-style: none;
	background-clip: padding-box;
	/* background-color: rgb(228, 228, 228); */
	/* background-image:-webkit-linear-gradient(top, rgb(244, 244, 244) 20%, rgb(240, 240, 240) 50%, rgb(232, 232, 232) 52%, rgb(238, 238, 238) 100%);
	box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);
	color: rgb(51, 51, 51);
	border: 1px solid rgb(170, 170, 170); */
	/* line-height: 13px; */
    background-color: var(--secondary2);
	padding:5px;
	margin: 3px 0 3px 5px;
}
.tags-wrapper li{
    cursor: pointer;
}
.tags-wrapper li a {
	text-decoration:none;
	padding:2px;
	/* display:inline-block; */
	margin-left:6px;
}
.tags-wrapper li a:hover {
	color:#222;
}
.tags-wrapper input {
	display:none;
}
.tags-wrapper li.tags-input {
	white-space: nowrap;
	margin: 0;
	padding: 0;
    width:100%;
}
.tags-wrapper li input {
	display:block;
	background:trasparent;
	outline:none;
	border:none;
	/* font-size:16px; */
	height: auto;
    width: 100% !important;
	margin: 4px;
}
/* .tags-wrapper .autofill-bg {
	position:relative;
	top:4px;
} */

.data-tags{
    display: none;
    position: absolute;
    width: 100%;
    padding:15px;
    z-index: 999;
    background-color: var(--white);
}
.father{
    border: none;
}
.father li{
    cursor: pointer;
}

.tags-show{
    display: inline-block;
    background-color: var(--btnPri);
    color: var(--black);
    border-radius: 20px;
    padding: 4px 12px;
}
/* modify bootstrab buttons*/

.btn-primary{
    background-color: #BB86FC;
    border-color: #BB86FC;
    color: #09060d;

}
.btn-primary:hover{
    background-color: #c6a0f5;
    border-color: #BB86FC;
    color: #09060d;
}

.btn-primary:not(:disabled):not(.disabled):active{
    background-color: #c6a0f5;
    border-color: #BB86FC;
    color: #09060d;
}
.btn-primary:focus{
    background-color: #c6a0f5;
    border-color: #BB86FC;
    color: #09060d;
}
.alert-success{
    background-color: #03dac5;
    color: #000;
}

.btn-success{
    background-color: #03dac5;
    border-color: #03dac5;
    color: #09060d;

}
.btn-success:focus{
    background-color: #03dac5;
    border-color: #03dac5;
    color: #09060d;
}
.btn-success:not(:disabled):not(.disabled):active{
    background-color: #03dac5;
    border-color: #03dac5;
    color: #09060d;
}

.btn-success:hover{
    background-color: #00fae2;
    border-color: #03dac5;
    color: #09060d;
}


/*-----------*/
.alert-danger{
    background-color: #b00020;
    color: #fff;
}
.btn-danger{
    background-color: #b00020;
    border-color: #b00020;
}
.btn-danger:hover{
    background-color: #c50225;
    border-color: #b00020;
}
.btn-danger:not(:disabled):not(.disabled):active{
    background-color: #c50225;
    border-color: #b00020;
}
.btn-danger:focus{
    background-color: #c50225;
    border-color: #b00020;
}
/*-----------*/

.btn-info{
    background-color:  #018786;
    border-color:  #018786;
    color: #09060d;
}
.btn-info:hover{
    background-color: #00a8a7;
    border-color:  #018786;
    color: #09060d;
}

.btn-info:not(:disabled):not(.disabled):active{
    background-color: #00a8a7;
    border-color:  #018786;
    color: #09060d;
}

.btn-info:focus{
    background-color: #00a8a7;
    border-color:  #018786;
    color: #09060d;
}

.btn-secondary{
    background-color: #fff;
    color: #000;
    border-color: #000;
    
}
.btn-secondary:hover{
    background-color: #000000f2;
    border-color: #fff;
}
.btn-secondary:not(:disabled):not(.disabled):active{
    background-color: #000000f2;
    border-color: #fff;
}

.btn-secondary:focus{
    background-color: #000000f2;
    border-color: #fff;
}
.bk-shade{
    background-color: #f2e7fe;
}
.bk-shade{
    background-color: #f2e7fe;
}

.table-striped tbody tr:nth-of-type(odd){
    background-color: var(--primaryLight);
}
/* table{
    border: 1px solid var(--black);
} */
.b-left{
    border-color: #6200EE;
    border-style: solid;
    border-width: 0 0 0 2px;
}
.green {
    color: #03dac5;
}
.green2 {
    color: #018786
}

.purple{
    color: #6200EE;
}


.next-none + div,
.next-none + div + div{
    display: none;
}


.connection-falier,
.hide-err{
    display: none;
}

.success-message{
    display: none;
}

/* Temporary */
input{
    margin-bottom: 10px;
}

.disabled{
    background-color: var(--btnErr);
    color: var(--white);
}

.col-custom-larg {
    width: calc(100% - 65px); /* Example: 75% of the container width + 30px */
}
.col-custom-small {
    width: 50px; /* Example: 75% of the container width + 30px */
}

.card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
 .hero-section {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    padding: 100px 0;
    text-align: center;
    color: #fff;
}
.hero-section h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 3rem; /* Larger size for medium screens and up */
    }
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Feature Section */
.feature-section {
    padding: 60px 0;
    background: #f8f9fa;
}
.feature-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    color: #343a40;
}
.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.feature-card .icon {
    font-size: 3rem;
    color: #6a11cb;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #343a40;
}
.feature-card p {
    font-size: 1rem;
    color: #6c757d;
}
