.hidden {
    display: none;
}

.add-btn {
    text-align: end;
}

#list-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

#show-offer-popup, #show-schedule-popup {
    position: fixed;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    z-index: 10000;
    top: 50%;
    left: 50%;
    padding: 30px;
    width: 400px;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

#show-offer-popup .business-name, #show-offer-popup .offer-notes {
    text-align: center;
}

#show-offer-popup .offer-notes {
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f7f7f7;
    border-radius: 5px;
    margin-top: 20px;
}

.popup-content {
    margin-top: 30px;
}

.close-button {
    text-align: right;
}

.close-button span {
    padding: 5px 10px;
    background-color: #428ee7;
    border-radius: 100%;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
}

.show-offer {
    color: #fff !important;
}

.saved-notes p {
    margin-top: 0.5em;
    margin-bottom: 1em;
    height: auto;
    max-height: 500px;
    background: #fafafa;
    padding: 0.5em;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    overflow-y: auto;
    justify-content: space-around;
    padding: 20px 15px;
    width: 100%;
}

.saved-notes {
    /*margin-top: 0.5em;
    margin-bottom: 1em;
    height: auto;
    max-height: 400px;
    background: #fafafa;
    padding: 0.5em;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;*/
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    overflow-y: auto;
    justify-content: space-around;
    position: relative;
}

.badge-new {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #ff4949;
    color: #fff;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
}

.save-note-btn {
    background-color: #5dbea3;
    border: 1px solid #5dbea3;
    color: #fff;
}

.cancel-note-btn {
    color: #d14a4a;
    border: 1px solid #d14a4a;
}

.delete-note {
    padding: 3px 10px;
    background-color: #428ee7;
    border-radius: 100%;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    display: none;
    position: absolute;
    right: 0;
}

.saved-notes:hover .delete-note {
    display: block;
}

.delete-modal {
    position: fixed;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    z-index: 1000000;
    top: 50%;
    left: 50%;
    padding: 30px;
    width: 400px;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    display: none;
}

.lead-tag {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.lead-tag div:nth-child(2) {
    display: flex;
    flex-direction: row;
}

.lead-tag div:nth-child(2) div {
    border: 1px solid #ccc;
    padding: 0.5em;
    margin: 0 2px;
    background-color: #f0f0f0;
    font-weight: 700;
}

.data-lead-container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.business-table tr td {
    cursor: pointer;
}

.lead-tag button {
    margin-left: 5px;
}

.lead-tag .container.lead-button {
    display: flex;
    flex-direction: row;
}

/* Accelerated page / Schedule Follow-up page  */
.accelerated-container {
    display: flex;
    flex-direction: row;
    gap: 1em;
    padding: 1em;
    background: #f9f9f9;
}
.accelerated-left, .accelerated-right {
    background: #fff;
    border: 1px solid #ccc;
    padding: 1em;
}
.accelerated-left {
    flex: 1;
}
.accelerated-right {
    width: 40%;
    position: relative;
}
#auto-dial-sidebar {
    margin-bottom: 1em;
}
#list-pagination {
    margin-top: 1em;
}
.spcrm-pagination-btn {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 0.4em 0.8em;
    margin: 0.5em;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    text-decoration: none;
}
.spcrm-pagination-btn[disabled] {
    opacity: 0.5;
    cursor: default;
}
#business-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}
#business-table th,
#business-table td {
    border: 1px solid #ccc;
    padding: 0.5em;
}
#business-table th {
    background: #f0f0f0;
}

#current-business-details {
    border: 1px solid #ccc;
    padding: 1em;
    margin-top: 1em;
    min-height: 220px;
}

.rep-config-container, .custom-assign-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.td-num-lead-assign, .th-num-lead-assign, .custom-assign-container {
    display: none;
}

.rep-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.remaing-leads {
    display: none;
}

.remaing-leads p {
    font-weight: 500;
}

.edit-mode {
    text-align: right;
}

.accelerated-btn-con {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* Mobile */
@media (max-width: 600px) {
    #show-offer-popup {
        width: 90%;
        padding: 20px;
    }
}