﻿html, body {
    height: 100% !important;
    margin: 0 !important;
}
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.page-wrapper {
    height: 100vh;
}

header {
    background-color: rgb(47, 28, 61);
    width: 100%;
    z-index: 1040;
    top: 0px;
}
.nav-background {
     background-color: rgb(47, 28, 61) !important;
}

main {
    overflow-y: auto; /* scroll only the body */
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.bidDetails-section-title {
    background-color: #6c757d;
    color: #fff;
    font-weight: bold;
    padding: 10px 12px;
    font-size: 18px;
    text-align: left;
}

.bidDetails-memo-box {
    background: #f8f9fa;
    padding: 12px 20px;
}

.cborder {
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.04);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* Give all nav-tabs a custom background when not active */
.nav-tabs .nav-link {
    background-color: #ded5e4;
    color: #5f4970;
}

    .nav-tabs .nav-link:hover {
        background-color: #FFFFFF;
        color: #5f4970;
    }
    /* Keep the active tab styled differently */
    .nav-tabs .nav-link.active {
        background-color: #FFFFFF;
        color: #000;
    }

.search-circle {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border: 2px solid #adb5bd;
    border-radius: 50%;
}

.search-icon {
    font-size: 24px;
}

.search-align {
    min-height: 8vh !important
}

option[value=""] {
    display: none;
}

/*progress tracker*/

.stepper-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
    padding: 0 20px;
}

.stepper-line {
    position: absolute;
    top: 28px; /* aligns with center of circles */
    left: 60px;
    right: 60px;
    height: 2px;
    background-color: #d3d3d3;
    z-index: 0;
}

.stepper-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ded5e4;
    color: #5f4970;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

    /* Active step */
    .step-circle.active {
        background-color: #ffffff;
        border: 3px solid #000;
        color: #000;
    }

    .step-circle.completed {
        color: transparent;
        position: relative;
    }

        .step-circle.completed::before {
            content: "🗸";
            color: #09be3f;
            font-size: 1.4rem;
            font-weight: 700;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

.step-label {
    margin-top: 6px;
    font-size: 0.85rem;
    text-align: center;
    color: #495057;
}

/*  MultiSelect Search*/

.multi-select {
    position: relative;
}

.selected-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px;
}

.selected-item {
    display: flex;
    align-items: center;
    background: #0078d7;
    color: white;
    border-radius: 12px;
    padding: 2px 6px;
    margin: 2px;
    font-size: 13px;
}

.remove-btn {
    background: transparent;
    border: none;
    color: white;
    margin-left: 4px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.dropdown-list {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
}

    .dropdown-list li {
        padding: 6px 8px;
        cursor: pointer;
    }

        .dropdown-list li:hover {
            background-color: #f0f0f0;
        }

.search-placeholder {
    flex: 1;
    padding: 4px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.menu-btn {
    flex-shrink: 0;
    margin-left: 6px;
    background: none;
    border: none;
    font-size: 20px;
    color: #555;
    cursor: pointer;
    padding: 4px;
    position: relative;
    z-index: 10; /* ensures icon is clickable */
}

    .menu-btn:hover {
        color: #0078d7;
    }

.footer-cob {
     background-color: #D8EDF2;
     padding: 36px;
}
.white-box {
     background-color: white;
     /*border: 1px solid #D7D7D7;*/
}