@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 20px;
}

hr {
    margin: 1rem auto;
    color: inherit;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: .25;
    width: 70%;
}

/* HEADER STARTS */
.header {
    background-color: #7d2ae8;
    border-radius: 15px;
    padding: 2px;
    text-align: center;
    margin: 20px 0;
    color: #000;
    font-family: "Exo 2", sans-serif;
}

.header h1 {
    margin: 0;
    color: #007bff;
}

.navbar {
    margin-top: 10px;
    justify-content: center;
}

.navbar ul {
    list-style-type: none;
    padding: 0;
}

.navbar li {
    display: inline;
    margin: 0 15px;
}

.navbar a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.navbar a:hover {
    text-decoration: underline;
}

/** MOBILE HEADER */
.mobile {
    display: none;
}

.mobile-menu {
    display: none;
    background-color: #7d2ae8;
    position: absolute;
    top: 105px;
    left: 47px;
    width: 80%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: inherit;
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid #555;
}

.mobile-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px;
    transition: background-color 0.3s;
}

.mobile-menu a:hover {
    background-color: #b69ed561;
}

/* CARD STARTS */
.card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: "Exo 2", sans-serif;
}

p.p-1.rounded.status {
    background: #008e2759;
    color: #008e27;
    width: 130px;
    text-align: center;
}

h5.card-header {
    text-align: center;
}

.card-body .card-content {
    width: calc(100% - 50px);
    padding: 25px 25px 25px 65px;
}


.card h2 {
    margin: 0;
    font-size: 24px;
}

.card p {
    margin: 5px 0;
}

.products,
.shipments {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

.product,
.shipment {
    margin: 5px 0;
}

/** Modal CSS **/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    font-family: "Exo 2", sans-serif;
}

.modal-content {
    background-color: #fefefe;
    margin: 105px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    width: 100%;
    display: flex;
    justify-content: end;
    padding: 0 15px 0 0;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* LOGIN STARTS */
.form_container {
    position: fixed;
    max-width: 320px;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 101;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    opacity: 1;
    transition: all 0.4s ease-out;
    font-family: "Exo 2", sans-serif;
}

.select2 {
    font-family: "Exo 2", sans-serif;
}

.form_container h2 {
    font-size: 22px;
    color: #0b0217;
    text-align: center;
}

.input_box {
    position: relative;
    margin-top: 30px;
    width: 100%;
    height: 40px;
}

.input_box input {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    padding: 0 30px;
    color: #333;
    transition: all 0.2s ease;
    border-bottom: 1.5px solid #aaaaaa;
}

.input_box input:focus {
    border-color: #7d2ae8;
}

.input_box i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #707070;
}

.input_box i.email {
    left: 0;
}

.input_box i.password {
    left: 0;
}

.input_box i.pw_hide {
    right: 0;
    font-size: 18px;
    cursor: pointer;
}

.form_container .button {
    background: #7d2ae8;
    margin-top: 30px;
    width: 100%;
    padding: 10px 0;
    border-radius: 10px;
    border: none;
    color: #fff;
}

/** MEDIA STYLES */
@media (max-width: 768px) {
     .form_container {
        width: calc(100% - 20%);
    }
    .navbar {
        display: none;
    }

    .mobile {
        display: block;
    }

    .mobile-menu.active {
        display: block;
    }
}