﻿/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #F5F9F8;
}

.text-branded {
    color: #45B1A8 !important;
}

.bg-branded {
    background-color: #45B1A8 !important;
}

.btn-custom {
    background-color: #E7EFEE;
    border-radius: 10px;
    padding: 6px 16px;
}

.btn-gradient {
    background: linear-gradient(to bottom, #9AD4C3, #6BC4AA);
    border: none;
}

.btn-gradient:hover {
    filter: brightness(1.05);
}

.bg-primary-subtle {
    background-color: #C4ECEE;
}

.main-content {
    flex: 1; /* take all remaining space so footer sits at bottom */
}

/* optional: add some top/bottom padding so footer never overlaps */
.main-content .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
/*RESPONSIVE*/

@media (max-width: 768px) {
    .nav-main-custom {
        height: auto;
        padding: 10px 20px;
    }

    .nav-inner-custom {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links-custom {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
}

/*MAIN*/
.nav-main-custom {
    background: rgba(153, 185, 181, 0.20); /* Figma color */
    height: 100px;
    padding: 6px 54px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-inner-custom {
    display: flex;
    width: 100%;
    max-width: 1728px;
    align-items: center;
    justify-content: space-between;
    gap: 179px;
}

.nav-logo-img {
    width: 130px;
    height: 91px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-links-custom {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 1.1rem;
}
/*LOGIN*/
/* Figma section styling */
/* Full‑screen, padded, tinted background */
.login-section {
    display: flex;
    height: 987px;
    /*padding: 222px 569px 323px 569px;*/
    justify-content: center;
    align-items: center;
    background: rgba(206, 223, 221, 0.20);
}

/* The white “card” around the form */
.login-container {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 400px;
}

/* Header in the card */
.login-container h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

/* Sub‑header / instructions */
.login-container .form-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Make inputs full width with comfortable height */
.login-container .form-floating > input {
    height: 3.5rem;
    width: 100%;
}

/* Gradient button, full width */
.login-container .btn-primary {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    background: linear-gradient(180deg, #8FCCAD 0%, #60B292 100%);
    border: none;
    border-radius: 6px;
}

/* Align the “Forgot” / “Register” links */
.login-container .login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.login-container .login-links a {
    color: #0066CC;
}

/*LOGIN BUTTON*/

.login-btn {
    display: flex;
    width: 180px;
    height: 41px;
    padding: 0 7px;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 100px;
    background: #F5F5F5;
    text-decoration: none;
    color: #000;
    border: none;
}

.login-btn:hover {
    background: #E0E0E0;
}

.login-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.ellipse-btn {
    display: flex;
    align-items: center;
    width: 180px;
    height: 41px;
    padding: 0 7px;
    gap: 10px;
    flex-shrink: 0;
    /* 1) Base pill color */
    background-color: #F5F5F5;
    /* 2) Overlay your SVG (the dark circle) on the left */
    background-image: url('/images/ellipse.svg');
    background-repeat: no-repeat;
    background-position: 7px center; /* match your 7px left padding */
    background-size: 24px 24px; /* size of the SVG circle */
    /* 3) Text on top */
    color: #000;
    text-decoration: none;
    border: none;
    font-size: 1rem;
}

/* Your icon inside the pill can now actually be rendered as text/background,
   so you can drop the <img> entirely. But if you prefer an <img>:
*/
.ellipse-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

/* And ensure the text ellipses if it’s too long: */
.ellipse-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}
/* ——— Total Inventory Value “widget” ——— */
.total-value-card {
    display: inline-flex;
    width: 100%;
    padding: 17px 15px;
    align-items: center;
    gap: 10px; /* space between header/body */
    border-radius: 20px;
    background: var(--Widget-Color, rgba(175, 202, 198, 0.20));
    border: none; /* remove default card border */
    box-shadow: none; /* remove any card shadow */
}
/*DASHBOARD INVENTORY SUMMARY VALUE*/
.total-value-card .card-header {
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1rem;
    font-weight: 500;
    color: #1f2d3d;
    background: transparent;
    border: none;
}

.total-value-card .card-body {
    padding: 0;
    margin-left: auto; /* push body to right */
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.total-value-card .card-body h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2d3d;
}

.total-value-card .card-body i {
    color: #1f2d3d;
}

/* Optional: hover effect */
.total-value-card:hover {
    background: rgba(175, 202, 198, 0.30);
    cursor: pointer;
}
.summary-card, .warehouse-card {
    border-radius: 16px;
    background: rgba(175, 202, 198, 0.15);
    padding: 16px;
}

.card-header {
    font-weight: bold;
    font-size: 1.1rem;
}
.warehouse-summary-card {
    background-color: #f9f9f9;
    border-left: 5px solid #4bc0c0;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.table-custom {
    background-color: #E7EFEE;
}

thead th {
    border-bottom-width: 0 !important;
    padding: 0.75rem 1rem !important;
    font-weight: 600 !important;
}

tbody td {
    padding: 0.75rem 1rem !important;
}

.badge.bg-active {
    background: #8CECA6;
}

.badge.bg-pending {
    background: #ECDF8C;
}

.badge {
    color: unset;
    font-weight: unset;
}

.form-control {
    background-color: #E7EFEE;
    padding: 0.5rem .75rem;
    border: none;
    border-radius: 12px;
}

.form-control:focus {
    background-color: #E7EFEE;
}

.form-control.outline, .form-select.outline {
    border: 1px solid #1D2624;
}

.form-control.spaced {
    padding: 0.75rem 1rem;
}

.form-select.spaced {
    padding-left: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.form-select {
    background-color: #E7EFEE;
    border: none;
    border-radius: 12px;
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: .75rem;
}

.modal-content {
    background-color: #F5F9F8;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    font-size: 18px;
    position: relative;
}

.icon-circle i {
    mix-blend-mode: difference; /* key 🔥 */
}

/* Usage Rate Status Styling */
.usage-rate-shipped {
    color: #28a745;
    font-weight: 600;
}

.usage-rate-pending {
    color: #ffc107;
    font-weight: 600;
}

.usage-rate-no-data {
    color: #6c757d;
    font-style: italic;
}
