i.fas {
  color: #525252;
  font-size: 20px;
}
a{text-decoration: none;}
.bg_dark{
  color: #fff;
}
.center{
    text-align: center;
    align-items: center;
    justify-content: center;
}
header {
    display: flex;
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    background-color: #fff; 
    color: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); 
    justify-content: center; /* Center the search bar horizontally */
    align-items: center;     /* Center the search bar vertically */

}
header form {
  width: 70%;
    display: flex; /* This will make child elements (input and icon) align horizontally */
    border: 1px solid #ccc; /* Add a border to the entire form */
    overflow: hidden; /* Ensure that inner elements don't spill out */
}
header form input[type="text"] {
    flex: 1; /* Take available width */
    border: none; /* Remove default input border */
    padding: 8px; /* Some space around the text */
    outline: none; /* Remove default focus outline */
}
header form i.fas.fa-search {
    padding: 8px; /* Same padding as the input for vertical alignment and clickable area */
    cursor: pointer; /* Makes it clear this is clickable */
    background-color: #f4f4f4; /* Optional: give it a different background color for contrast */
}



.search-btn {
    background: none; /* Remove default background */
    border: none; /* Remove default border */
    cursor: pointer; /* Show clickable hand icon on hover */
    outline: none; /* Remove focus highlight */
    padding: 0; /* Remove default padding */
}
.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px; /* Optional: adds some space below the header */
}

.add-items-btn {
    background-color: #008CBA; /* Blue background */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;  /* Add this line for transition */
}

.add-items-btn:hover {
    background-color: #005f5f; /* Darker blue on hover */
    transform: scale(1.05); /* Slightly larger on hover */
}


body {
  background-color: #F5F5F5;
    margin: 0;
    font-family: 'Inter', sans-serif;
    padding-top:50px;
}
.container {
    display: flex;
}

aside {
    width: 15%; /* adjust as necessary */
    height: 100vh; /* 100 takes the full viewport height */
    background-color: #18202C; /* just a color example; adjust as desired */
    color: #fff; /* text color for better contrast against the dark background */
    padding: 10px 20px;
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.1); /* optional shadow for some depth */
}

aside nav ul {
    list-style-type: none; /* removes bullet points */
    padding: 0;
}

aside nav ul li {
    margin: 10px 0;
}
aside nav ul li a {
    color: #fff;
    display: flex; /* Set to flex for alignment */
    align-items: center; /* Center align text and icon */
    padding: 10px 20px;
    transition: color 0.3s ease-in-out;
}
aside nav ul li a:hover, a:active{
  color: #3196E7;
font-weight: bold;
}
aside nav ul li a i {
    margin-right: 10px; /* Add some spacing between the icon and text */
}
main {
    flex: 1;  /* allows the main content to take the remaining space */
    padding:0 20px;  /* optional for spacing */
}

.card {
    display: flex;
    justify-content: space-between;  /* optional: space them equally apart */
    align-items: stretch;               /* align items at the top */
}
.card article {
    flex: 1; 
    margin: 0 10px;  
    padding: 0 20px;
    background-color: #fff; 
    text-align: center;
}

.card article h2 {

    font-size: .8em;
    text-transform: uppercase;
}
/* Targets the h2 of the first article */
.card article:nth-child(1) h2 {
    color: #FF8B96;
}

/* Targets the h2 of the second article */
.card article:nth-child(2) h2 {
    color: #3196E7;
}

/* Targets the h2 of the third article */
.card article:nth-child(3) h2 {
    color: #31D1BA;
}

.card article p {
   margin-top: 0;
    font-size: 2em;
}

table{
  margin-top:30px;
  width:100%;
   border-collapse: collapse; /* Ensures borders are merged */
    border: none;
}
thead{
  font-weight: bold;
  background-color:#ECF2F7;
  text-transform: uppercase;
}
thead td{
  padding:10px 20px;
  text-align: left;
}
tbody td{
  background-color: #fff;
  padding: 10px 20px;
}
/* Add bottom borders to the cells instead of the rows to prevent double borders */
table td, table th {
    border-bottom: 1px solid #ECF2F7;
    padding: 8px; /* Optional: for some spacing within cells */
}

/* Remove border from the last row's cells to avoid a border at the bottom of the table */
table tr:last-child td, table tr:last-child th {
    border-bottom: none;
}

tbody td a{
  color: #18A0FB;
  text-transform: uppercase;
  font-weight: bold;
}

tbody td a.del{
  color: #FF0000;
}

/*---------------------------------item------------------------*/

table td img{width: 100%; max-width: 30px;}

.form_item {
    background-color: #fff;
    padding: 20px 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.form_item div {
    margin-bottom: 20px;
}

/* Label styling */
.form_item label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

/* Input and Textarea styling */
.form_item input[type="text"],
.form_item input[type="number"],
.form_item input[type="date"],
.form_item input[type="tel"],
.form_item textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 1em;
    transition: border-color 0.2s;
}
.form_item input[type="text"]:focus,
.form_item input[type="number"]:focus,
.form_item input[type="date"]:focus,
.form_item input[type="tel"]:focus,
.form_item textarea:focus {
    border-color: #007BFF;
    outline: none;
}

