
body {
    color: #777;
    font-family: "Poppins", Arial, sans-serif !important;
    line-height: 22px;
    margin: 0;
    font-size: 13px;
    padding: 0;
    overflow: hidden;
}

/*------------------------------------*/
/*Login - Forgot Password*/
/*------------------------------------*/

.login-container {
    display: flex;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.login-left {
    flex: 0 0 30%;
    position: relative;
}

.background-image {
    width: 100%;
    height: 100%;
    background-image: url(../images/background-side.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 500px
}

.login-right {
    flex: 1;
    min-width: 0; /* Without this, a flex item's default automatic min-width is its content's
                     min-content size, so on narrow phones the row refuses to shrink below that
                     and the fixed-height .login-container's overflow:hidden just clips it. */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.login-content {
    width: 100%;
    max-width: 450px;
    min-width: 0;
    padding: 40px;
}

.logo-section {
    text-align: center;
    margin-bottom: 50px;
}

.icon-img {
    width: 100px;
    height: auto;
    margin-bottom: 7px;
}

.app-title {
    font-size: 32px;
    font-weight: 600;
    color: #33353F;
    margin: 15px 0;
    letter-spacing: -0.5px;
}

.bidvest-img {
    width: 120px;
    height: auto;
    margin-top: 0px;
    margin-bottom: 20px
}

.login-form {
    margin-top: 30px;
    text-align: center
}

.form-title {
    font-size: 18px;
    color: #7f8082;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: normal;
}

.form-subtitle {
    font-size: 14px;
    color: var(--brand-primary, #f7931e) !important;
    margin-bottom: 30px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
    text-align: center;
    margin-top: 15px;
    justify-content: center;
    color: #7f8082
}

.remember-me {
    display: flex;
    align-items: center;
    color: #777;
    cursor: pointer;
}

    .remember-me input {
        margin-right: 8px;
    }

.forgot-password {
    color: #7f8082;
    text-decoration: none;
    text-align: center
}

.btn-signin {
    color: var(--brand-primary, #f7931e);
    background-color: #fff;
    border: 2px solid var(--brand-primary, #f7931e);
    border-radius: 0.75rem;
    min-width: 100px;
    font-size: 1rem;
    padding: 13px;
    margin-top: 25px;
    /*width: 115px;*/
}

    .btn-signin:hover {
        background-color: var(--brand-primary-dark, #e58419);
        color: white;
    }

.forgot-password:hover {
    text-decoration: none;
    font-weight: 600;
    color: var(--brand-primary, #f7931e);
    cursor: pointer
}

.old-site-banner {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--brand-primary-light, #fff8f0);
    color: #33353F;
    font-size: 12.5px;
    border: 1px solid rgba(var(--brand-primary-rgb, 247, 147, 30), 0.35);
    border-top: none;
    border-right: none;
    border-bottom-left-radius: 0.75rem;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.06);
}

.old-site-btn {
    color: #fff;
    background-color: var(--brand-primary, #f7931e);
    border: 2px solid var(--brand-primary, #f7931e);
    border-radius: 0.75rem;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

    .old-site-btn:hover {
        background-color: var(--brand-primary-dark, #e58419);
        border-color: var(--brand-primary-dark, #e58419);
    }

/* Drawer variant — same compact size/colors as the login page's corner flag, but laid out inline
   within the sidebar's flow (just above .footer-panel) instead of pinned to the viewport corner. */
.old-site-banner-drawer {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 12px;
    border-top: 1px solid rgba(var(--brand-primary-rgb, 247, 147, 30), 0.35);
    border-right: 1px solid rgba(var(--brand-primary-rgb, 247, 147, 30), 0.35);
    border-radius: 0.75rem;
}

/* Hides along with the rest of the sidebar's text/labels when collapsed-and-not-hovered, same as
   .footer-panel p and .icon-container span above. */
.sidebar-collapsed .sidebar-panel:not(:hover) .old-site-banner-drawer {
    display: none;
}

@media (max-width: 768px) {
    .old-site-banner span {
        display: none;
    }

    .login-left {
        display: none;
    }

    .login-right {
        align-items: flex-start;
        padding-top: 40px;
    }

    .login-content {
        padding: 24px 20px;
        max-width: 100%;
    }

    .icon-img {
        width: 70px;
    }

    .app-title {
        font-size: 26px;
    }

    .btn-signin {
        width: 100%;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
}

.loading-image {
    width: 100px;
    height: 100px;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Container to handle spacing between the inputs */
.input-container {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Adjusts vertical spacing between the fields */
  max-width: 400px; /* Restricts the maximum width */
  font-family: sans-serif; /* Fallback font */
}

/* Individual input field styling */
.custom-input {
  width: 100%;
  padding: 14px 20px; /* Inside spacing */
  border: 1px solid #D3D3D3; /* Light grey border color */
  border-radius: 12px; /* Smooth rounded corners */
  font-size: 16px;
  outline: none; /* Removes browser default blue glow */
  box-sizing: border-box; /* Ensures padding doesn't affect width */
}

/* Placeholder text styling */
.custom-input::placeholder {
  color: #BDBDBD; /* Matches the muted grey text color */
  opacity: 1; /* Ensures color displays correctly in Firefox */
}

/* Subtle focus state when a user clicks into the field */
.custom-input:focus {
  border-color: #A1A1A1; 
}

/*------------------------------------*/
/*Home - Dashboard*/
/*------------------------------------*/

/* Enable-notifications banner */
.notify-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 31px 60px -10px 40px;
    padding: 14px 18px;
    background: var(--brand-primary-light, #fff8f0);
    border: 1px solid rgba(var(--brand-primary-rgb, 247, 147, 30), 0.35);
    border-radius: 0.75rem;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.06);
}

.notify-banner-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.notify-banner-text {
    flex: 1;
}

.notify-banner-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #33353F;
}

.notify-banner-subtitle {
    margin: 2px 0 0;
    font-size: 13px;
    color: #7f8082;
}

.notify-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notify-banner-btn {
    color: #fff;
    background-color: var(--brand-primary, #f7931e);
    border: 2px solid var(--brand-primary, #f7931e);
    border-radius: 0.75rem;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    white-space: nowrap;
}

    .notify-banner-btn:hover {
        background-color: var(--brand-primary-dark, #e58419);
        border-color: var(--brand-primary-dark, #e58419);
    }

.notify-banner-dismiss {
    background: transparent;
    border: none;
    color: #7f8082;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

    .notify-banner-dismiss:hover {
        color: #33353F;
    }

@media (max-width: 768px) {
    .notify-banner {
        flex-wrap: wrap;
        margin: 20px;
    }
}

/* Responsive Grid Container */
.client-grid-container {
    /*display: grid !important;*/
    /* Automatically creates columns that fit the screen width, min 160px each */
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px; /* Space between cards */
    margin: 0 auto;
    padding: 20px;
    margin-left: -10px;
    max-width: 1400px;
    margin-top: -10px;
}

/* Individual Card Styling */
.client-card {
    border-radius: 20px;
    padding: 1rem;
    background: #fdfdfd;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.1);
    flex: 1 1 auto;
    min-height: 1px;
    word-wrap: break-word !important;
    color: #777;
    position: relative;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    max-width: 150px !important;
    width: 100% !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
}

    /* Card Interaction Profile */
    .client-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border-color: rgba(var(--brand-primary-rgb, 255, 165, 0), 0.3);
    }

/* Logo Image Wrapper */
.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    margin-bottom: 16px;
    padding-top: 14px;
}

/* Ensures logos scale cleanly without breaking the grid bounding box */
.client-logo {
    max-width: 90%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(0%) contrast(100%);
}

/* Client Typography Description */
.client-name {
    font-size: 0.875rem;
    color: #777;
    font-weight: 600;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
    cursor: default
}

@media (max-width: 768px) {
    .client-card {
        max-width: calc(50% - 26px);
    }
}

@media (max-width: 480px) {
    .client-card {
        max-width: calc(50% - 26px);
        margin: 8px;
    }
}