@font-face {
    font-family: 'Inter';
    src: url('../../bootstrap/lib/font/Inter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Mokoto';
    src: url('../../font/Mokoto.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    letter-spacing: 5px !important;
}

* {
    font-family: "Inter", sans-serif;
}

nav {
    background-color: #000 !important;
}

.navbar-brand h2 {
    font-family: 'Mokoto';
}

html,
body {
    overflow-x: hidden;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Style for the popup content box */
.popup-content {
    background: #fff;
    width: 80%;
    max-width: 500px;
    max-height: 90vh;
    /* Limits height of the popup */
    padding: 20px;
    border-radius: 0px;
    position: relative;
    overflow-y: auto;
    /* Enables inner scroll */
    scrollbar-width: thin;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Form elements */
.product-form .edit-add {
    display: block;
    padding: 14px;
    border-radius: 2px;
    border: 1px solid #e7e7e7;
    width: 100%;
    line-height: normal;
    resize: none;
    transition: border-color .1s ease-in-out;
    background: transparent;
    margin: 20px 0;
    box-shadow: none;
}

.product-form .new {
    display: block;
    background-color: black;
    color: white;
    border-radius: 2px;
    margin: 20px 0;
    width: 100%;
    font-size: large;
}

.product-form .new:hover {
    background-color: white;
    color: black;
    border: 1px solid black;
}


/* Disable background scrolling when popup is open */
.no-scroll {
    overflow: hidden;
}

footer {
    background-color: #000;
    padding: 20px 0;
    height: 40vh;
}

#footer {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    margin-top: 30px;
}

#footer li {
    margin: 0 15px;
}

#footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

#foot-title {
    padding-top: 80px;
}

#foot-title a {
    font-family: sans-serif;
    letter-spacing: 2px !important;
}

.foot-title a {
    text-decoration: none;
    color: #626262;
}

.foot-title a:hover {
    color: #ffffff;
}

#footer a:hover {
    color: #4b4b4b;
}


.toast-success {
    background: linear-gradient(45deg, #28a745, #34d058);
    color: #fff;
}

.toast-error {
    background: linear-gradient(45deg, #dc3545, #f06565);
    color: #fff;
}

.toast-warning {
    background: linear-gradient(45deg, #ffc107, #ffb347);
    color: #000;
}

.toast-info {
    background: linear-gradient(45deg, #17a2b8, #5bc0de);
    color: #fff;
}

.toast i {
    font-size: 1.2rem;
}

.error {
    color: #e40101;
}

.success {
    color: green;
}
