.main-dashboard {
    margin-top: 15px;
    padding: 5px 5px;
}

.fullscreen-icon {
    margin-top: -20px;
    text-align: right;
    justify-content: end;
    font-size: 20px;
}

.crm-container {
    display: flex;
}

.crm-content {
    flex: 1;
    /* padding: 13px; */
}

.button-toggle-nav {
    font-size: 15px;
}

.dot-icon {
    margin-top: -20px;
    margin-left: 860px;
    font-size: 20px;
}

.crm-client-profile {
    margin-top: 10px;
}

.crm_client_contact {
    margin: 10px 0px 10px 10px;
}

.crm_parentCompany_contact {
    margin: 10px 0px 10px 10px;
}

.alert-msg p {
    background-color: rgb(245, 129, 109);
    text-align: center;
}

.alert-msg h5 {
    background-color: rgb(245, 129, 109);
    font-size: 15px;
}

.notes-banner {
    margin-top: 10px;
}

.alert-msg {
    margin-top: -10px;
}

.general-notes {
    margin-top: -10px;
}

.general-notes p {
    background-color: rgb(131, 245, 141);
    text-align: center;
}

.general-notes h5 {
    background-color: rgb(131, 245, 141);
}

.information-banner {
    margin-top: -10px;
}

.information-banner {
    background-color: rgb(223, 247, 138);
    text-align: center;
}

.light-red {
    background-color: lightcoral !important;
}

.crm-table table {
    width: 100%;
    border-collapse: collapse;
}

.custom-input-alert {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: rgb(238, 168, 155) !important;
}

.custom-input-generalNotes {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: rgb(171, 245, 177) !important;
}

.custom-input-information {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: rgb(232, 250, 166) !important;
}


/*
-------------------------------------------------- 
for drag and drop documentation page 
--------------------------------------------------
*/

.editor-area {
    margin: 20px;
    background-color: #e9ecef;
    padding: 20px;
    border: 2px dashed #bbb;
    min-height: 400px;
    position: relative;
    /* To position the tooltip */
}

.section-placeholder {
    width: 50%;
    height: 50px;
    border: 2px dotted #bbb;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    color: #aaa;
    font-size: 14px;
    box-sizing: border-box;
    cursor: pointer;
    /* Add pointer cursor for click interaction */
}

.toolbar {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1000;
    display: flex;
    /* Ensures items are displayed in a row */
    gap: 15px;
    /* Add spacing between toolbar items */
    align-items: center;
    /* Vertically align items */
    justify-content: space-around;
    /* Distribute items evenly */
    border-radius: 5px;
    width: 750px;
    /* Adjust the width as needed */
    box-sizing: border-box;
}

.toolbar .popover-item {
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
}

.toolbar .popover-item:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.d-none {
    display: none !important;
}

.delete-widget {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    color: red;
    font-weight: bold;
    z-index: 10;
}

.widget {
    position: relative;
    padding: 20px;
    border: 1px solid #ddd;
    margin: 10px 0;
}

.section-placeholder {
    width: 30%;
    /* Set width to 50% */
    height: 50px;
    /* Adjust height as needed */
    border: 2px dotted #bbb;
    /* Dotted border */
    background-color: #f9f9f9;
    /* Light background for better visibility */
    display: flex;
    /* Center the content */
    align-items: center;
    /* Vertically center text */
    justify-content: center;
    /* Horizontally center text */
    margin: 10px auto;
    /* Center horizontally within the parent */
    color: #aaa;
    /* Light gray text color */
    font-size: 14px;
    /* Adjust font size */
    box-sizing: border-box;
    /* Include padding/border in the width/height */
}

.title {
    padding: 10px;
    margin: 5px;
}

.heading {
    padding: 10px;
    margin: 5px;
}

.text {
    width: 100%;
    padding: 10px;
    margin: 5px;
}

.crm-client-activityCard {
    height: 620px !important;
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
}

.row-equal-height {
    display: flex;
}

.activity-cardHeader {
    width: 800px;
}

.activity-card {
    width: 800px;
}

#clientDataTable thead tr {
    background-color: #ffffff;
    /* White color */
}


/* for crm opportunities */

.progress-bar-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    /* 9 columns for the 9 stages */
    gap: 10px;
    margin: 20px;
    border-radius: 10px;
}

.stage {
    padding: 7px;
    background-color: #d3d3d3;
    text-align: center;
    border-radius: 0px 70px 70px 0px;
    position: relative;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
    transition: background-color 0.3s ease;
    font-size: 15px;
}

.stage:hover {
    cursor: pointer;
}

.stage.selected {
    background-color: #4caf50;
    /* Highlight color for the selected stage */
    color: #fff;
    font-weight: bold;
}

.stage_for_close {
    padding: 7px;
    background-color: #d3d3d3;
    text-align: center;
    position: relative;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transition: background-color 0.3s ease;
    font-size: 15px;
}

.stage_for_close:hover {
    cursor: pointer;
}

.stage_for_close.selected {
    background-color: #4caf50;
    /* Highlight color for the selected stage */
    color: #fff;
    font-weight: bold;
}

.client-image-modal {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Black with opacity */
    padding: 20px;
    /* Optional: adds padding around the modal content */
    box-sizing: border-box;
    /* Ensures the padding is included in the width/height */
}

.clientmodal-Imagecontent {
    margin: auto;
    display: block;
    width: auto;
    max-width: 50%;
    max-height: 80vh;
}

@media (max-width: 768px) and (min-width: 320px) {
    .crm-client-searchbar {
        margin-top: 10px;
    }
    .crm-sidebar {
        display: none;
    }
    .progress-bar-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 9 columns for the 9 stages */
        gap: 10px;
        margin: 20px;
        border-radius: 10px;
    }
    .stage {
        padding: 3px;
        background-color: #d3d3d3;
        text-align: center;
        border-radius: 0px 70px 70px 0px;
        position: relative;
        clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
        transition: background-color 0.3s ease;
        font-size: 12px;
    }
}