@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

* {
    font-family: 'Lato', sans-serif;
}

body {
    margin: 0;
    display: grid;
    grid-template-columns: 18vw 82vw;
    grid-template-rows: 12vh 88vh;
}

/* Top navigation bar */
#top-nav {
    grid-area: 1 / 2 / 2 / 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
    border-bottom: solid 1px black;
}

#top-nav h1 {
    font-size: 36px;
}

#login-container {
    display: flex;
    gap: 30px;
}

.login-link {
    text-decoration: none;
    color: black;
    font-size: 26px;
}

.login-link:hover {
    color: #8d6374;
}

/* Left navigation bar */
#left-nav {
    background-color: black;
    color: white;
    grid-area: 1 / 1 / 3 / 2;
    position: relative;
}

#left-nav img {
    width: 50%;
    display: block;
    margin: 25px auto;
    cursor: pointer;
}

#left-nav ul {
    list-style: none;
}

#left-nav ul li {
    margin: 30px 0;
}

#left-nav ul li a {
    text-decoration: none;
    color: white;
    text-align: center;
    font-size: 20px;
}

#left-nav ul li a:hover {
    color: #8E9861;
}

#left-nav ul li ul {
    padding-left: 20px;
}

#left-nav ul li ul li {
    margin: 15px 0;
}

#left-nav ul li ul li a {
    font-size: 18px;
}

#left-nav p {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

/* Div with content */
.main-div {
    grid-area: 2 / 2 / 3 / 3;
    background-color: #D9D9D9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 90%;
    height: 90%;
    background-color: white;
    overflow-y: scroll;
}

.container-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    border-bottom: 1px solid black;
    height: 15%;
}

.container-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container-top h2 {
    font-size: 30px;
}

.container-top form {
    height: 20%;
}

.container-top form input {
    height: 100%;
}

/* Top container content */
.container-content-top {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    padding-top: 50px;
}

/* Insert button */
.container-content-top a, input[type=submit], .orderbutton {
    text-decoration: none;
    color: black;
    padding: 10px;
    background-color: white;
    border: solid 1px black;
    cursor: pointer;
}

.container-content-top a:hover, input[type=submit]:hover, .orderbutton:hover {
    background-color: black;
    color: white;
}

.container-content .table {
    margin: 50px 0;
    width: 80%;
}

.table, .table tr,  .table td,  .table th {
    border: solid 1px #D9D9D9;
    border-collapse: collapse;
}

.container-content .table tr th {
    text-align: left;
    padding: 10px 0;
    text-align: center;
}

.container-content .table tr td {
    padding: 10px;
}

.container-content .table tr td a {
    text-decoration: none;
    color: black;
}

.container-content .table tr td a:hover {
    text-decoration: none;
    color: #8E9861;
}

.amount {
    text-align: center;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
  
::-webkit-scrollbar-track {
    background-color: #f2f2f2;
}
  
::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* Search form */
#searchForm {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

#searchForm input {
    height: 35%;
    margin: 0;
    padding: 0 10px;
}

/* Form */
#form {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#form input[type=number] {
    width: 40px;
}

#brandURL, #requirement, #specification {
    width: 50%;
}

textarea {
    resize: none;
}

label {
    font-size: 16px;
    margin-bottom: 5px;
}

textarea, input, select {
    margin-bottom: 20px;
    padding: 5px;
}

.history {
    font-size: 14px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    column-gap: 50px;
    padding: 20px;
}

.notification {
    border: solid 1px black;
    border-radius: 20px;
    padding: 5px;
    height: 100%;
}

.noti1 {
    grid-area: 1 / 1 / 2 / 2;
}

.noti2 {
    grid-area: 1 / 2 / 2 / 3;
}

.notification h3 {
    text-align: center;
}

.notification table {
    font-size: 12px;
    position: relative;
}

.orderline {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.orderline a {
    font-style: italic;
    cursor: pointer;
}

.orderline-item {
    display: flex;
    flex-direction: column;
}

#orderline-remove {
    justify-content: center;
}

#button {
    margin-bottom: 20px;
    font-style: italic;
    cursor: pointer;
}

#copy {
    font-size: 12px;
}

#welcomeP {
    margin: 30px;
    width: 50%;
}

#welcomeImg {
    margin: 30px;
    width: 30%;
}

.svg {
    width: 150px;
}

.svg a img {
    width: 20%;
    fill: black;
}

.product {
    margin-bottom: 20px;
}
/* updateinventory.php */
.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* Blue color, you can change it to your desired color */
    color: #ffffff; /* White text color */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    border: none; /* Remove border */
    cursor: pointer; /* Show pointer cursor on hover */
}

.back-button:hover {
    background-color: #0056b3; /* Darker blue color on hover */
}

.arrow {
    margin-right: 5px; /* Adjust the spacing between the arrow and the text */
}