select{
    margin: 10px 0;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 1em;
    transition: border-color 0.2s;
}
select:focus {
    border-color: #007BFF;
    outline: none;
}
.input-group {
    display: flex;
    justify-content: space-between; 
    flex-wrap: wrap;
}

.input-field {
    flex: 0 0 28%; 
}



/*register*/
#bg_signup{background-color: #18202C; text-align: center;}
#main_signup{
  display: flex;
  padding-top:50px ;
    justify-content: center; /* Center the search bar horizontally */
    align-items: center;     /* Center the search bar vertically */
}
#popup_signup{
  width:50%;
  max-width: 500px;
  padding: 30px;
  background-color: #fff;
}
#form_signup {
    display: flex;
    flex-wrap: wrap; /* This allows items to wrap onto multiple lines */
    gap: 8px; /* Optional: To provide space between input fields */
    padding: 8px; /* Padding around the inputs within the form */
}

#form_signup input[type="text"], 
#form_signup input[type="tel"] {
    border: 1px solid #ccc; 
    padding: 8px;
    flex: 1; /* This will ensure the two text inputs (first-name and last-name) share the available space equally */
}

#form_signup input[type="tel"],
#form_signup input[type="email"],
#form_signup input[type="submit"] {
    flex-basis: 100%; /* This forces the elements to take the full width of the parent, thereby pushing them to the next line */
}

input[type="submit"] {
  background-color: #fff;
    color: #3196E7;
    border: 1px solid #3196E7;
    padding: 10px 20px;
    font-weight: bold;
    transition: background-color 0.2s;
}
input[type="submit"]:hover{
    background-color: #3196E7;
    color: #fff;
}
/* Add a smooth transition to the search button hover effect */
.search-btn:hover {
    background-color: #2980B9;
    transition: background-color 0.3s ease-in-out;
}

/* Add a hover effect to sidebar links */
aside nav ul li a:hover {
    color: #3196E7;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

/* Add a smooth transition to the table row hover effect */
tbody tr:hover {
    background-color: #ECF0F1;
    transition: background-color 0.3s ease-in-out;
}

/* Add a simple loading animation to the card section */
.card {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Add a hover animation to the articles in the card section */
.card article:hover {
    transform: translateY(-10px);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Enhance the appearance of the footer with a hover effect */
footer:hover {
    background-color: #34495E;
    transition: background-color 0.3s ease-in-out;
}
aside nav ul li {
    margin: 10px 0;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out; /* add transition for smooth animation */
}

aside nav ul li:hover {
    background-color: #3196E7; /* change color on hover */
    transform: translateX(10px); /* move slightly to the right on hover */
}

aside nav ul li a {
    color: #fff;
    display: block; /* makes the whole area clickable */
    padding: 10px 20px; /* add padding to increase the clickable area */
    transition: color 0.3s ease-in-out; /* smooth transition for color change */
}

aside nav ul li a:hover {
    color: #18202C; /* change text color on hover */
}
/* Add a subtle box shadow to form elements on focus */
.form_item input[type="text"]:focus,
.form_item input[type="number"]:focus,
.form_item input[type="date"]:focus,
.form_item textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}
/*---------------------------------item------------------------*/
/*filter button*/
.btn_group {
    display: flex;
    padding-top:30px;
    justify-content: space-between; /* This spaces the two groups apart */
    align-items: center;
}

.btn_action {
    background-color: #fff;
    color: #18202C;
    border: 1px solid #18202C;
    padding: 10px 40px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn_action:hover {
    background-color: #18202C;
    color: #fff;
}
/* Style for submenus */
.submenu {
    display: none;                  /* Initially hidden */
    position: absolute;             /* Positioned relative to the parent div */
    top: 100%;                      /* Right below the button */
    left: 0;                        /* Align to the left edge of the button */
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.submenu button {
    display: inline-block;          /* Makes buttons side by side */
    margin: 5px;
    padding: 5px 10px;
    background-color: transparent;  
    border: none;                   /* Assuming no borders for these buttons */
}

.submenu button:hover {
    background-color: #e0e0e0;     /* Slight color change on hover for feedback */
}

/* Parent group for buttons with submenus should be relative */
.btn_group > div {
    position: relative;
}
.btn_link{
  background-color: #fff;
    color: #3196E7;
    border: 1px solid #3196E7;
    padding: 10px 40px;
    font-weight: bold;
    transition: background-color 0.2s;
}
.btn_link:hover{
    background-color: #3196E7;
    color: #fff;
}
/* Add a hover effect to the submit button in the sign up form */
input[type="submit"]:hover {
    background-color: #3196E7;
    color: #fff;
    transition: background-color 0.3s ease-in-out;
}

/* Add a border transition to table cells on hover */
table tbody tr:hover td {
    border-bottom: 2px solid #3196E7;
    transition: border-bottom 0.3s ease-in-out;
}
input[type
footer {
    text-align: center;
}
footer p {
    font-size: .7em;
}

