.bid-manager-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 1.2rem;
}

.bid-manager-column {
    padding: 0.2em 1rem;
    z-index: 999;
}

.bid-title {
    font-weight: 700;
}

.bid-title span {
    padding: 7px 25px;
    border-radius: 5em;
    font-weight: 400!important;
    font-size: 1rem;
}

/* Bid Status */
.bid-status-active {
    color: #347700;
    background: #BAFFD6;
}

.bid-status-sealed-bids {
    color: #0F93AF;
    background: #BAFDFF;
}

.bid-status-accepted-bids {
    color: #FF0000;
    background: #FFBABA;
}

.bid-status-heads-of-terms-agreed {
    color: #0C23F0;
    background: #BAC7FF;
}

.bid-status-exchanged {
    color: #F61AD2;
    background: #FFBAF2;
}

.bid-status-completed {
    color: #9438FD;
    background: #DEBAFF;
}
/* End Bid Status */

.bid-details span {
    color: #6e6e6e;
}

.bid-tenure-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 60%;
}

p.bid-tenure-details {
    padding: 7px 15px;
    margin: 1em .2em;
    background: #D7D2FF;
    border-radius: 8px;
    color: #887DF4;
}

p.bid-tenure-details strong {
    color: #6A5CF0;
}

.bid-manager-timestamp-action-title {
    color: #6e6e6e;
}

.bid-manager-action {
    display: block;
    width: 100%;
    max-width: 100%;
    margin:0;
    margin-bottom: 10px;
    border: 4px solid #2c9cdb;
    border-radius: 8px;
    background: #0e1937;
    color: white;
    text-align: center;
    padding: 0.5rem 1.3rem;
    transition: ease-in-out 0.2s;
}

.bid-manager-action:hover {
    border: 4px solid #2c9cdb;
    background: #2c9cdb;
    color: white!important;
}

.bm-col-50 {
    width: 50%;
    max-width: 50%;
}

.bm-col-25 {
    width: 25%;
    max-width: 25%;
}

.bid-manager-timestamp-accordion {
    display: none; /* DONT show on desktop */
}

.bid-manager-timestamps {
    display: block;
}

/* BM Cols Responsive settings */
@media screen and (max-width:768px){
    .bid-manager-wrapper {
        gap: 1.2rem;
    }
    .bid-manager-timestamp-accordion {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        font-weight: 700;
        padding: 1rem 1.3rem;
        background: #efefef;
        border-bottom-width: 3px;
        border-bottom-color: #7750d2;
        margin-bottom: 0.7rem;
        cursor: pointer;
    }
    .bid-manager-timestamp-accordion i.fal.fa-plus {
        transition: ease-in-out 0.2s;
    }
    .bid-manager-timestamps {
        display: none;
    }
    .bid-manager-timestamp-accordion p {
        margin-bottom: 0!important;
    }
    .bid-manager-action {
        padding: 1rem 1.3rem !important;
    }
    .bm-col-50 {
        width: 100%;
        max-width: 100%;
    }
    
    .bm-col-25 {
        width: 100%;
        max-width: 100%;
    }
}

/* Message developer form */
#developer, #message-developer-message {
    color: #6E6E6E;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    height: 85px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
}

.tahn-deal-confirmation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.tahn-deal-confirmation-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.tahn-deal-confirmation-modal .modal-container {
    position: relative;
    width: 500px;
    max-width: 90%;
    margin: 10% auto;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-content h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.modal-content h3 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    color: #555;
}

.modal-content .deal-summary-details,
.modal-content .fee-details {
    margin: 15px 0;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.modal-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-actions .btn-primary {
    background-color: #007bff;
    color: white;
}

.modal-actions .btn-secondary {
    background-color: #6c757d;
    color: white;
}