html {
    overflow-x: hidden;
    overflow-y: scroll;
}

body:not(:is(.hicrm_frontend_branchized, .hicrm_frontend_companized):is(.hicrm_page_branchized, .hicrm_page_companized)), div:has(> img[src*="rs6_logo_2x.png"]) {
    display: block !important;
}

.no-scroll {
    overflow: hidden;
}

.disable-pointer {
    pointer-events: none;
}

.media-video-wrapper {
    cursor: pointer;
}


body.page-template-template-projects-page {
    background-color: #1E1E1E;
    color: #fff;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

.hidden {
    display: none;
}

/* Load more */
.load-more-btn {
    font-family: 'Inter', sans-serif;
    grid-column: 1 / -1;
    display: block;
    margin: 20px auto;
    padding: 10px 55px;
    border-radius: 13px;
    font-size: 21px;
    border: none;
    cursor: pointer;
    background-color: #ffffff;
    color: #000000;
}

.load-more-btn:disabled {
    opacity: 0.9;
    cursor: not-allowed;
}

.load-more-btn:hover {
    background-color: #f0f0f0;
}


.load-more-btn .spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border: 3px solid rgb(115, 115, 115);
    border-top-color: #000000;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* Projects Root */
#projects-root {
    overflow: hidden;
}

#projects-root .header {
    display: flex;
    align-items: center;
    background-color: #383838;
    padding: 10px 25px;
}

#projects-root .header.minimal-header {
    padding: 10px 15px;
}

#projects-root .logo {
    margin-right: 30px;
    flex-shrink: 0;
}

#projects-root .header.minimal-header .logo {
    margin: 0 auto;
}


#projects-root .logo img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

#projects-root header.minimal-header .logo img {
    max-height: 100px;
}

#projects-root .search-bar {
    display: flex;
    align-items: center;
    max-width: 30%;
    min-width: 420px;
}

#projects-root .header-wrapper {
    background-color: #383838;
    width: 100%;
}

#projects-root .project-filter {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

#projects-root .header-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /*flex-wrap: wrap;*/
}

#projects-root .search-bar {
    display: flex;
    align-items: center;
    flex: 1;
    margin-right: 20px;
}

#projects-root .search-bar input {
    flex: 1;
    padding: 8px 10px;
    margin-right: 10px;
}

#projects-root .filters-wrapper {
    flex-wrap: wrap;
}


#projects-root .additional-filters-container,
#projects-root .filters-wrapper {
    display: flex;
    gap: 10px;
    justify-content: center;
}

#projects-root .project-filter h4 {
    font-family: 'Inter', sans-serif;
    margin: 0;
    font-size: 16px;
    padding: 12px 18px;
    background-color: #3F3F41;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    border-radius: 13px;
    width: 155px;
    box-sizing: border-box;
    position: relative;
}

#projects-root .project-filter h4::after {
    content: '';
    position: absolute;
    right: 5px;
    background: url('../../imgs/front/arrow-white.png') no-repeat;
    background-size: contain;
    margin-left: 10px;
    width: 18px;
    height: 10px;
    transition: transform 0.3s;
}

#projects-root .project-filter.open h4::after {
    transform: rotate(180deg);
}

#projects-root .project-filter .category-list,
#projects-root .filter-content {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    background-color: #3F3F41;
    color: white;
    padding: 10px;
    display: none;
    border-bottom-right-radius: 13px;
    border-bottom-left-radius: 13px;
    z-index: 3;
    max-height: 300px;
    overflow-y: auto;
    box-sizing: border-box;
}

#projects-root .project-filters-wrapper {
    display: flex;
    gap: 10px;
}

#projects-root .project-filter.open .category-list,
#projects-root .project-filter.open .filter-content {
    display: block;
}

#projects-root .project-filter .category-list li,
#projects-root .filter-content li {
    list-style: none;
    margin: 5px 0;
    display: flex;
    align-items: center;
}

#projects-root .project-filter .category-list label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

#projects-root .project-filter .category-list input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    flex-shrink: 0;
}


#projects-root .branch-selector-wrapper {
    width: 100%;
}

#projects-root .branch-selector-label {
    font-family: 'Inter', sans-serif;
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #fff;
}

#projects-root .branch-selector {
    width: 100%;
    font-family: 'Inter', sans-serif;
    padding: 10px 70px 10px 20px;
    font-size: 16px;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('../../imgs/front/arrow-down.png') no-repeat right 23px center, #fff;
    background-size: 18px;
}

#projects-root .non-detail-presentations {
    max-width: 1116px;
    margin: 0 auto;
    padding: 60px 20px 95px;
}

#projects-root .refresh-button {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 10px 20px;
    border-radius: 13px;
    font-size: 21px;
    cursor: pointer;
    position: fixed;
    bottom: 120px;
    left: 20px;
    z-index: 3;
}

#projects-root .refresh-button[online="false"] {
    display: none;
}

#projects-root .refresh-button:hover {
    background-color: #f0f0f0;
}

#projects-root .footer {
    position: relative;
    padding-top: 50px;
}

#projects-root .offline-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #fcb813;
    border-radius: 5px;
    text-align: center;
}

#projects-root .offline-message h2 {
    margin-bottom: 10px;
}

#projects-root .offline-message button {
    padding: 10px 20px;
    background-color: #ffffff;
    color: black;
    border: none;
    border-radius: 13px;
    font-size: 24px;
    cursor: pointer;
    margin-top: 20px;
}

#projects-root .offline-message button:hover {
    background-color: #c5c5c5;
}


#projects-root .search-bar input {
    padding: 13px 15px;
    border-radius: 10px;
    border: none;
    margin-right: 10px;
    background-color: #3F3F41;
    color: #FFFFFF;
    font-size: 16px;
    width: 100%;
}

#projects-root .search-bar button {
    padding: 13px 20px;
    border-radius: 13px;
    font-size: 16px;
    border: none;
    background-color: #FFFFFF;
    color: #000000;
    cursor: pointer;
}

#projects-root .controls-container {
    padding: 20px;
}

#projects-root .controls-title {
    font-size: 46px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    margin: 20px 0;
}

#projects-root .controls {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1116px;
    margin: 0 auto;
    width: 100%;
}

#projects-root .controls button {
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 13px;
    font-size: 21px;
    border: none;
    cursor: pointer;
}

#projects-root .sync-button,
#projects-root .create-button {
    background-color: #FFFFFF;
    color: #000000;
}

#projects-root .project-list {
    max-width: 1116px;
    margin: 0 auto;
    padding: 20px 20px 125px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 260px);
    gap: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    justify-content: center;
}

#projects-root .project-list.loaded {
    opacity: 1;
}

#projects-root .project-tile {
    background-color: #444;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

#projects-root .project-tile img {
    width: 100%;
    min-height: 168px;
    border-radius: 10px;
    max-height: 168px;
    object-fit: cover;
    background-color: #706f6f;
}

#projects-root .project-tile h3,
#projects-root .project-tile p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

#projects-root .project-tile h3 {
    margin: 15px 0;
    font-size: 18px;
}

#projects-root .project-tile p {
    margin: 10px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
}

#projects-root .project-tile .detail-item::before {
    content: url('../../imgs/front/user.png');
    margin-right: 10px;
    display: inline-block;
    width: 20px;
    height: 20px;
}


#projects-root  .project-tile .detail-item--map::before {
    content: url('../../imgs/front/maps-and-flags.png');
    margin-right: 8px;
    vertical-align: middle;
}

#projects-root .project-tile .detail-item--phone::before {
    content: url('../../imgs/front/phone-call.png');
    margin-right: 8px;
    vertical-align: middle;
}

#projects-root .project-tile .detail-item--additional::before {
    content: url('../../imgs/front/information.png');
    margin-right: 8px;
    vertical-align: middle;
}

#projects-root .project-tile p + p {
    border-top: 1px solid #616161;
    padding-top: 8px;
    margin-top: 10px;
}


#projects-root .open-button {
    background-color: #4A7349;
    color: #71FD6F;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 15px;
    margin-top: 5px;
}

#projects-root .project-details {
    position: fixed;
    top: 0;
    left: 50%;
    background-color: #000000;
    padding: 0;
    border: 1px solid #707070;
    border-radius: 0;
    z-index: 6;
    width: 100%;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transition: transform 0.5s ease-in-out;
    /*overflow-y: scroll;*/
}


#projects-root .project-details.show {
    opacity: 1;
    height: 100%;
}

#projects-root .project-details-open {
    display: none;
}


@keyframes slideUp {
    from {
        top: 100%;
        opacity: 0;
        transform: translate(-50%, 100%);
    }
    to {
        top: 50%;
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes slideDown {
    from {
        top: 50%;
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    to {
        top: 100%;
        opacity: 0;
        transform: translate(-50%, 100%);
    }
}


#projects-root .project-details.show {
    animation: slideUp 0.5s ease-in-out forwards;
}


#projects-root .project-details.hide {
    opacity: 0;
    animation: slideDown 0.5s ease-in-out forwards;
    transform: translate(-50%, 100%);
}


#projects-root .project-details h2 {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 45px;
    font-family: Inter, sans-serif;
}

#projects-root .checklist-details-heading h2 {
    padding: 0 40px;
}

#projects-root .project-details-wrapper {
    display: flex;
    align-items: flex-start;
    height: 100vh;
    position: relative;
    padding: 50px 80px;
    flex-direction: column;
    overflow-y: scroll;
    justify-content: flex-start !important;
}

#projects-root .filters-wrapper--project-details {
    justify-content: flex-start;
}

#projects-root .filters-wrapper--project-details .project-filter h4,
#projects-root .open-crm-button {
    width: 230px;
}

#projects-root .filters-wrapper--project-details .filter-content {
    top: 70%;
    padding-top: 20px;
}

#projects-root .open-crm-button {
    background-color: #3f3f41;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

#projects-root .open-crm-button:hover {
    background-color: #5a5a5c;
}

#projects-root .external-link-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../../imgs/front/external-link-icon.png') no-repeat center;
    background-size: contain;
    margin-left: 8px;
}


#projects-root .project-details-header {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 30px;
}

#projects-root .project-detail-icons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex: 1;
    flex-wrap: wrap;
}

#projects-root .project-detail-icons .icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
    cursor: pointer;
}


#projects-root .project-detail-icons .icon-link span {
    margin-top: 15px;
    font-size: 23px;
    text-align: center;
    font-family: Inter, sans-serif;
}

#projects-root .project-detail-icons a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 1px solid #FFFFFF;
    border-radius: 24px;
    text-decoration: none;
    color: #fff;
    margin: 0 23px;
}

#projects-root .project-detail-icons img {
    width: 116px;
    height: 117px;
}

#projects-root .project-details .project-details-content {
    display: flex;
    flex-direction: column;
    /*flex: 2;*/
    margin-right: 40px;
    max-width: 35%;
    width: 100%;
}

#projects-root .project-details .project-details-content h2 {
    word-wrap: break-word;
}


#projects-root .project-details-content .current-branch-select {
    font-size: 16px;
    line-height: 2;
     color: #000000;
    /* border-color: #8c8f94; */
    box-shadow: none;
    border-radius: 12px;
    padding: 0 24px 0 8px;
    min-height: 36px;
    -webkit-appearance: none;
    background: #FFFFFF url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
    background-size: 16px 16px;
    cursor: pointer;
    vertical-align: middle;
}

#projects-root .project-details .project-details-content label {
    margin-bottom: 8px;
    display: block;
}

#projects-root .project-details .project-details-content input {
    box-sizing: border-box;
    margin-top: 5px;
    width: 100%;
    /*max-width: 400px;*/
    font-size: 16px;
    display: block;
    padding: 8px;
    border: none;
    border-radius: 12px;
    /*height: 100%;*/
    font-family: 'Inter', sans-serif;
}

#projects-root .project-labels-list {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#projects-root .project-labels-list span {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 14px;
    font-family: Roboto, sans-serif;
}

#projects-root .project-details .detail-item {
    font-family: Inter, sans-serif;
    font-size: 14px;
}

#projects-root .detail-item--map,
#projects-root .detail-item--phone {
    cursor: pointer;
    text-decoration: underline;
}

#projects-root .detail-item--phone {
    margin-bottom: 14px;
}

#projects-root .project-label{
    font-size: 20px;
}


#projects-root  .detail-item::before {
    content: url('../../imgs/front/user.png');
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

#projects-root  .detail-item--map::before,
#projects-root  .detail-item--phone::before,
#projects-root .detail-item--additional::before,
#projects-root .detail-item--branch::before {
    margin-right: 8px;
    vertical-align: middle;
}

#projects-root  .detail-item--map::before {
    content: url('../../imgs/front/maps-and-flags.png');
}

#projects-root  .detail-item--phone::before {
    content: url('../../imgs/front/phone-call.png');
}

#projects-root .detail-item--additional::before {
    content: url('../../imgs/front/information.png');
}

#projects-root .detail-item--branch::before {
    content: url("../../imgs/front/branch.svg");
    filter: invert(1);
}


#projects-root .project-details .detail-item + .detail-item {
    border-top: 1px solid #333333;
    padding-top: 10px;
    margin-top: 0;
}

#projects-root .project-details .edit-button {
    background-color: #FFFFFF;
    color: #000000;
    padding: 10px 20px;
    border-radius: 13px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    align-self: flex-start;
    font-size: 21px;
    font-family: Inter, sans-serif;
}

#projects-root .project-details .close-button {
    background-color: transparent;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
}


#projects-root .project-detail-icons--urls {
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 30px;
}

#projects-root .project-detail-icons--urls .icon-link {
    max-width: 112px;
    flex-direction: column;
}

#projects-root .project-detail-icons--urls span {
    font-size: 11px !important;
}

#projects-root .project-detail-icons--urls img {
    width: 61px;
    height: 61px;
}

#projects-root .photos-videos-controls {
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

#projects-root .default-button {
    background-color: #fff;
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 19px;
    font-size: 16px;
    padding: 6px 20px;
}

#projects-root .default-button.delete-project-frontend,
#projects-root .default-button.default-button--margin {
    margin-top: 20px;
}

#projects-root .project-buttons-controls {
    display: flex;
    margin-bottom: 30px;
}

#projects-root .custom-switch {
    display: flex;
    align-items: center;
    margin: 5px;
    font-size: 16px;
}

#projects-root .custom-switch input[type="checkbox"] {
    display: none;
}

#projects-root .custom-switch .slider {
    position: relative;
    width: 75px;
    height: 35px;
    background-color: #3f3f41;
    border: 1px solid #ffffff;
    border-radius: 20px;
    cursor: pointer;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    color: #ffffff;
    font-size: 10px;
    text-transform: uppercase;
    box-sizing: border-box;
}

#projects-root .custom-switch .slider::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    border-radius: 50%;
    top: 0;
    left: 0;
    transition: transform 0.3s;
}

#projects-root .custom-switch input[type="checkbox"]:checked + .slider::before {
    transform: translateX(40px);
}


#projects-root .custom-switch .switch-label span {
    display: block;
    margin-top: -3px;
}

#projects-root .navigation {
    display: flex;
    justify-content: center;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    box-shadow: 0 -10px 10px 0 rgba(0, 0, 0, 0.26);
    z-index: 4;
    box-sizing: border-box;
    overflow-x: hidden;
    white-space: nowrap;
}


#projects-root .navigation .custom-tab-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    flex: 0 0 auto;
    margin-right: 10px;
}



#projects-root .navigation .custom-tab-icon-item img {
    width: 25px;
    height: 25px;
    margin-bottom: 10px;
}

#projects-root .navigation button {
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    color: #fff;
    font-size: 15px;
    position: relative;
}

#projects-root .navigation button:hover {
    background-color: #555;
}

#projects-root .navigation button::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: #616161;
}

#projects-root .navigation button:last-child::after {
    display: none;
}

#projects-root .loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 999999;
    font-size: 24px;
    color: #333;
}

#projects-root .loader-container::before {
    content: "";
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: loader-spin 1s linear infinite;
}

@keyframes loader-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#projects-root .no-results {
    font-size: 24px;
    text-align: center;
    margin-top: 20px;
}


#projects-root .presentations-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 50px;
}

#projects-root .presentations-wrapper__message {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

#projects-root .presentations-wrapper.non-detail-presentations {
    margin-top: 0;
    margin-bottom: 50px;
}

#projects-root .main-section {
    margin-bottom: 80px;
}

#projects-root .additional-sections .section-photos-item {
    margin-bottom: 66px;
}


#projects-root .additional-sections h1 {
    font-size: 42px;
}

.presentations-item .overlay {
    height: 100%;
    width: 100%;
    background: grey linear-gradient(45deg, #808080 100%, #fff 0%);
    border: 1px solid #707070;
    border-radius: 35px;
    overflow: hidden;
    cursor: pointer;
}

.presentations-item {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.presentations-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
}

.presentation-item-link {
    position: absolute;
    bottom: -14px;
    left: 50%;
    width: max-content;
    transform: translateX(-50%);
    padding: 8px 25px;
    background-color: #000;
    border: 1px solid #fff;
    color: #fff;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 25px;
    border-radius: 21px;
    line-height: 1;
    text-decoration: initial;
    cursor: pointer;
}

#projects-root .media-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

#projects-root .media-preview img,
#projects-root .media-preview video {
    height: 200px;
    max-width: initial;
    width: calc(100% + 20px);
    margin: 0 -10px;
    object-fit: cover;
    border-radius: 19px;
    box-sizing: border-box;
    display: block;
    background-color: #706f6f;
}

#projects-root .checklist-details .media-preview {
    max-width: 100%;
    margin-top: 40px;
}

#projects-root .timestamp {
    font-size: 12px;
    color: #6c6c6c;
    font-family: Inter, sans-serif;
    margin-bottom: 10px;
}

#projects-root .delete-project-frontend-wrapper {
    gap: 10px;
    display: flex;
    margin-bottom: 30px;
}

#projects-root .photos-section {
    width: 100%;
}


#projects-root .photos-section .section-photos-item:first-child {
    margin-bottom: 66px;
}

#projects-root .photos-videos-title {
    font-weight: 600;
    font-size: 34px;
    margin-bottom: 37px;
    margin-top: 0;
}

#projects-root .photo-video-button-title {
    display: block;
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #000;
}

#projects-root .photo-video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 45px;
}

#projects-root .photo-video-button img {
    width: auto;
    max-width: 150px;
    height: auto;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
}

#projects-root .photo-video-button {
    display: inline-block;
    width: 209px;
    height: 200px;
    background-color: #ffffff;
    border-radius: 34px;
    position: relative;
    border: none;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    flex: 0 0 auto;
}

#projects-root .section-photos-videos-panel:has(.shrink) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#projects-root .section-photos-videos-panel:has(.shrink) .photos-videos-title {
    margin: 20px 28px 20px 0;
}

#projects-root .photo-video-container.shrink {
    gap: 18px;
}

#projects-root .photo-video-container.shrink .photo-video-button img {
    width: 50px;
}

#projects-root .photo-video-container.shrink .photo-video-button {
    width: 77px;
    height: 75px;
    border-radius: 9px;
}

#projects-root .photo-video-container.shrink .photo-video-button-title {
    font-size: 10px;
    bottom: 8px;
}

#projects-root .media-item .notes {
    margin-top: 10px;
    position: relative;
}

#projects-root .media-item {
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.16);
    background: #fff;
    padding: 0 10px 10px;
    position: relative;
    width: 209px;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 14px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

#projects-root .media-item .notes label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 24px;
    color: #000;
    margin-left: 0;
}

#projects-root .media-item .notes textarea {
    width: 100%;
    border: none;
    padding: 0;
    outline: none;
    font-size: 17px;
    color: #000;
    resize: none;
    transition: all 0.3s ease;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}


#projects-root .media-item .notes textarea:focus {
    box-shadow: none;
}


#projects-root .notes textarea::-webkit-scrollbar {
    width: 8px;
}

#projects-root .notes textarea::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

#projects-root .notes textarea::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

#projects-root .notes textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#projects-root .tabs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: black;
    padding: 10px 0;
    width: 100%;
    margin-bottom: 40px;
}

#projects-root .tabs {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: initial;
    overflow-x: auto;
}

#projects-root .tab-button {
    background: none;
    border: none;
    color: #a8a8a8;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
    text-align: left;
    white-space: pre;
}

#projects-root .tab-button.active {
    border-bottom: 3px solid white;
    z-index: 2;
    color: white;
}

#projects-root .tab-underline {
    width: 100%;
    height: 3px;
    background-color: gray;
    margin-top: -3px;
    z-index: 1;
}

#projects-root .tab-content {
    width: 100%;
    margin-bottom: 90px;
}

#projects-root .read-more-button {
    margin-top: 10px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    text-decoration: underline;
    font-size: 11px;
    text-align: right;
    width: 100%;
}

#projects-root .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#projects-root .lightbox .lightbox-content {
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.lightbox .close {
    background-color: transparent;
    border: none;
    position: fixed;
    top: 20px;
    right: 5px;
    cursor: pointer;
    z-index: 1;
    padding: 5px;
}

.lightbox .close img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s;
}

.lightbox .media-item-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox .lightbox-footer {
    display: flex;
    gap: 40px;
    margin-top: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.lightbox .lightbox-footer button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox .lightbox-footer img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
}

.lightbox .lightbox-footer button:hover img {
    transform: scale(1.1);
}

.lightbox .prev,
.lightbox .next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 10px;
    background-color: transparent;
    border: none;
}

.lightbox .prev {
    left: 20px;
}

.lightbox .next {
    right: 20px;
}

.lightbox .prev img,
.lightbox .next img {
    width: 76px;
    height: 76px;
}


#projects-root .lightbox-content img,
#projects-root .lightbox-content video {
    object-fit: contain;
}

#projects-root .lightbox .close img {
    width: 95px;
    height: 95px;
}

#projects-root .lightbox-footer button img {
    width: 82px;
    height: 82px;
}


@media (max-width: 768px) {
    .lightbox .lightbox-content {
        max-width: 95%;
        max-height: 80%;
        padding: 10px;
    }

    .lightbox .media-item-img {
        max-height: 60vh;
    }

    .lightbox .lightbox-footer {
        gap: 20px;
    }
}

@media (max-height: 560px) {
    .lightbox .lightbox-footer img,
    .lightbox .next img,
    .lightbox .prev img,
    .lightbox .close img {
        width: 40px !important;
        height: 40px !important;
    }
}


#projects-root .loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

#projects-root .loader::after {
    content: "";
    display: block;
    margin: 20px auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: loader-spin 1.2s linear infinite;
}


#projects-root .preloader::before {
    content: "";
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: loader-spin 1s linear infinite;
}

#projects-root .custom-content,
#projects-root .home-content {
    max-width: 1116px;
    margin: 0 auto;
    padding: 50px 20px 150px;
}

#projects-root .custom-content rs-module-wrap {
    visibility: visible;
}

#projects-root .custom-content .gform-field-label {
    color: white;
}

#projects-root .home-navigation .custom-tab-icon-item,
.login-button-container .custom-tab-icon-item {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}


#projects-root .home-navigation .custom-tab-icon-item img,
.login-button-container .custom-tab-icon-item img {
    height: 138px;
}

#projects-root .home-navigation,
.login-button-container {
    display: flex;
    justify-content: flex-start;
    padding: 20px;
    /*width: 100%;*/
    flex-wrap: wrap;
}

#projects-root .home-navigation .custom-tab-icon-item,
.login-button-container .custom-tab-icon-item {
    width: 33.33%;
    margin-bottom: 40px;
}

#projects-root .home-navigation .custom-tab-icon-item img,
.login-button-container .custom-tab-icon-item img {
    margin-bottom: 18px;
}

#projects-root .project-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 999;
}


#projects-root #popup-create-lead {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    z-index: 99999;
}

#projects-root .project-form-wrap,
#projects-root #popup-create-lead .popup-create-lead-wrap {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 25px;
    background-color: #333;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

#projects-root .hicrm-popup-content ul:not(.hicrm-popup-content-lead-branches) {
    padding-left: 0;
    list-style: none;
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
}

#projects-root .hicrm-popup-content ul li {
    display: flex;
    flex-direction: column;
}

#projects-root .hicrm-popup-content ul li label {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

#projects-root .hicrm-popup-content {
    width: 100%;
}

#projects-root .hicrm-popup-content input {
    height: 45px !important;
    width: 100%;
}

#projects-root .hicrm-popup-content .hicrm-popup-content-lead-branches input {
    width: 45px;
    height: 45px !important;
}

#projects-root .project-form.show .project-form-wrap,
#projects-root #popup-create-lead.show .popup-create-lead-wrap {
    animation: slideUp 0.5s ease-in-out;
    opacity: 1;
}

#projects-root .project-form.hide .project-form-wrap,
#projects-root #popup-create-lead.hide .popup-create-lead-wrap {
    animation: slideDown 0.5s ease-in-out;
    opacity: 0;
}

#projects-root .project-form-wrap label:not(.project-form-select-lead) {
    display: flex;
    flex-direction: column;
}

.hicrm-popup-content .hicrm-popup-content-lead-branches {
    padding-left: 0;
}


#projects-root .project-form-select-lead {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;

}

#projects-root .hicrm-popup-content-button-wrapper {
    display: flex;
    justify-content: center;
}

#projects-root .hicrm-popup-content input[type="checkbox"] {
    height: 25px !important;
}

#projects-root #popup-create-lead .popup-create-lead-wrap {
    align-items: flex-start;
}

#projects-root #popup-create-lead form {
    height: 550px;
    overflow-y: auto;
}

#projects-root .project-form-wrap select,
#projects-root #popup-create-lead .popup-create-lead-wrap select {
    width: 100%;
    height: 25px;
    line-height: 25px;
}

#projects-root #popup-create-lead .scroll-part {
    overflow: hidden;
    padding: 5px;
}


#projects-root .project-form-wrap select,
#projects-root .project-form-wrap input,
#projects-root #popup-create-lead .popup-create-lead-wrap input,
#projects-root #popup-create-lead .popup-create-lead-wrap select {
    display: block;
    padding: 8px;
    background-color: #3F3F41;
    border: none;
    border-radius: 4px;
    height: 100%;
    color: #8b8b8b;
}


#projects-root #popup-create-lead .popup-create-lead-wrap input {
    box-sizing: border-box;
}


#projects-root .project-form-wrap select,
#projects-root #popup-create-lead .popup-create-lead-wrap select {
    font-size: 14px;
    line-height: 2;
    color: #8b8b8b;
    border-color: #8c8f94;
    box-shadow: none;
    border-radius: 4px;
    padding: 0 24px 0 8px;
    min-height: 45px;
    -webkit-appearance: none;
    background: #3F3F41 url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
    background-size: 16px 16px;
    cursor: pointer;
    vertical-align: middle
}

#projects-root .project-form-wrap input {
    height: 25px;
    font-size: 15px;
}


#projects-root .project-form-select-lead-wrap,
#projects-root #popup-create-lead .popup-create-lead-wrap {
    width: 100%;
}


#projects-root .project-form-wrap button:not(.close-button),
#projects-root #popup-create-lead .popup-create-lead-wrap button:not(.close-button) {
    background-color: #4A7349;
    color: #71FD6F;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    min-height: 42px;
    height: 100%;
}

#projects-root .project-form-wrap button:hover,
#projects-root #popup-create-lead .popup-create-lead-wrap button:hover {
    background-color: #2d832c;
}

#projects-root .project-form-wrap button.hicrm-button-small,
#projects-root #popup-create-lead .popup-create-lead-wrap button.hicrm-button-small {
    width: 30%;
    margin-left: 20px;
}

#projects-root .project-form-wrap button.hicrm-button-black,
#projects-root #popup-create-lead .popup-create-lead-wrap button.hicrm-button-black {
    margin-top: 20px;
    width: 50%;
    align-self: center;
}

#projects-root .project-form-wrap button.close-button,
#projects-root #popup-create-lead .popup-create-lead-wrap button.close-button {
    background-color: transparent;
    color: #fff;
    position: absolute;
    top: 10px;
    right: 0;
    font-size: 24px;
    border: none;
    cursor: pointer;
}

#projects-root .notification {
    position: fixed;
    bottom: 80px;
    right: 50%;
    transform: translate(50%, 0);
    background-color: #0000004d;
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#projects-root .notification.show {
    opacity: 1;
}

/* Project Notes  */
.project-notes {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
    transition: opacity 0.5s ease-in-out;
}

.project-notes.notes-loaded{
    opacity: 1;
}

.project-notes .project-notes-label {
    font-size: 20px;
    color: #ffffff;
}

.project-notes .project-notes-textarea {
    height: 106px;
    padding: 10px;
    border-radius: 11px;
    resize: none;
    font-size: 16px;
    color: #000;
}

.project-notes .project-notes-textarea:focus {
    outline: none;
}

.project-notes .project-notes-textarea::placeholder {
    color: #000;
}

.project-notes .loading-notes {
    font-style: italic;
    color: #888;
}

.project-label-wrap {
    margin-top: 20px;
}

.project-label-wrap .project-type-list {
    list-style: none;
    padding: 0;
    margin-top: 0;
    max-height: 330px;
    overflow-y: scroll;
}

.project-label-wrap .project-type-list li {
    padding: 5px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.project-label-wrap .project-type-list li input {
    margin-right: 5px;
    width: 22px;
    height: 19px;
}

.project-label-wrap .project-type-list li label {
    line-height: 19px;
    font-size: 17px;
}

#projects-root .checklist-items {
    margin-bottom: 40px;
}

#projects-root .checklist-items h3 {
    font-weight: 400;
    margin-bottom: 10px;
    margin-top: 0;
}

#projects-root .checklist-items-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
}

#projects-root .checklist-item {
    /*width: 50%;*/
    border: 1px solid #fff;
    border-radius: 15px;
    text-align: center;
    padding: 10px;
    flex: 1 0 50%;
    cursor: pointer;
}

#projects-root .checklist-item h3 {
    margin-bottom: 0;
    margin-top: 10px;
}

#projects-root .checklist-items-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

#projects-root .checklist-details-heading {
    font-size: 39px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 80px !important;
    font-family: Inter, sans-serif;
}

#projects-root .checklist-details .back-button {
    position: absolute;
    background-color: transparent;
    left: 55px;
    border: none;
    cursor: pointer;
    top: 15px;
}

#projects-root .checklist-details .back-button img {
    width: 30px;
}

#projects-root .project-details-wrapper:has(.checklist-details) {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#projects-root .checklist-details {
    width: 100%;
    font-family: 'Inter', sans-serif;
    padding-right: 10px;
    overflow-y: scroll;
}

#projects-root .section-title {
    font-size: 37px !important;
    font-weight: 400;
}


#projects-root .checklist-field {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    width: 100%;
}

#projects-root .field-title-container {
    max-width: 580px;
}

#projects-root .checklist-details h5,
#projects-root .checklist-details h4,
#projects-root .checklist-details h3,
#projects-root .checklist-details p {
    font-family: 'Inter', sans-serif;
}

#projects-root .field-question h5 {
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 5px;
    margin-top: 14px;
}

#projects-root .checklist-details label {
    font-size: 20px;
    font-weight: 400;
    margin-left: 0;
    margin-bottom: 10px;
}

#projects-root .checklist-details .field-question label,
#projects-root .checklist-details .field-question select {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
}

#projects-root .checklist-details .field-question input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #0075ff;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-right: 8px;
    margin-left: 0;
}

#projects-root .checklist-details .field-question input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: #0075ff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

#projects-root .checklist-details .field-question select {
    font-family: 'Inter', sans-serif;
    display: block;
    font-size: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 13px;
    padding: 5px 10px;
    color: #333;
}

#projects-root .field-question {
    margin-left: 30px;
    margin-bottom: 40px;
}

#projects-root .checklist-details .field-status-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

#projects-root .checklist-details .field-title {
    font-size: 29px;
    margin-bottom: 5px;
    font-weight: 400;
    margin-top: 0;
}

#projects-root .checklist-details .audit-log {
    font-size: 16px;
    margin-top: 0;
    color: #b1b1b1;
}

#projects-root .checklist-details .field-notes {
    font-size: 20px;
    margin-bottom: 30px;
    margin-top: 0;
}

#projects-root .checklist-details .field-questions h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

#projects-root .checklist-details .field-answer-input {
    font-family: 'Inter', sans-serif;
    border: 1px solid #707070;
    border-radius: 18px;
    background-color: #ffffff;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    width: -webkit-fill-available;
    margin-top: 10px;
    padding: 13px 15px;
}

#projects-root .field-status input[type="checkbox"] {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

#projects-root .field-content {
    width: 100%;
    position: relative;
}

#projects-root .checklist-details label:has(input[type="radio"]) {
    cursor: pointer;
}

#projects-root .checklist-details .field-media-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

#projects-root .checklist-details .photo-video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

#projects-root .checklist-details .photo-video-button {
    width: 77px;
    height: 75px;
    border-radius: 9px;
    position: relative;
    border: none;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    flex: 0 0 auto;
    background-color: #ffffff;
    display: inline-block;
}

#projects-root .checklist-details .media-button-container .photo-video-button img {
    width: 50px;
    max-width: 150px;
    height: auto;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
}

#projects-root .checklist-details .photo-video-button-title {
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    text-align: center;
    font-weight: 600;
    color: #000;
    font-size: 10px;
    bottom: 8px;
}

#projects-root .checklist-details .media-button-container {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    gap: 10px;
}

.progress-container {
    margin: 0 auto;
    text-align: center;
    position: fixed;
    background: #000000cc;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#progress-bar {
    appearance: none;
    height: 10px;
    border-radius: 5px;
    background-color: #f3f3f3;
}

#progress-bar::-webkit-progress-value {
    background-color: #4caf50;
    border-radius: 5px;
}

#progress-bar::-moz-progress-bar {
    background-color: #4caf50;
    border-radius: 5px;
}

#projects-root  .project-filter-label-share {
    display: flex;
    gap: 10px;
}

@media screen and (max-width: 1200px) {
    #projects-root .section-photos-videos-panel:has(.shrink) {
        display: block !important;
    }

    #projects-root .photo-video-container.shrink {
        margin-top: 20px;
    }

    #projects-root .photo-video-container {
        gap: 20px;
    }

    #projects-root .project-detail-icons--urls img {
        width: 40px;
        height: 40px;
    }

    #projects-root .photo-video-button {
        width: 150px;
        height: 150px;
        border-radius: 14px;
    }


    #projects-root .photo-video-button img {
        max-width: 90px;
    }

    #projects-root .photo-video-button-title {
        font-size: 12px;
        bottom: 20px;
    }

    #projects-root .photos-videos-controls {
        flex-direction: column;
        margin-top: 30px;
    }


    #projects-root .delete-project-frontend-wrapper {
        display: flex;
        justify-content: flex-start;
    }

    #projects-root .project-list {
        grid-template-columns: repeat(auto-fit, 310px);
    }

    #projects-root .project-details-wrapper {
        padding: 20px;
        /*height: calc(100vh - 155px);*/
    }

    #projects-root .demographic-popup .demographic-details-content {
        align-items: flex-start !important;
    }

    #projects-root .checklist-details .back-button  {
        left: 10px;
    }

   .edit-lead-modal-backdrop .demographic-details-value {
        text-align: left;
    }
}

@media screen and (max-width: 1180px) {
    #projects-root .home-navigation .custom-tab-icon-item img, .login-button-container .custom-tab-icon-item img {
        width: 120px;
        height: 120px;
        object-fit: contain;
    }

    #projects-root .home-navigation .custom-tab-icon-item, .login-button-container .custom-tab-icon-item {
        font-size: 22px;
    }
}

@media screen and (max-width: 1074px) {

    #projects-root .checklist-details .media-button-container {
        position: relative;
    }

}

@media screen and (max-width: 978px) {
    #projects-root .header-wrapper {
        flex-wrap: wrap;
    }

    #projects-root .search-bar {
        max-width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }

    #projects-root .header {
        padding: 20px 25px;
    }

    #projects-root .additional-filters-container,
    #projects-root .filters-wrapper,
    #projects-root .project-filters-wrapper {
        flex-direction: column;
        width: 100%;
    }

    #projects-root .project-filters-wrapper {
        display: flex;
        gap: 10px;
    }

    #projects-root .project-filter h4,
    #projects-root .open-crm-button {
        width: 100% !important;
    }

    #projects-root .project-details-header {
        flex-direction: column;
    }

    #projects-root .search-bar {
        min-width: initial;
    }

    #projects-root .project-details .project-details-content {
        max-width: 100%;
        margin-right: 0;
    }


    #projects-root .filters-wrapper--project-details,
    #projects-root .filters-wrapper--project-details .project-filters-wrapper {
        flex-direction: row;
    }

    #projects-root .filters-wrapper--project-details .project-filter h4,
    #projects-root .filters-wrapper--project-details .open-crm-button {
        font-size: 12px;
    }

    #projects-root .project-filter,
    #projects-root .open-crm-button {
        flex: 0 1 50%;
    }

    #projects-root  .project-filter-label-share {
        width: 100%;
        z-index: 409;
    }

    #projects-root .filters-wrapper--project-details .project-filter {
        z-index: 410;
    }
}


@media screen and (max-width: 960px) {
    #projects-root .lightbox-content {
        /*width: 95%;*/
        top: 50%;
        transform: translateY(-50%);
    }
}

@media screen and (max-width: 909px)  {
    #projects-root .project-details-wrapper {
        display: block;
    }

    #projects-root .project-details .project-details-content {
        max-width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
        margin-top: 40px;
    }

    #projects-root .project-details .delete-project-frontend-wrapper {
        margin-bottom: 0;
    }
}


@media screen and (max-width: 899px) {
    #projects-root .default-button {
        font-size: 16px;
    }
}


@media screen and (max-width: 800px){
    #projects-root .home-navigation .custom-tab-icon-item, .login-button-container .custom-tab-icon-item {
        width: 50%;
        font-size: 20px;
        margin-bottom: 80px;
    }
}

#projects-root .default-button.delete-project-frontend{
    margin-top: 20px;
}


@media screen and (max-width: 700px) {

    #projects-root  .checklist-items-wrap {
        grid-template-columns: 1fr;
    }

    #projects-root .logo {
        margin-right: 0;
    }

    #projects-root .home-navigation, .login-button-container {
        align-items: baseline;
    }

    #projects-root .custom-tab-icon-item {
        font-size: 14px;
        margin-bottom: 20px;
    }

    #projects-root  .controls {
        flex-direction: column;
    }

    #projects-root .sync-button {
        margin-bottom: 10px !important;
    }

    #projects-root .header {
        flex-direction: column;
    }

    #projects-root .search-bar {
        margin-top: 20px;
    }

    #projects-root .project-details-wrapper {
        display: block;
    }

    #projects-root .project-details .project-details-content {
        margin-right: 0;
        max-width: 100%;
    }


    #projects-root .project-detail-icons a {
        margin: 10px 0;
    }

    #projects-root .project-details {
        /*width: 78%;*/
        padding: 20px;
    }

    #projects-root .project-detail-icons .icon-link span {
        font-size: 14px;
        text-align: center;
    }

    #projects-root .branch-selector-wrapper {
        margin-top: 20px;
    }

    #projects-root .photos-videos-controls {
        flex-direction: column;
        margin-top: 30px;
    }

    #projects-root .default-button {
        margin-right: 0;
    }

    #projects-root .photo-video-button {
        width: 150px;
        height: 150px;
    }

    #projects-root .photo-video-container {
        gap: 15px;
    }

    #projects-root .photo-video-button img {
        width: 100px;
    }

    #projects-root .lightbox-footer {
        gap: 15px;
        top: calc(100% + 10px);
    }

    #projects-root .lightbox .prev img,
    #projects-root .lightbox .next img {
        width: 50px;
        height: 50px;
    }


    #projects-root .lightbox-footer button img {
        width: 42px !important;
        height: 42px !important;
    }

    #projects-root .lightbox .close img {
        width: 50px;
        height: 50px;
        top: 35px;
    }


    #projects-root .home-navigation .custom-tab-icon-item,
    .login-button.custom-tab-icon-item {
        margin-bottom: 40px;
        font-size: 14px;
    }

    #projects-root .home-navigation,
    .login-button-container {
        padding: 10px;
    }

    #projects-root .home-navigation .custom-tab-icon-item img,
    .login-button-container .custom-tab-icon-item img {
        width: 80px;
        height: 100px;
    }

    #projects-root .project-form-wrap,
    #projects-root #popup-create-lead .popup-create-lead-wrap {
        width: 80%;
    }

    #projects-root .project-form-wrap button ,
    #projects-root #popup-create-lead .popup-create-lead-wrap button {
        font-size: 12px;
    }

    #projects-root .project-form-wrap,
    #projects-root #popup-create-lead .popup-create-lead-wrap {
        padding: 20px;
    }

    #projects-root .hicrm-popup-content ul {
        grid-template-columns: auto;
    }

    #projects-root .checklist-details-heading {
        margin: 0 0 60px !important;
    }

    #projects-root .checklist-details .back-button img {
        width: 20px;
    }

    #projects-root .section-title {
        font-size: 20px !important;
    }


    #projects-root .checklist-details .field-title {
        font-size: 22px;
    }

    #projects-root .checklist-details .field-notes {
        font-size: 20px;
    }

    #projects-root .checklist-details .field-answer-input[type="text"] {
        width: 80%;
        margin-left: 0;
    }


    #projects-root .field-status input[type="checkbox"] {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    #projects-root .checklist-details .field-notes {
        font-size: 20px;
        margin-bottom: 30px;
        margin-top: 0;
    }

    #projects-root .field-question {
        margin-left: 0;
    }

    #projects-root .checklist-details label {
        margin-left: 0 !important;
    }

    #projects-root .project-details-wrapper:has(.checklist-details) {
        display: block;
    }

    #projects-root .checklist-details .field-question select {
        margin-left: 0;
    }

    #projects-root .checklist-details {
        margin-right: 0;
        margin-left: 0;
    }

    #projects-root .project-details h2 {
        font-size: 25px;
    }

    #projects-root .project-details .close-button {
        top: 30px;
        right: 30px;
    }
}

@media screen and (max-width: 579px) {
    #projects-root .project-list {
        grid-template-columns: repeat(auto-fit, 310px);
    }
}


@media screen and (max-width: 500px) {
    #projects-root .search-bar {
        align-items: baseline;
    }

    #projects-root .search-bar button {
        width: 30%;
    }

    #projects-root .navigation button {
        font-size: 12px;
        padding: 10px;
    }


    #projects-root .project-detail-icons .icon-link img {
        width: 50px;
        height: 50px;
    }


    #projects-root .project-details .project-details-content {
        max-width: 100%;
        margin-bottom: 20px;
    }

    #projects-root .project-details {
        border-radius: 15px;
    }


    #projects-root .project-details h2 {
        font-size: 28px;
    }


    #projects-root .project-details .close-button img {
        width: 20px;
        height: 20px;
    }

    #projects-root .photo-video-button {
        width: 100px;
        height: 100px;
        border-radius: 14px;
    }

    #projects-root .photo-video-button img {
        max-width: 50px;
    }

    #projects-root .photo-video-button-title {
        font-size: 12px;
        bottom: 20px;
    }

    #projects-root .media-item {
        width: 100%;
    }

    .no-scroll {
        overflow: hidden;
    }

    #projects-root .photos-videos-controls {
        gap: 10px;
        margin-top: 14px;
    }

    #projects-root .photos-videos-controls .default-button {
        padding: 6px 10px;
        font-size: 12px;
    }

    #projects-root .filter-content .switch-label {
        font-size: 12px;
    }
}

@media  screen and (max-width: 420px) {
    #projects-root .home-navigation .custom-tab-icon-item,
    .login-button-container .custom-tab-icon-item {
        width: 50%;
        word-break: break-word;
    }
}


.loader-overlay-presentation {
    position: fixed;
    top: 5%;
    right: 5%;
    width: 203px;
    height: 100px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 32;
}


.loader-container-presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 5%;
    top: 5%;
}


.loader-presentation {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}


.loader-text-presentation {
    font-size: 18px;
    color: #ffffff;
    text-align: center;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@media (max-width: 600px) {
    .loader-presentation {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }

    .loader-text-presentation {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .loader-presentation {
        width: 60px;
        height: 60px;
        border-width: 6px;
    }

    .loader-text-presentation {
        font-size: 20px;
    }
}

#main .entry-content[load]::before {
    background-color: transparent !important;
    z-index: -1 !important;
}

/*style presentation analytics*/
#projects-root .home-navigation.analytics-navigation{
    justify-content: center;
}
.presentation-analytics-table{
    padding: 20px;
}
.presentations-analytics-pagination__wrapper{
    padding: 20px 20px 120px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.presentation-analytics-table .analytics-table{
    padding: 20px;
    width: 100%;
}
.presentation-analytics-table .analytics-table th{
    text-align: left;
    font-weight: 400;
    font-size: 26px;
    color: #fff;
    padding-bottom: 6px;
}
.presentation-analytics-table .analytics-table thead{
    border-bottom: 6px solid #fff;
}
.presentation-analytics-table .analytics-table tbody td{
    font-weight: 400;
    font-size: 20px;
    padding: 20px 8px 20px 0;
    width: 16.66%;
}
.presentation-analytics-table .analytics-table{
    border-collapse: collapse;
}
.presentation-analytics-table .analytics-table .presentations-tab-row{
    border-bottom: 1px solid #fff;
}
.presentation-analytics-table .analytics-table .analytics-table__button{
    border: 1px solid #707070;
    border-radius: 11px;
    font-weight: 400;
    font-size: 26px;
    color: #000;
    padding: 10px;
    cursor: pointer;
}
/*style presentation analytics filter*/
.presentations-analytics-wrapper{
    display: flex;
    justify-content: center;
    gap: 34px;
}
.presentations-analytics-wrapper .presentations-analytics-selector{
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.presentations-analytics-wrapper .presentations-analytics-selector h4{
    font-family: 'Inter', sans-serif;
    margin: 0;
    font-size: 26px;
    padding: 9px 20px;
    background-color: white;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    border-radius: 10px;
    width: 280px;
    box-sizing: border-box;
}
.presentations-analytics-wrapper .presentations-analytics-selector h4::after {
    content: '';
    background-image: url(../../imgs/front/arrow-down.png);
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 10px;
    width: 29px;
    height: 29px;
    transition: transform 0.3s;
}
.presentations-analytics-selector.open .presentations-analytics-list{
    display: block;
}
.presentations-analytics-selector .presentations-analytics-list{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    background-color: white;
    color: black;
    padding: 10px;
    display: none;
    border-bottom-right-radius: 13px;
    border-bottom-left-radius: 13px;
    z-index: 2;
    max-height: 300px;
    overflow-y: auto;
}
.presentations-analytics-selector .presentations-analytics-list li{
    list-style: none;
    margin: 5px 0;
    display: flex;
    align-items: center;
    font-size: 20px;
}
.presentations-analytics-selector .presentations-analytics-list input[type="checkbox"] {
    margin-right: 10px;
    width: 26px;
    height: 26px;
    vertical-align: middle;
    flex-shrink: 0;
}
.presentations-analytics-selector .presentations-analytics-list label{
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    cursor: pointer;
    line-height: 1.1;
    display: flex;
    align-items: center;
}
@media (max-width: 992px) {
    .presentations-analytics-wrapper{
        gap: 16px;
    }
    .presentations-analytics-wrapper .presentations-analytics-selector h4{
        width: 210px;
        font-size: 18px;
    }
    .presentations-analytics-wrapper .presentations-analytics-selector h4::after{
        width: 20px;
        height: 20px;
    }
    .presentations-analytics-selector .presentations-analytics-list input[type="checkbox"] {
        margin-right: 6px;
        width: 20px;
        height: 20px;
        vertical-align: middle;
        flex-shrink: 0;
    }
    .presentations-analytics-selector .presentations-analytics-list label{
        font-size: 16px;
    }
    .presentations-analytics-selector .presentations-analytics-list{
        top: 40%;
    }
}
@media (max-width: 576px) {
    .presentations-analytics-wrapper{
        flex-direction: column;
        align-items: center;
    }
}
/*presentations analytics pagination*/
.presentations-analytics-pagination__number-page,
.presentations-analytics-pagination__button{
    transition: all ease 0.3s;
}
.presentations-analytics-pagination__number-page:hover,
.presentations-analytics-pagination__button:hover{
    opacity: 0.5;
}
.presentations-analytics-pagination__button{
    padding: 3px 12px;
    font-size: 20px;
}
.presentations-analytics-pagination__number-page{
    padding: 3px 6px;
    font-size: 20px;
}
.presentations-analytics-pagination__number-page-wrapper{
    display: flex;
    max-width: calc(100% - 300px);
    overflow-x: scroll;
    margin: 0 20px;
    gap: 5px;
    padding: 20px 0 ;
}
.presentation-analytics-table__message{
    padding: 200px 20px;
    text-align: center;
}
.presentations-analytics-pagination__number-page.active{
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}


.timeline-container {
    background-color: #1e1e1e;
    color: #ffffff;
    font-family: Arial, sans-serif;
    padding: 20px;
    max-width: 1116px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
    margin-bottom: 100px;
}

.timeline-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.timeline-logo {
    height: 40px;
}

.back-button {
    background-color: #444;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

.timeline-entries {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-entry {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
    width: 100%;
}

.timeline-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.timeline-wrapper {
    flex-shrink: 0;
    width: 350px;
    display: flex;
    justify-content: center;
    position: relative;
    margin-right: 20px;
}

.timeline-wrapper::before {
    position: absolute;
    content: "";
    bottom: -125px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 15px solid #898989;
    height: 150px;
    width: 15px;
    z-index: -1;
}

.timeline-entry:last-child .timeline-wrapper:before {
    display: none;
}
.timeline-entry:only-child .timeline-wrapper:before {
    display: none;
}

.timeline-image {
    width: 333px;
    height: 218px;
    border-radius: 20px;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #ffffff1a;
}

.timeline-image-investment {
    width: 246px;
    height: 252px;
    border-radius: 50%;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.timeline-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-details {
    flex-grow: 1;
    text-align: left;
    max-width: 400px;
}

.timeline-time {
    font-weight: bold;
    margin-bottom: 5px;
}

.timeline-duration {
    font-size: 12px;
    color: #aaa;
}

.investment-details p {
    margin: 2px 0;
    font-size: 12px;
}


.live-status {
    background: #ff1e30;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 500;
    padding: 10px 15px;
    width: fit-content;
    letter-spacing: 2px;
    font-size: 22px;
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.dot {
    color: #ffffff;
    animation: blink 1.5s infinite;
    margin-right: 3px;
    font-size: 22px;
}


@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


@media (max-width: 768px) {

    .timeline-container {
        padding: 10px;
    }

    .timeline-content {
        flex-direction: column;
        width: 80%;
    }


    .timeline-header {
        align-items: center;
        text-align: center;
    }


    .timeline-entry {
        flex-direction: column;
        align-items: center;
        margin-bottom: 50px;
    }


    .timeline-wrapper {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }


    .timeline-image,
    .timeline-image-investment {
        width: 100%;
        height: auto;
    }


    .timeline-details {
        max-width: 100%;
        text-align: center;
        margin-top: 0;
    }


    .timeline-time {
        font-size: 14px;
        margin-bottom: 3px;
        margin-top: 0;
    }

    .timeline-duration {
        font-size: 10px;
    }

    .live-status {
        font-size: 18px;
        padding: 8px 12px;
        letter-spacing: 1px;
        text-align: center;
    }


    .timeline-wrapper::before {
        display: none;
    }

    #projects-root .home-content {
        padding-top: 30px;
    }
}


/*Universal Popup Styles*/
.payment-tilled.popup-overlay {
    padding: 0;
    border-radius: 41px;
    z-index: 3;
    width: 100%;
    max-width: 1185px;
    /*height: calc(100vh - 250px);*/
}

.payment-tilled.popup-overlay * {
    font-family: 'Montserrat', sans-serif;
}

.payment-tilled .payment-input-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 330px;
}

.payment-tilled .currency-symbol {
    position: absolute;
    left: 20px;
    font-size: 30px;
    color: #000;
    top: 50%;
    transform: translateY(-50%);
}

.payment-tilled .popup-container {
    color: #fff;
}

.payment-tilled .back-button {
    position: absolute;
    background-color: transparent;
    left: -5px;
    top: 10px;
    border: none;
    cursor: pointer;
}

.payment-tilled .back-button img {
    width: 30px;
}


.payment-tilled .popup-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.payment-tilled .popup-tabs {
    display: flex;
    gap: 35px;
}

.payment-tilled .tab {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    border-bottom: 2px solid transparent;
}

.payment-tilled .tab.active {
    border-bottom: 2px solid #fff;
    font-weight: 600;
}

.payment-tilled .close-button {
    background-color: transparent;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

/*Popup Demographic*/
#projects-root .demographic-details__check-demographic{
    background-color: #fff;
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 19px;
    font-size: 18px;
    padding: 6px 20px;
    margin-top: 30px;
}

#projects-root .demographic-popup .close-button{
    background-color: transparent;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}


.payment-tilled .popup-content {
    margin-top: 54px;
    text-align: center;
    /*overflow-y: scroll;*/
    margin-bottom: 20px;
}

.payment-tilled .payment-history-container {
    height: calc(90vh - 250px);
}

.payment-tilled .payment-history-table {
    width: 100%;
}

.payment-tilled .payment-history-table tr {
    font-size: 30px;
}

.payment-tilled .payment-history-table td {
    padding: 3px 0;
}

.payment-tilled .payment-history-table thead {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background-color: #000000;
    z-index: 1;
}

.payment-tilled .payment-history-table thead::after {
    content: '';
    border-bottom: 4px solid #FFFFFF;
    width: 100%;
    display: block;
    position: absolute;
    bottom: 3px;
}

.payment-tilled .payment-history-table th,
.payment-tilled .payment-history-table tr {
    text-align: left;
    padding: 10px 0;
}

.payment-tilled .payment-history-table thead th {
    font-weight: 600;
}

.payment-tilled .payment-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-tilled .payment-links-container {
    margin-top: 40px;
}

.payment-tilled .payment-links-container hr {
    border-color: #6e6e6e80;
}

.payment-tilled .saved-links {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 650px);
    margin-top: 20px;
}

.payment-tilled .saved-link {
    text-align: left;
    font-size: 30px;
}

.payment-tilled .payment-input,
.payment-tilled .amount-input,
.payment-tilled .link-input {
    width: 100%;
    padding: 10px 20px 10px 40px;
    font-size: 30px;
    border-radius: 28px;
    border: 1px solid #707070;
    max-width: 330px;
    box-sizing: border-box;
}

.payment-tilled .link-input {
    padding-left: 20px;
    margin-right: 20px;
    max-width: 350px;
}

.payment-tilled .new-payment-link,
.payment-tilled .created-payment-link {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.payment-tilled .link-wrapper {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    position: relative;
}


.payment-tilled .payment-input::placeholder,
.payment-tilled .amount-input::placeholder {
    color: #000000;
}

.payment-tilled .new-payment-link .amount-input {
    margin-right: 20px;
}

.payment-tilled .link-label {
    text-align: left;
    display: inline-block;
    font-size: 34px;
    margin-bottom: 10px;
}

.payment-tilled .general-payment-link {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.payment-tilled .payment-type-group {
    text-align: center;
    margin-top: 50px;
}

.payment-tilled .payment-type-label {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
    color: #fff;
}

.payment-tilled .payment-type-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.payment-tilled .payment-type-button,
.payment-tilled .create-link-button,
.payment-tilled .copy-link-button {
    border: 1px solid #fff;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 30px;
    color: #ffffff;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-tilled .payment-type-button.active {
    background-color: #fff;
    color: #000;
}

.payment-tilled .payment-type-button:hover {
    background-color: #FFFFFF;
    color: #000;
}

.payment-tilled .payment-method-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 14px;
}

.payment-tilled .payment-method-group,
.payment-tilled .select-credit-card,
.payment-tilled .tilled-ach-form {
    margin: 40px 0;
}

.payment-tilled .select-credit-card,
.payment-tilled .tilled-ach-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-tilled .payment-method-button {
    border-radius: 25px;
    padding: 10px;
    color: #ffffff;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.payment-tilled .payment-method-button.active {
    border: 1px solid #fff;
    border-radius: 25px;

}

.payment-tilled .credit-card-options,
.payment-tilled .ach-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}


.payment-tilled .ach-options,
.payment-tilled .select-credit-card {
    margin-bottom: 40px;
}

.payment-tilled .credit-card-option,
.payment-tilled .ach-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #ffffff;
}

.payment-tilled .credit-card-option input[type="radio"],
.payment-tilled .ach-option input[type="radio"] {
    appearance: none;
    width: 40px;
    height: 40px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.payment-tilled .credit-card-option input[type="radio"]:checked::before,
.payment-tilled .ach-option input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 8px;
}

.payment-tilled .tilled-payment-ach {
    display: flex;
    width: 100%;
}

.payment-tilled #ach-account-type {
    font-size: 22px;
    border-radius: 25px;
    border: 1px solid #707070;
    background-color: #ffffff;
    color: rgb(122 122 122);
    flex: 1;
    padding: 12px 15px;
}


.payment-tilled .credit-card-option label {
    cursor: pointer;
    font-size: 27px;
}

.payment-tilled .ach-options label {
    margin-bottom: 0;
    text-align: left;
}

.payment-tilled .new-card-details,
.payment-tilled .payment-details {
    margin-top: 30px;
}

.payment-tilled .new-card-details input,
.payment-tilled .payment-details input {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #707070;
    background-color: #ffffff;
    color: #000000;
}

.payment-tilled .new-card-details label,
.payment-tilled .payment-details label {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 5px;
    text-align: left;
}

.payment-tilled .credit-card-option label {
    margin: 0;
}

.payment-tilled .new-card-details .form-control,
.payment-tilled .payment-details .form-control {
    padding: 13px 15px;
    font-size: 22px;
    border-radius: 25px;
    border: 1px solid #707070;
    background-color: #ffffff;
    color: #000000;
    flex: 1;
    min-width: 250px;
}

.payment-tilled .new-card-details .form-group,
.payment-tilled .payment-details .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.payment-tilled .new-card-details .form-control::placeholder {
    color: #a0a0a0;
}

.payment-tilled .new-card-details .checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.payment-tilled .checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment-tilled .checkbox-group label {
    font-size: 16px;
    color: #ffffff;
}


.payment-tilled .checkbox-group {
    min-width: 555px;
}

.payment-tilled .checkbox-group label {
    font-size: 28px;
}

.payment-tilled .payment-details {
    margin-top: 30px;
}

/* Notes Field */
.payment-tilled .notes-field {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #707070;
    background-color: #ffffff;
    color: #000000;
    margin-bottom: 20px;
    resize: none;
}

/* Important Notice Section */
.payment-tilled .important-notice {
    margin-top: 20px;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;

}

.payment-tilled .important-notice,
.payment-tilled  .notes-group {
    display: inline-block;
    width: 80%;
    text-align: left;
}


.payment-tilled .notes-group .form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #707070;
    background-color: #ffffff;
    color: #000000;
    margin-bottom: 20px;
    resize: none;
    box-sizing: border-box;
    height: 150px;
}

.payment-tilled .important-notice strong {
    font-size: 24px;
    color: #ffffff;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.payment-tilled .important-notice p {
    font-size: 24px;
    color: #ffffff;
}

/* Charge Button */
.payment-tilled .charge-button {
    display: block;
    width: 100%;
    max-width: 600px;
    padding: 15px !important;
    font-size: 45px !important;
    font-weight: bold;
    color: #000000 !important;
    background-color: #00ff00 !important;
    border: 1px solid #ffffff !important;
    border-radius: 25px !important;
    margin: 30px auto 50px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.payment-tilled .charge-button:hover {
    background-color: #00cc00;
}

.payment-tilled .form-group--textarea {
    margin-top: 50px;
}

#tilled-payment-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    align-items: center;
    margin-bottom: 30px;
}

.tilled-payment-form-item {
    text-align: left;
}

.tilled-card-field,
.tilled-ach-field{
    padding: 10px;
    border-radius: 28px;
    border: 1px solid #FFFFFF;
    background-color: #ffffff;
    margin-bottom: 15px;
    height: 30px;
}

.payment-cont {
    display: flex;
    justify-content: center;
}

.payment-amount label,
.form-group.payment-type-group label {
    margin-bottom: 20px;
    font-size: 30px;
}


.tilled-payment-form-item label,
.payment-amount label,
.form-group.payment-type-group label {
    display: block;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 10px;
}



#tilled-payment-form {
    display: grid;
    /*grid-template-columns: 513px 236px 236px;*/
    gap: 16px;
    align-items: start;
}


.tilled-payment-form-item {
    display: flex;
    flex-direction: column;
}



#tilled-payment-form button,
.tilled-payment-form,
.tilled-ach-form button,
.delete-card-button {
    grid-column: 1 / span 3;
    padding: 10px 20px;
    background-color: transparent;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    border: 1px solid #fff;
    transition: background-color 0.3s ease;
}

#tilled-payment-form button:hover,
.tilled-ach-form button:hover,
.delete-card-button:hover {
    background-color: #fff;
    color: #000;
}


.payment-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 16px;
    grid-column: span 3;
    margin-bottom: 30px;
}

.form-group--full {
    grid-column: span 2;
}


#projects-root .demographic-popup .back-button{
    position: absolute;
    background-color: transparent;
    left: -5px;
    top: 10px;
    border: none;
    cursor: pointer;
}

#projects-root .demographic-popup .back-button img {
    width: 30px;
}

#projects-root .demographic-popup .popup-container {
    background: #000;
    color: #fff;
    text-align: center;
}

#projects-root .demographic-popup .popup-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

#projects-root .demographic-popup .demographic-popup__title{
    font-size: 42px;
    padding:0 40px;
}

#projects-root .demographic-popup .demographic-details-content{
    display: flex;
    align-items: center;
    gap: 8px;
    width: 33.33%;
    flex-direction: column;
    padding: 2px;
    box-sizing: border-box;
}

#projects-root .demographic-details-box{
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 75px;
}

#projects-root .demographic-popup .demographic-details-title{
    font-size: 29px;
    font-weight: 400;
    margin: 0!important;
}

#projects-root .demographic-popup .demographic-details-value{
    font-size: 34px;
    font-weight: 700;
}


@media screen and (max-width: 1280px) {
    .payment-tilled  .tab,
    .payment-tilled .payment-history-table thead th,
    .payment-tilled .payment-history-table td {
        font-size: 20px;
    }

    /*#projects-root .logo {*/
    /*    flex-shrink: 0;*/
    /*}*/


    .payment-tilled .payment-input,
    .payment-tilled .amount-input,
    .payment-tilled .link-input,
    .payment-tilled .copy-link-button,
    .payment-tilled .create-link-button,
    .payment-tilled .link-label,
    .payment-tilled .link-wrapper {
        font-size: 18px;
    }


    .payment-tilled .currency-symbol {
        font-size: 20px;
    }

}

@media screen and (max-width: 1078px) {
    #projects-root .filters-wrapper,
    #projects-root .additional-filters-container {
        /*gap: 10px;*/
    }

    #projects-root .tab-button {
        font-size: 20px;
        padding: 8px;
    }

    #projects-root .tabs {
        gap: 15px;
    }
}

@media screen and (max-width: 1057px) {
    .payment-tilled .link-wrapper {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .payment-tilled.popup-overlay {
        padding: 20px 30px 50px;
        border-radius: 30px;
        width: 100%;
        height: calc(100vh - 150px);
    }


    .payment-tilled .tab {
        font-size: 24px;
    }

    .payment-tilled .popup-content {
        margin-top: 40px;
    }

    .payment-tilled .payment-input {
        font-size: 20px;
    }

    .payment-tilled .currency-symbol {
        font-size: 20px;
    }

    .payment-tilled .close-button {
        top: 15px;
        right: 15px;
    }

    .payment-tilled .back-button {
        left: 5px;
        top: 15px;
    }

    .payment-tilled .back-button img {
        width: 24px;
    }


    .payment-tilled.popup-overlay {
        padding: 20px 30px 150px;
        height: calc(100vh - 250px);
    }

    .payment-tilled .credit-card-options {
        gap: 15px;
    }

    .payment-tilled .charge-button {
        font-size: 28px;
        padding: 12px;
    }

    .payment-tilled .form-group--textarea {
        margin-top: 30px;
    }

    .payment-tilled .new-card-details, .payment-tilled .payment-details {
        flex-direction: column;
    }


    .payment-tilled .credit-card-option input[type="radio"],
    .payment-tilled .ach-option input[type="radio"] {
        width: 20px;
        height: 20px;
        border: 1px solid #ffffff;
    }

    .payment-tilled .credit-card-option input[type="radio"]:checked::before,
    .payment-tilled .ach-option input[type="radio"]:checked::before {
        width: 8px;
        height: 8px;
        top: 5px;
        left: 5px;
    }

    .payment-tilled .checkbox-group {
        min-width: 100%;
    }

    #projects-root .demographic-popup .demographic-popup__title{
        font-size: 36px;
    }

    #projects-root .demographic-popup .demographic-details-title{
        font-size: 26px;
    }

    #projects-root .demographic-popup .demographic-details-value{
        font-size: 28px;
        text-align: left;
    }
}

@media screen and (max-width: 952px) {
    .payment-tilled .tab {
        font-size: 20px;
    }
}

@media screen and (max-width: 940px) {
    .payment-tilled .popup-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .payment-tilled .payment-details {
        display: flex;
        row-gap: 15px;
    }


    .payment-tilled #tilled-payment-form {
        /*display: flex;*/
        margin-top: 0;
    }

    .payment-tilled #tilled-payment-form button {
        width: 100%;
    }

    .payment-tilled .tab {
        font-size: 18px;
    }
}


@media screen and (max-width: 768px) {
    .payment-tilled.popup-overlay {
        padding: 15px 20px 30px;
        border-radius: 20px;
        height: calc(100vh - 150px);
    }

    .payment-tilled .popup-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .payment-tilled .popup-tabs {
        flex-direction: column;
        gap: 10px;
        padding-left: 0;
    }

    .payment-tilled .tab {
        font-size: 18px;
    }

    .payment-tilled .payment-input {
        font-size: 16px;
    }

    .payment-tilled .close-button {
        top: 10px;
        right: 10px;
    }


    .payment-tilled .back-button img {
        width: 20px;
    }

    .payment-tilled .payment-amount label {
        font-size: 20px;
    }

    .payment-tilled.popup-overlay {
        padding: 20px 15px 40px;
        border-radius: 20px;
        width: 88%;
        height: calc(100vh - 150px);
    }

    .payment-tilled .popup-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .payment-tilled .popup-tabs {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .payment-tilled .tab {
        font-size: 18px;
    }


    .payment-tilled .payment-input {
        font-size: 16px;
    }

    .payment-tilled .payment-method-options {
        flex-direction: column;
        gap: 10px;
    }

    .payment-tilled .credit-card-options {
        gap: 10px;
    }

    .payment-tilled .charge-button {
        font-size: 20px !important;
        padding: 10px;
        width: 80%;
    }

    .payment-tilled .credit-card-option label {
        text-align: left;
    }

    .payment-tilled .important-notice p {
        font-size: 16px;
    }

    .payment-tilled .notes-field {
        font-size: 14px;
        padding: 8px;
        margin-bottom: 15px;
    }

    .payment-tilled .payment-type-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .payment-tilled .payment-type-button {
        font-size: 20px;
    }
    .payment-tilled .new-card-details .form-group,
    .payment-tilled .payment-details .form-group {
        display: flex;
        flex-direction: column;
    }

    #tilled-payment-form {
        grid-template-columns: 1fr 1fr 1fr;
        align-items: end;
    }

    #tilled-payment-form button,
    .delete-card-button {
        grid-column: 1 / span 2;
    }

    .payment-tilled .payment-history-table thead th,
    .payment-tilled .payment-history-table td {
        font-size: 8px;
    }

    .payment-tilled .saved-links {
        height: calc(100vh - 850px);
    }
}

@media screen and (max-width: 750px) {
    .payment-tilled .link-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-tilled .link-input,
    .payment-tilled .new-payment-link .amount-input {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .payment-tilled .currency-symbol {
        top: 22%;
    }

    .payment-tilled .payment-input-container .currency-symbol {
        top: 50%;
    }


    .payment-tilled .payment-links-container {
        margin-top: 0;
    }

    #projects-root .tabs {
        flex-wrap: initial;
        overflow-x: auto;
    }

    #projects-root .tab-button {
        font-size: 20px;
        padding: 6px;
        width: 100%;
    }

    /*#projects-root .tab-underline {*/
    /*    display: none;*/
    /*}*/
}


/* universal popup */
@media screen and (max-width: 480px) {
    .payment-tilled.popup-overlay {
        padding: 15px;
        height: calc(100vh - 120px);
    }

    .payment-tilled .popup-header {
        gap: 8px;
    }

    .payment-tilled .tab {
        font-size: 16px;
    }

    .payment-tilled .credit-card-option label,
    .payment-tilled .ach-option label {
        font-size: 16px;
        text-align: left;
    }

    .payment-tilled .payment-input {
        font-size: 14px;
    }

    .payment-tilled .charge-button {
        font-size: 18px;
        padding: 8px;
    }

    .payment-tilled .important-notice p {
        font-size: 14px;
    }

    .payment-tilled .notes-field {
        font-size: 12px;
        padding: 6px;
    }

    .payment-tilled .close-button img {
        width: 20px;
    }

    .payment-tilled .back-button {
        top: 0;
    }

    .payment-tilled .payment-method-icon {
        width: 100px;
    }

    .payment-tilled .payment-method-options {
        gap: 0;
    }

    .payment-tilled #tilled-payment-form {
        grid-template-columns: 1fr;
    }
    .payment-tilled  #tilled-payment-form button,
    .payment-tilled .delete-card-button {
        grid-column: 1;
    }

    .payment-tilled .delete-card-button,
    .payment-tilled .delete-ach-button {
        font-size: 10px;
    }

    .payment-tilled .notes-group,
    .payment-tilled .important-notice {
        width: 100%;
    }

    #projects-root .tab-button {
        font-size: 18px;
        padding: 5px;
    }

    #projects-root .tabs {
        gap: 8px;
    }
}


@media (max-width: 768px) {
    #projects-root .demographic-popup .demographic-details-content{
        width: 50%;
    }
}

@media (max-width: 576px) {
    #projects-root .demographic-popup .demographic-details-content{
        width: 50%;
    }

    #projects-root .demographic-popup .demographic-popup__title{
        font-size: 30px;
    }

    #projects-root .demographic-popup .demographic-details-title{
        font-size: 18px;
    }

    #projects-root .demographic-popup .demographic-details-value{
        font-size: 22px;
    }

    #projects-root .demographic-details-box{
        row-gap: 30px;
    }
}

/* Financing Companies View */
.financing-companies-content {
    position: relative;
}

.financing-companies-content .tabs-container {
    background-color: transparent !important;
}

.financing-companies-page-wrap,
.financing-companies-page-wrap * {
    box-sizing: border-box;
}

.financing-companies-page-wrap.container {
    max-width: 1742px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px 180px;
}

.financing-hidden {
    display: none;
}

.financing-companies-page-wrap.container .financing-row {
    display: flex;
    flex-wrap: wrap;
}

.financing-companies-page-block-title {
    text-align: center;
    font-weight: 400;
    font-size: 36px;
}

.financing-companies-page-block {
    flex-basis: calc(100% / 2);
}

.financing-companies-page-block:first-child {
    padding-right: 99px;
    border-right: 1px solid #FFFFFF;
}

.financing-companies-page-block:last-child {
    padding-left: 100px;
}

.financing-company-list {
    display: flex;
    flex-wrap: wrap;
}

.financing-company-item {
    display: flex;
    background: #fff;
    flex-basis: calc(100% / 2 - 30px);
    border-radius: 31px;
    margin: 15px auto;
    cursor: pointer;
}

.financing-company-item > img {
    margin: 0 auto;
    border-radius: 31px;
    max-width: 297px;
    width: 100%;
    height: 165px;
    object-fit: contain;
    padding: 5px;
}

.financing-company-button {
    display: block;
    border: 1px solid #707070;
    border-radius: 28px;
    font-weight: 400;
    font-size: 29px;
    color: #000;
    padding: 20px 22px;
    cursor: pointer;
    margin: 30px auto 0;
    background-color: #fff;
    text-decoration: none;
}

.financing-company-button-save {
    margin: 30px 0 0;
}

.financing-company-button-plan {
    margin: 0;
    font-weight: 400;
    font-size: 17px;
    border: 1px solid #707070;
    border-radius: 28px;
    padding: 11px 15px;
    cursor: pointer;
}

/* Modal */
.financing-company-view-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-color: #1E1E1E;
    padding: 20px 70px;
}

.financing-company-view-modal-header {
    background: #1E1E1E;
    z-index: 2;
    position: relative;
}

.financing-company-view-modal-close {
    all: unset;
    display: inline-block;
    cursor: pointer;
}

.financing-company-view-modal-close img {
    width: 35px;
    height: 56px;
}

.financing-company-manual-tab-list {
    display: flex;
    list-style: none;
    margin: 0;
    border-bottom: 3px solid rgba(255,255,255, .28);
    padding: 25px 0 8px !important;
}

.financing-company-manual-tab-item {
    position: relative;
    font-weight: 400;
    font-size: 34px;
    cursor: pointer;
}

.financing-company-manual-tab-item:not(:last-child) {
    margin-right: 50px;
}

.financing-company-manual-tab-item.active:before {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

.financing-company-modal-tab {
    padding: 20px 0;
}

/* Manual Info Modal */
.financing-company-manual-modal-info {
    display: flex;
    flex-wrap: wrap;
}

.financing-company-modal-tab-block {
    flex-basis: 50%;
}

.financing-company-modal-tab-block:nth-child(odd) {
    padding-right: 80px;
}

.financing-company-modal-tab-block:nth-child(even) {
    padding-left: 80px;
}

.financing-company-modal-tab-block.success {
    text-align: center;
    padding: 125px 0;
}

.financing-company-modal-tab-block.success .financing-company-modal-tab-block-title.success {
    font-size: 95px;
    margin: 0;
}

.financing-company-modal-tab-block.success .financing-company-modal-tab-block-text.success {
    font-size: 37px;
    margin: 0;
}

.financing-company-modal-tab-block.pending {
    text-align: center;
    padding: 150px 0;
}

.financing-company-modal-tab-block.pending .financing-company-modal-tab-block-text {
    font-size: 58px;
    margin: 0;
}
.financing-company-manual-modal-error,
.financing-company-modal-tab-block.error {
    flex-basis: 100%;
    padding: 0;
    color: red;
}

.financing-company-modal-tab-block.submit {
    padding: 0;
}

.financing-company-modal-tab-label {
    display: block;
    margin-bottom: 30px;
}

select.financing-company-input,
textarea.financing-company-input,
.financing-company-input[type="text"],
.financing-company-input[type="url"],
.financing-company-input[type="email"],
.financing-company-input[type="tel"],
.financing-company-input[type="number"] {
    width: 100%;
    border: 1px solid #707070;
    border-radius: 11px;
    height: 68px;
    background: #fff;
    font-weight: 400;
    font-size: 30px;
    padding: 18px 10px;
    color: #000;
    box-sizing: border-box;
}

textarea.financing-company-input {
    resize: none;
    height: 140px;
}

.financing-company-label.no-valid p {
    color: red;
}

.financing-company-label.no-valid input {
    border-color: red;
    color: red;
}

.financing-company-modal-tab-label p {
    font-size: 30px;
    margin: 0 0 10px !important;
}

#projects-root .financing-company-modal-tab-label .photo-video-button {
    width: 77px;
    height: 70px;
    border-radius: 10px;
    margin-right: 25px;
}

#projects-root .financing-company-modal-tab-label .photo-video-button img {
    top: 10px;
    width: 52px;
    height: 52px;
}

#projects-root .financing-company-modal-tab-label .photo-video-button .photo-video-button-title {
    font-size: 14px;
    text-align: center;
    bottom: 3px;
}

.financing-company-modal-tab-img-thumb {
    width: 126px;
    height: 70px;
    object-fit: contain;
    background-color: white;
    padding: 3px;
}

.financing-company-modal-tab-img-absolute {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 14px;
    width: 126px;
    height: 70px;
    object-fit: contain;
    background-color: white;
}

.financing-company-checkbox-label,
.financing-company-radio-label {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 52px;
    margin-bottom: 24px;
    cursor: pointer;
    font-size: 22px;
    min-height: 42px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.financing-company-checkbox-label {
    padding-left: 64px;
    min-height: 54px;
    font-size: 30px;
}

.financing-company-checkbox-label input,
.financing-company-radio-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.financing-company-input-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 42px;
    width: 42px;
    background-color: #fff;
    border-radius: 50%;
}

.financing-company-checkbox-label .financing-company-input-checkmark {
    height: 54px;
    width: 54px;
    border-radius: 0;
    border: 2px solid #707070;
}

.financing-company-radio-label:hover input ~ .financing-company-input-checkmark {
    background-color: #fff;
}

.financing-company-radio-label input:checked ~ .financing-company-input-checkmark {
    background-color: #fff;
}

.financing-company-input-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.financing-company-checkbox-label input:checked ~ .financing-company-input-checkmark:after,
.financing-company-radio-label input:checked ~ .financing-company-input-checkmark:after {
    display: block;
}

.financing-company-radio-label .financing-company-input-checkmark:after {
    top: 7px;
    left: 7px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1e1e1e;
}

.financing-company-checkbox-label .financing-company-input-checkmark:after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background-image: url('../../imgs/front/check-mark.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.financing-company-no-posts {
    margin-top: 30px;
    font-size: 28px;
    text-align: center;
}

.financing-company-input-label-checkmark {
    font-size: 30px;
}

/* Create Company Modal */
.financing-company-modal-create-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.financing-company-manual-modal-create {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333;
    padding: 75px 25px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 500px;
}

.financing-company-modal-create-close {
    position: absolute;
    top: 25px;
    right: 25px;
}

.financing-company-button.financing-company-button-create {
    margin: 50px auto 0;
}

.financing-company-button.financing-company-button-create-lead {
    margin: 0 0 0 48px;
    padding: 20px 19px;
}

.financing-company-input-file {
    display: none;
}

.financing-company-modal-logo-wrapper {
    display: flex;
}

/* New Financing Application Tab */
.new-financing-application-tab-label {
    display: block;
    font-weight: 400;
    font-size: 39px;
    color: #fff;
    margin-bottom: 27px;
}

.new-financing-application-tab-row {
    display: flex;
    align-items: flex-start;
}

.new-financing-application-tab-select-input {
    position: relative;
    width: 100%;
    border-radius: 10px;
    max-width: 659px;
    background: #656565;
    cursor: pointer;
}

.new-financing-application-tab-select-input-sheet {
    overflow: hidden;
    max-width: 1750px;
    margin-top: 43px;
}

.new-financing-application-tab-select-input.active {
    height: auto;
}

.new-financing-application-tab-select-input p {
    font-weight: 400;
    font-size: 25px;
    color: #fff;
    height: inherit;
    padding: 26px 60px 26px 22px;
    line-height: 1;
    margin: 0 !important;
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.new-financing-application-tab-select {
    display: none;
    margin-top: 0;
}

.new-financing-application-tab-select-inner {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 350px;
}

.new-financing-application-tab-select-input-filter {
    width: calc(100% - 24px);
    border: 1px solid #707070;
    border-radius: 11px;
    height: 42px;
    background: #fff;
    font-weight: 400;
    font-size: 18px;
    padding: 18px 10px;
    color: #000;
    box-sizing: border-box;
    margin: 12px;
}

.new-financing-application-tab-select-ul {
    list-style: none;
    padding: 12px;
}

.new-financing-application-tab-select-input.active .new-financing-application-tab-select {
    display: block;
}

.new-financing-application-tab-select li {
    font-size: 20px;
    margin-bottom: 16px;
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
}

.new-financing-application-tab-select-input-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 26px;
    transform: rotate(-90deg);
    transition: transform 0.2s ease-in-out;
}

.new-financing-application-tab-select-input.active .new-financing-application-tab-select-input-arrow {
    transform: rotate(90deg);
}

.financing-company-modal-tab-block.new-financing-application-form-block {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 100%;
    padding: 0;
    gap: 12px 102px;
}

.financing-company-modal-tab-block.new-financing-application-form-block.no-margin {
    margin: 0;
}

.financing-company-modal-tab-block.new-financing-application-form-block .financing-company-label {
    flex-basis: calc(33.3% - 68px);
}

.financing-company-modal-tab-block.new-financing-application-form-block select {
    background-color: transparent;
    color: #fff;
}

.financing-company-modal-tab-block.new-financing-application-form-block select option {
    color: black;
}

.financing-company-modal-tab-block.new-financing-application-form-block input {
    background-color: transparent;
    color: #fff;
}

.new-financing-application-tab-table {
    border-collapse: collapse;
    width: 100%;
}

.new-financing-application-tab-table thead {
    border-bottom: 1px solid #fff;
}

.new-financing-application-tab-table th {
    font-weight: 400;
    font-size: 29px;
    color: #fff;
}

.new-financing-application-tab-table td,
.new-financing-application-tab-table th {
    padding: 8px;
    text-align: start;
}

.new-financing-application-tab-table td img {
    max-width: 94px;
    width: 100%;
    border-radius: 9px;
    height: 47px;
    object-fit: contain;
    background-color: #fff;
}

.new-financing-application-tab-table td:first-child {
    width: 124px;
}

.new-financing-application-tab-table tr.active {
    background-color: rgba(0,0,0,0.5);
}

.financing-company-modal-tab-block.new-financing-application-form-block .financing-company-label.full-width {
    flex-basis: 100%;
    margin-top: 25px;
}

.financing-company-modal-tab-block.new-financing-application-form-block .financing-company-label.full-width  .financing-company-input-checkmark,
.financing-company-modal-tab-block.new-financing-application-form-block .financing-company-label.full-width  .financing-company-radio-label input:checked ~ .financing-company-input-checkmark {
    background-color: #1e1e1e;
    border: 2px solid #fff;
}

.financing-company-modal-tab-block.new-financing-application-form-block .financing-company-label.full-width .financing-company-radio-label input:checked ~ .financing-company-input-checkmark:after {
    background-color: #fff;
    top: 5px;
    left: 5px;
}

.new-financing-application-current-rate-table {
    width: 100%;
    border-collapse: collapse;
}

.new-financing-application-current-rate-table td:first-child {
    width: 124px;
}

.new-financing-application-current-rate-table img {
    border-radius: 9px;
    width: 94px;
    height: 47px;
    object-fit: contain;
    background-color: #fff;
}

.new-financing-application-current-rate-table td {
    padding: 0 12px;
}

/* Financing Plans To Offer */
.financing-plans-to-offer {
    display: block;
}

.financing-plans-to-offer-header {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #fff;
    margin-bottom: 12px;
}

.financing-plans-to-offer-header-cell {
    position: relative;
    font-weight: 400;
    font-size: 29px;
    color: #fff;
    margin-bottom: 8px;
    align-items: center;
}

.financing-plans-to-offer-header-cell:last-child {
    flex-grow: 1;
}

.financing-plans-to-offer-header-cell:first-child {
    flex-basis: 33.3%;
}

.financing-plans-to-offer-header-cell:nth-child(2) {
    flex-basis: 16.65%;
}

.financing-plans-to-offer-modal-list h3 {
    margin: 0 0 12px !important;
    padding: 0 6px;
}

.financing-plans-to-offer-modal-list .rate-item {
    display: flex;
    padding: 12px 6px;
    margin: 0 !important;
}

.financing-plans-to-offer-modal-list .rate-item.active {
    background-color: #000;
}

.plans-to-offer-list-item {
    padding: 16px;
}

.financing-plans-to-offer-modal-list .rate-item p {
    padding: 0;
}

.financing-plans-to-offer-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    padding: 16px;
}

.financing-plans-to-offer-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0);
    border-radius: 16px;
    padding: 80px 60px 150px;
    max-width: 1370px;
    width: calc(100% - 40px);
    height: 845px;
}

.financing-plans-to-offer-modal-list-wrapper {
    height: calc(100% - 150px);
    overflow-y: auto;
    margin-bottom: 20px;
}

.financing-plans-to-offer-modal h2 {
    text-align: center;
    margin: 0 0 77px;
}

.financing-plans-to-offer-modal label.financing-company-modal-tab-label {
    flex-basis: 100% !important;
    margin-bottom: 0;
}

.delete-offer-code,
.save-offer-code {
    margin: 0 auto;
}

.financing-company-button.rate-item-button {
    margin-top: 0;
    font-weight: 400;
    font-size: 16px;
    padding: 7px 9px;
}

.rate-item-active {
    display: flex;
}

.rate-item-active p {
    padding: 0 6px;
    width: fit-content;
}

.new-financing-application-tab-select-input.no-valid {
    border: 1px solid red;
}

.no-valid .financing-company-input-checkmark {
    border-color: red !important;
}

.financing-plans-to-offer-modal .financing-company-view-modal-close {
    position: absolute;
    left: 20px;
    top: 20px;
    cursor: pointer;
}

.offer-code-item-first-plan {
    display: flex;
}

.offer-code-item {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255, .35);
}

.financing-plans-to-offer-title {
    margin: 49px 0 26px;
}

.financing-plans-to-offer > .new-financing-application-tab-label .info-plan-tooltip {
    margin: 0 0 15px 15px;
}

.financing-plans-to-offer-header-cell .info-plan-tooltip {
    margin: 10px 16px 0 0;
}

.arrow-plan {
    margin-right: 15px;
}

.info-plan-tooltip {
    position: relative;
}

.info-plan-text {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    color: #fff;
    padding: 12px;
    border-radius: 9px;
    font-size: 14px;
    margin: 0;
    min-width: 300px;
    z-index: 3;
}

.financing-plans-to-offer-body .info-plan-text {
    left: 64px;
    top: 50%;
    transform: translate(0, -50%);
}

.financing-plans-to-offer-body .info-plan-text::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right: 6px solid #000;
}

.info-plan-text::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom: 6px solid #000;
}

.financing-plans-to-offer .delete-code,
.financing-plans-to-offer .edit-code {
    position: absolute;
    top: 32%;
    left: 0
}

.financing-plans-to-offer .delete-code {
    left: 120px;
}

.financing-plans-to-offer-body .financing-plans-to-offer-header-cell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
}

.financing-plans-to-offer-footer .financing-company-button {
    margin: 74px auto 0;
}

.financing-plans-to-offer-delete-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.financing-plans-to-offer-modal-description {
    font-size: 24px;
}

.financing-plans-to-offer-modal-list-rate {
    max-width: 645px;
    width: 100%;
    list-style-type: none;
    padding-left: 0;
}

.financing-plans-to-offer-modal-list-rate h3 {
    font-size: 33px;
    margin: 17px 0 19px;
}

.financing-plans-to-offer-modal-list-rate .rate-item {
    display: flex;
    margin-bottom: 9px;
}

.financing-plans-to-offer-modal-list-rate .rate-item p:first-child,
.financing-plans-to-offer-modal-list-rate .rate-item p:nth-child(2) {
    flex-basis: 40%;
}

.financing-application-list-block-wrapper {
    position: relative;
    padding-left: 110px;
}

.financing-application-list-block {
    border-collapse: collapse;
    width: 100%;
}

.financing-application-list-block thead {
    border-bottom: 1px solid rgba(255,255,255, .35);
}

.financing-application-list-block tr td,
.financing-application-list-block tr th {
    font-size: 20px;
    text-align: start;
    font-weight: 400;
}

.financing-application-list-block tr th {
    margin-bottom: 8px;
}

.financing-application-list-block tbody tr td{
    position: relative;
    padding: 25px 6px;
}

.financing-application-list-block tbody img {
    position: absolute;
    top: 50%;
    left: -110px;
    transform: translateY(-50%);
    width: 100px;
    border-radius: 13px;
}

.financing-af-search {
    display: flex;
}

.financing-af-search input {
    border-radius: 10px;
    max-width: 613px;
    width: 100%;
    height: 67px;
    background: #656565;
    font-weight: 400;
    font-size: 31px;
    color: rgba(255,255,255, .49);
    padding: 15px 27px;
    border: unset;
}

.financing-af-search-button {
    display: block;
    border: 1px solid #707070;
    border-radius: 13px;
    height: 67px;
    font-size: 39px;
    color: #000;
    padding: 10px 50px;
    margin-left: -10px;
}

.financing-application-navigation-block {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-left: 125px;
    margin-bottom: 72px;
    padding-right: 94px;
    gap: 20px;
}

.financing-application-navigation-block .new-financing-application-tab-select-input {
    max-width: 330px;
}

.financing-application-navigation-block .new-financing-application-tab-select-input  p {
    padding: 21px 60px 21px 22px;
}

.reload-loan-application {
    display: flex;
    align-items: center;
    padding: 10px 26px 10px 14px;
    border-radius: 28px;
    height: 56px;
    color: #000;
}

.reload-loan-application img {
    margin-right: 12px;
}

.reload-loan-application span {
    font-size: 29px;
}

.request-payment-button {
    font-weight: 400;
    font-size: 22px;
    color: #000;
    padding: 15px 27px;
    border: 1px solid #707070;
    border-radius: 28px;
    z-index: 90;
}

.request-payment-button.small {
    padding: 10px 12px;
    font-size: 16px;
}

.request-payment-loan-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, .61);
    z-index: 100;
    padding: 16px;
}

.request-payment-loan-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000;
    border-radius: 37px;
    max-width: 1300px;
    width: calc(100% - 32px);
    padding: 87px 78px 115px 114px;
}

.request-payment-loan-body-title {
    text-align: center;
    font-weight: 400;
    font-size: 39px;
    color: #fff;
    margin-bottom: 79px;
}

.request-payment-loan-description {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.request-payment-loan-description img {
    width: 137px;
    height: 68px;
    border-radius: 13px;
    margin-right: 50px;
}

.request-payment-loan-description-text {
    font-weight: 400;
    font-size: 29px;
    color: #fff;
    margin: 0;
}

.request-payment-loan-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.request-payment-loan-form.full-width {
    flex-direction: column;
}

.request-payment-loan-pay-request {
    max-width: 432px;
    margin-right: 34px;
}

.request-payment-loan-form.full-width .request-payment-loan-pay-request {
    margin-right: 0;
    max-width: 100%;
    width: 100%;
}

.request-payment-loan-button {
    margin: 73px auto 0;
    flex-basis: 100%;
    border: 1px solid #707070;
    border-radius: 28px;
    max-width: 657px;
    height: 151px;
    background: #24ed2c;
    font-weight: 400;
    font-size: 76px;
    color: #000;
}

.request-payment-loan-close {
    position: absolute;
    top: 32px;
    left: 32px;
}

.request-payment-loan-pay-request input.financing-company-input[type="text"] {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.request-payment-loan-success {
    text-align: center;
}

.request-payment-loan-success h2 {
    font-size: 48px;
    margin-bottom: 0;
}

.request-payment-loan-success p {
    font-size: 28px;
    font-weight: 400;
}

.all-transaction-table {
    min-width: 1500px;
}

.api-server-error-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.api-server-error {
    color: red;
    text-align: center;
    font-weight: 700;
}

.financing-company-change-payment-details-form .financing-company-modal-tab-block {
    padding: 0 !important;
    margin: 0 auto;
}

.financing-company-change-payment-details-form .financing-company-modal-tab-label p {
    text-align: start;
}

.spinner-space {
    margin-top: 16px;
}

.no-data td {
    text-align: center !important;
}

.financing-view-statuses {
    font-weight: 400;
    font-size: 32px;
    color: #000;
    padding: 20px 40px;
    background: #fff;
    max-width: 479px;
    border: 1px solid #707070;
    border-radius: 28px;
    margin-top: 60px;
}

.financing-company-label-title {
    position: absolute;
    top: 0;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
    max-width: 708px;
    width: 100%;
}

.financing-company-manual-create-plan {
    padding-top: 55px;
}

.financing-company-manual-create-plan .financing-company-modal-tab-block:nth-child(odd) {
    padding-right: 0;
    flex-basis: 100%;
}

.financing-company-manual-create-plan .financing-company-modal-tab-label p {
    position: relative;
    width: fit-content;
}

.financing-company-manual-create-plan .financing-company-modal-tab-label p > img {
    position: absolute;
    right: -22px;
    top: -11px;
}

.financing-company-manual-create-plan .financing-company-modal-tab-label p > .info-plan-tooltip {
    position: absolute;
    bottom: 0;
    right: -54px;
}

.financing-company-manual-create-plan .financing-company-modal-tab-label p > img + .info-plan-tooltip {
    right: -76px;
}

.financing-company-manual-create-plan .financing-company-modal-tab-label input[type="text"],
.financing-company-manual-create-plan .financing-company-modal-tab-label input[type="url"],
.financing-company-manual-create-plan .financing-company-modal-tab-label select,
.financing-company-manual-create-plan .financing-company-modal-tab-label textarea,
.financing-company-manual-create-plan .financing-company-modal-tab-label input[type="number"] {
    max-width: 708px;
    width: 100%;
}

.financing-company-button-add-plan {
    display: flex;
    align-items: center;
    font-size: 35px;
    padding: 9px 13px;
    margin: 30px 0 0;
    border: 1px solid #707070;
    border-radius: 13px;
}

.financing-company-button-add-plan img {
    margin-right: 21px;
}

.financing-company-modal-tab-table-wrapper {
    overflow-x: auto;
}

.financing-company-modal-tab-table {
    margin-top: 50px;
    min-width: 1740px;
    width: 100%;
    border-collapse: collapse;
}

.financing-company-modal-tab-table td:not(:last-child) {
    padding-right: 12px;
}

.financing-company-modal-tab-table tr {
    border-bottom: 1px solid #fff;
}

.financing-company-modal-tab-table thead th {
    padding-bottom: 12px;
}

.financing-company-modal-tab-table tbody td {
    padding: 36px 0 30px;
    font-size: 24px;
}

.financing-company-modal-tab-table tbody td p {
    font-size: inherit;
    margin: 0 !important;
}

.financing-company-modal-tab-table thead th {
    font-size: 37px;
    text-align: start;
}

.financing-company-modal-block {
    width: 100%;
}

.edit-button {
    font-weight: 400;
    font-size: 29px;
    color: #71fd6f;
    background-color: rgba(113,253,111, .3);
    padding: 12px 40px;
    border: unset;
}

.no-plans {
    text-align: center;
}

.financing-company-loan-amount {
    font-size: 54px;
    margin: 0 !important;
}

.financing-company-button.green-submit {
    padding: 29px 30px !important;
    background-color: #24ed2c;
    margin: 43px auto 0 !important;
    font-weight: 700;
    font-size: 45px;
}

.choose-lead-dropdown {
    margin-bottom: 50px;
}

@media (max-width: 1850px) {
    .financing-company-view-modal {
        padding: 20px;
    }
}

@media (max-width: 1650px) {
    .financing-application-list-block-wrapper {
        padding-left: 0;
        overflow-x: scroll;
    }
}

@media (max-width: 1400px) {
    .financing-application-navigation-block {
        padding: 0 !important;
    }

    .financing-application-list-block {
        width: 1650px;
    }

    .financing-application-list-block tbody img {
        position: static;
        transform: unset;
        margin: 0 12px -13px 0;
    }
}

@media (max-width: 1024px) {
    .financing-companies-page-block-title {
        font-size: 24px;
    }

    .financing-company-item {
        padding: 16px;
    }

    .financing-company-item > img {
        height: auto;
    }

    .financing-companies-page-block:first-child {
        padding-right: 29px;
    }

    .financing-companies-page-block:last-child {
        padding-left: 30px;
    }

    .financing-company-button {
        border-radius: 16px;
        font-size: 20px;
        padding: 10px 11px;
    }

    .financing-company-button.financing-company-button-add-manual-proj {
        flex-basis: 100%;
    }

    .financing-company-modal-tab-label p {
        font-size: 20px;
    }

    .financing-company-modal-tab-block:nth-child(odd) {
        padding-right: 30px;
    }

    .financing-company-modal-tab-block:nth-child(even) {
        padding-left: 30px;
    }

    .financing-company-manual-tab-item:not(:last-child) {
        margin-right: 30px;
    }

    .financing-company-modal-tab-block.success .financing-company-modal-tab-block-text.success {
        font-size: 32px;
        margin: 0;
    }

    .financing-company-modal-tab-block.new-financing-application-form-block {
        gap: 12px 40px;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .financing-company-modal-tab-block.new-financing-application-form-block .financing-company-label {
        flex-basis: calc(33.3% - 30px);
    }

    .new-financing-application-tab-label {
        font-size: 24px;
    }

    .new-financing-application-tab-row {
        flex-direction: column;
    }

    .financing-company-button.financing-company-button-create-lead {
        margin: 20px 0 0 0;
        padding: 10px 12px;
    }

    .new-financing-application-tab-table th {
        font-size: 18px;
    }

    .new-financing-application-current-rate-table td {
        padding: 0 6px;
        font-size: 14px !important;
    }

    .financing-plans-to-offer-modal {
        padding: 50px 50px 80px;
        height: 700px;
    }

    .financing-plans-to-offer-header-cell {
        font-size: 20px;
    }

    .info-plan-icon {
        width: 32px;
        height: 32px;
    }

    .arrow-plan {
        width: 32px;
        height: 32px;
    }

    .financing-plans-to-offer-body .info-plan-text {
        left: 45px;
    }

    .financing-plans-to-offer .delete-code,
    .financing-plans-to-offer .edit-code {
        width: 40px;
        height: 40px;
        top: 40%;
    }

    .financing-plans-to-offer .delete-code {
        left: 82px;
    }

    .financing-plans-to-offer-footer .financing-company-button {
        margin-top: 40px;
    }

    .financing-company-manual-tab-item {
        font-size: 20px;
    }

    .financing-company-manual-tab-list {
        padding: 36px 0 8px !important;
    }

    .financing-application-navigation-block {
        flex-wrap: wrap;
    }

    .request-payment-loan-body {
        padding: 50px 50px 80px;
    }

    .request-payment-loan-body-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .request-payment-loan-description-text {
        font-size: 20px;
    }

    .request-payment-loan-description {
        justify-content: flex-start;
        margin-bottom: 40px;
    }

    .request-payment-loan-description img {
        width: 100px;
        margin-right: 20px;
    }

    .request-payment-loan-pay-request {
        max-width: 100%;
        width: 100%;
        margin-right: 0;
    }

    .request-payment-loan-form .new-financing-application-tab-select-input {
        max-width: 100%;
    }

    .request-payment-loan-button {
        margin: 40px auto 0;
        font-size: 34px;
        max-width: 350px;
        height: 90px;
    }

    .financing-company-input-label-checkmark {
        font-size: 20px;
    }

    .financing-company-modal-tab-table thead th {
        font-size: 22px;
    }

    .financing-company-modal-tab-table tbody td  {
        font-size: 18px;
        padding: 18px 0;
    }

    .financing-company-loan-amount {
        font-size: 32px;
    }

    .financing-company-button.green-submit {
        padding: 10px 12px !important;
        margin: 30px auto 0 !important;
        font-size: 20px;
    }

    .choose-lead-dropdown {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .financing-companies-page-block {
        flex-basis: 100%;
    }

    .financing-companies-page-block:first-child {
        border-right: unset;
        border-bottom: 1px solid #FFFFFF;
        padding-right: 0;
        padding-bottom: 30px;
    }

    .financing-companies-page-block:last-child {
        padding-top: 30px;
        padding-left: 0;
    }

    .financing-company-view-modal {
        padding: 20px;
    }

    .financing-company-manual-create-plan .financing-company-modal-tab-label select,
    .financing-company-modal-tab-block.new-financing-application-form-block select,
    .financing-company-input[type="text"],
    .financing-company-input[type="email"],
    .financing-company-input[type="tel"],
    .financing-company-input[type="url"],
    .financing-company-input[type="number"] {
        height: 48px;
        font-size: 20px;
        padding: 10px;
    }

    .financing-company-modal-tab-block {
        flex-basis: 100%;
    }

    .financing-company-modal-tab-block:nth-child(odd) {
        padding-right: 0;
    }

    .financing-company-modal-tab-block:nth-child(even) {
        padding-left: 0;
    }

    .financing-company-button-save {
        margin: 0;
    }

    .financing-company-manual-modal-create {
        min-width: 300px;
    }

    .financing-company-modal-tab-block.pending .financing-company-modal-tab-block-text {
        font-size: 32px;
        margin: 0;
    }

    .financing-company-modal-tab-block.success .financing-company-modal-tab-block-title.success {
        font-size: 32px;
        margin: 0;
    }

    .financing-company-modal-tab-block.success .financing-company-modal-tab-block-text.success {
        font-size: 16px;
        margin: 0;
    }

    .financing-company-modal-tab-block.new-financing-application-form-block .financing-company-label {
        flex-basis: 100%;
    }

    .new-financing-application-tab-select-input p {
        font-size: 18px;
        color: #fff;
        height: inherit;
        padding: 12px 45px 12px 20px;
    }

    .new-financing-application-tab-select-input-arrow {
        width: 16px;
        top: 10px;
    }

    .new-financing-application-tab-select-input.active .new-financing-application-tab-select {
        overflow-x: scroll;
        max-width: calc(100vw - 40px);
    }

    .new-financing-application-tab-table td img {
        width: 94px;
    }

    .new-financing-application-tab-table {
        width: 768px;
    }

    .new-financing-application-current-rate-table td:first-child {
        display: none;
    }

    .new-financing-application-tab-select-input-sheet {
        margin-top: 24px;
    }

    .financing-plans-to-offer-header-cell:nth-child(2),
    .financing-plans-to-offer-header-cell:first-child {
        flex-basis: 40%;
    }

    .financing-plans-to-offer-header-cell:last-child {
        flex-basis: 20%;
    }

    .info-plan-text{
        left: unset;
        right: -12px;
        transform: initial;
        width: 180px;
        min-width: unset;
    }

    .info-plan-text::after {
        right: 17px;
        left: unset;
        transform: initial;
    }

    .financing-plans-to-offer-body .info-plan-text {
        left: 35px;
    }

    .financing-plans-to-offer-body .info-plan-text::after {
        left: -12px;
        right: unset;
    }

    .arrow-plan {
        width: 24px;
        height: 24px;
    }

    .info-plan-icon {
        width: 24px;
        height: 24px;
    }

    .offer-code-item {
        position: relative;
        flex-wrap: wrap;
        padding-bottom: 50px;
    }

    .rate-item {
        padding-bottom: 13px;
    }

    .offer-code-item-first-plan {
        flex-wrap: wrap;
    }


    .financing-plans-to-offer-header-cell:first-child {
        flex-basis: 70%;
    }

    .financing-plans-to-offer-header-cell:nth-child(2) {
        flex-basis: 30%;
    }

    .financing-plans-to-offer-header-cell {
        position: static;
    }

    .financing-plans-to-offer .delete-code,
    .financing-plans-to-offer .edit-code {
        width: 32px;
        height: 32px;
        top: unset;
        bottom: 8px;
        left: 40%;
        transform: translateX(-50%);
    }

    .delete-code-rate {
        width: 32px;
        height: 32px;
        margin: 0 auto;
    }

    .financing-plans-to-offer .delete-code {
        left: calc(40% + 50px);
    }

    .financing-plans-to-offer-header-cell {
     font-size: 16px;
    }

    .arrow-plan {
        margin-right: 8px;
    }

    .financing-plans-to-offer-header-cell .info-plan-tooltip {
        margin: 10px 10px 0 0;
    }

    .financing-plans-to-offer-modal {
        padding: 48px 16px 20px;
        height: 535px;
    }

    .financing-plans-to-offer-modal h2 {
        margin: 0 0 38px;
    }

    .new-financing-application-tab-label {
        font-size: 22px;
    }

    .financing-company-view-modal-close img {
        width: 22px;
        height: 36px;
    }


    .new-financing-application-tab-select-input-sheet p:first-child {
        padding: 8px 0 8px 6px
    }

    .new-financing-application-tab-select-input-sheet p {
        padding: 8px 18px 8px 6px;
        font-size: 14px;
        height: 40px;
    }

    .new-financing-application-tab-select-input-sheet > p:first-child {
        padding: 8px 40px 8px 6px;
    }

    .financing-plans-to-offer-modal .new-financing-application-tab-select-ul {
        padding: 0;
        margin: 0;
    }

    .financing-plans-to-offer-modal .new-financing-application-tab-select-ul h3 {
        font-size: 14px;
    }

    .financing-plans-to-offer-modal .new-financing-application-tab-select-ul li {
        padding: 8px;
    }

    .financing-plans-to-offer-modal-list .rate-item {
        flex-direction: column;
        border-bottom: 1px solid rgba(255,255,255, .35);
    }

    .financing-plans-to-offer-modal-list .rate-item p {
        height: auto !important;
        padding: 6px !important;
    }

    .financing-plans-to-offer-modal .financing-company-view-modal-close {
        left: 8px;
        top: 8px;
    }

    .financing-company-modal-tab-img-absolute {
        top: 0;
        width: 110px;
        height: 50px;
    }

    .financing-af-search input {
        font-size: 18px;
        height: 60px;
        padding: 12px 18px;
    }

    .financing-af-search-button {
        height: 60px;
        font-size: 18px;
        padding: 10px 20px;
    }

    .financing-application-list-block tr td, .financing-application-list-block tr th {
        font-size: 16px;
    }

    .financing-application-list-block tbody tr td {
        padding: 16px 6px;
    }

    .financing-application-list-block tbody img {
        width: 70px;
        border-radius: 8px;
    }

    .financing-application-list-block {
        width: 768px;
    }

    .financing-application-list-block.all-transaction-table {
        min-width: initial;
        width: 1150px;
    }

    .request-payment-button {
        font-size: 18px;
        padding: 10px 15px;
    }

    .financing-application-navigation-block {
        margin-bottom: 45px;
    }

    .request-payment-loan-body {
        padding: 48px 16px 20px;
        height: 535px;
        overflow-y: auto;
    }

    .request-payment-loan-body-title {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .request-payment-loan-description-text {
        font-size: 16px;
    }

    .request-payment-loan-close {
        top: 16px;
        right: 16px;
    }

    .request-payment-loan-description {
        flex-direction: column;
        text-align: center;
    }

    .request-payment-loan-description img {
        margin-right: 0;
        height: 50px;
        margin-bottom: 12px;
    }

    .request-payment-loan-description {
        margin-bottom: 24px;
    }

    .request-payment-loan-button {
        margin: 24px auto 0;
        height: 65px;
    }

    .request-payment-loan-pay-request .request-payment-loan-popup input.financing-company-input[type="text"] {
        height: 42px;
    }

    .request-payment-loan-popup .financing-company-modal-tab-label {
        margin-bottom: 20px;
    }

    .financing-company-modal-tab-block.success {
        padding: 40px 0 60px;
    }

    .financing-view-statuses {
        margin-top: 30px;
        font-size: 24px;
        padding: 15px 20px;
    }

    .financing-company-view-modal.financing-company-view-modal-edit-plan {
        padding: 20px 0;
    }

    .financing-company-label-title {
        position: static;
        top: unset;
        left: unset;
        transform: unset;
    }

    .financing-company-manual-create-plan .financing-company-modal-tab-label p > img {
        position: relative;
        right: 0;
        top: 0;
        margin-right: 6px;
    }

    .financing-company-manual-create-plan .financing-company-modal-tab-label p > .info-plan-tooltip {
        position: relative;
        right: 0 !important;
        margin-left: 6px;
    }

    .financing-company-manual-create-plan {
        padding-top: 25px;
    }

    .financing-company-modal-tab-table {
        min-width: 768px;
    }

    .financing-company-modal-tab-th-branch {
        width: 300px;
    }

    .financing-company-button-add-plan img {
        margin-right: 12px;
    }

    .edit-button {
        padding: 12px 20px;
    }
}
/* End Financing Companies View */

/* Loading Modal */
.component-is-loading-modal-react {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: #1e1e1e;
}
/* End Loading Modal */

/* Customers View */
.customers-container,
.vouchers-page {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 20px 150px 20px;
    overflow-x: auto;
}

#projects-root:has(.customers-content) #popup-create-lead {
    background-color: rgba(255, 255, 255, 0.85);
}

.customers-table {
    width: 100%;
    border-collapse: collapse;
}

.customers-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.customers-header h1 {
    margin-right: 12px;
    margin-bottom: 0;
    font-size: 46px;
    font-weight: 400;
    margin-top: 0;
}

.create-customer-button {
    padding: 10px;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.create-customer-button span {
    font-size: 21px;
    color: #000;
}

.create-customer-button img {
    width: 27px;
    height: 27px;
    display: block;
    margin-right: 8px;
}

.customers-table tr svg {
    width: 28px;
    height: 28px;
}

.customers-table tr span {
    vertical-align: middle;
}

.customers-table th,
.customers-table td {
    padding: 20px 10px;
    border-bottom: 1px solid #ffffff;
    text-align: left;
    font-size: 19px;
    font-family: 'Roboto', sans-serif;
}

.customers-table th {
    font-weight: 700;
    font-size: 29px;
    white-space: nowrap;
    color: white;
    padding: 8px 12px;
    transition: background 0.1s ease-in-out;
}

.customers-table th:last-child:hover  {
    background: inherit;
}

.customers-table th:hover {
    background: #303030;
}

.customers-table button {
    background-color: #224C21;
    border-radius: 4px;
    border: none;
    color: #71FD6F;
    cursor: pointer;
    font-size: 23px;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    padding: 8px 20px;
    min-width: 80px;
}

.customers-table button:hover {
    background-color: #2f602c;
}

.customers-table td:last-child {
    white-space: nowrap;
}


.customers-table .lead-name-button {
    transition: color 0.1s ease-in-out;
}


.customers-table .lead-name-button:hover {
    color: #acc3ac;
    cursor: pointer;
    display: inline-block;
}

.edit-lead-modal .demographic-popup {
    text-align: center;
    margin-top: 30px;
}


@media (max-width: 1024px) {
    .customers-table th,
    .customers-table td {
        font-size: 16px;
        padding: 12px 8px;
    }

    .customers-table th {
        font-size: 20px;
    }

    .customers-table button {
        font-size: 18px;
        padding: 8px 18px;
    }

    .customers-table tr svg {
        width: 20px;
        height: 20px;
    }

    .customers-header h1 {
        font-size: 30px;
    }

    .create-customer-button {
        padding: 10px;
    }

    .create-customer-button span {
        font-size: 16px;
    }

    .create-customer-button img {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 768px) {
    .customers-container {
        padding: 15px 25px 100px 25px;
    }

    .customers-header h1 {
        font-size: 32px;
        text-align: center;
    }

    .customers-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .customers-table th,
    .customers-table td {
        font-size: 14px;
        padding: 10px 6px;
    }

    .customers-table button {
        font-size: 16px;
        padding: 6px 12px;
    }
}


@media (max-width: 440px) {
    .customers-header {
        display: flex;
        flex-direction: column;
    }

    .customers-header h1 {
        margin-bottom: 10px;
    }
}

/* End Customers View */



/* Search Bar */
#projects-root .search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

#projects-root .search-input {
    padding-right: 30px;
}

#projects-root button.clear-button {
    position: absolute;
    right: 100px;
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
    line-height: 1;
    color: #fff;
}

/* End Search Bar */


/* Customers View modal overlay */
.edit-lead-modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
}


#projects-root .edit-lead-modal-backdrop ~ .project-details.show {
   z-index: 9999 !important;
}

#projects-root .edit-lead-modal-backdrop ~ .lightbox {
    z-index: 2147483645 !important;
}

#projects-root .edit-lead-modal-backdrop ~ .project-form {
    z-index: 9999 !important;
}

#projects-root .edit-lead-modal-backdrop .create-button {
    padding: 10px 20px !important;
    border-radius: 13px !important;
    font-size: 21px !important;
    border: none !important;
    cursor: pointer !important;
    background-color: #FFFFFF !important;
    color: #000000 !important;
    margin-bottom: 40px  !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#projects-root .edit-lead-modal-backdrop .create-button  img {
    width: 27px;
    height: 27px;
    display: block;
    margin-right: 8px;
}

.edit-lead-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.edit-lead-form .row-1,
.edit-lead-form .row-2,
.edit-lead-form .row-3 {
    display: grid;
    gap: 19px;
}

.edit-lead-modal {
    position: absolute;
    background: #000000;
    color: #fff;
    z-index: 9999;
    width: 100%;
    box-sizing: border-box;
    padding: 30px 80px;
    overflow-y: auto;
    height: 100%;
}


.edit-lead-form form {
    display: flex;
}

.edit-lead-form label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 18px;
    font-family: Roboto, sans-serif;
}

.edit-lead-form input,
.edit-lead-form select {
    padding: 13px 15px;
    border-radius: 10px;
    border: none;
    background-color: #ffffff;
    color: #000000;
    font-size: 30px;
    margin-top: 5px;
    box-sizing: border-box;
    width: 100%;
    font-family: Roboto, sans-serif;
}

.edit-lead-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><polyline points="8,12 16,20 24,12" stroke="black" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 32px;
    padding-right: 40px;
    cursor: pointer;
}

.edit-lead-modal .close-modal-button {
    position: absolute;
    top: 0;
    right: 10px;
    background: none;
    border: none;
    font-size: 80px;
    color: #fff;
    cursor: pointer;
    line-height: 0.8;
    box-sizing: border-box;
    padding: 0;
}


.edit-lead-form .branch-dropdown-wrapper {
    position: relative;
    display: inline-block;
    min-width: 200px;
}

.edit-lead-form .branch-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 0 0 1px #ccc;
    user-select: none;
    padding: 13px 15px;
    border-radius: 10px;
    border: none;
    background-color: #ffffff;
    color: #000000;
    font-size: 30px;
    margin-top: 5px;
    box-sizing: border-box;
    width: auto;
    min-width: 150px;
    max-width: 100%;
    font-family: Roboto, sans-serif;
}

.edit-lead-form .branch-dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><polyline points="8,12 16,20 24,12" stroke="black" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: auto;
    flex-shrink: 0;
}

.edit-lead-form .branch-dropdown-content {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    /*padding: 10px;*/
    z-index: 10;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    color: #000;
}

.edit-lead-form .branch-dropdown-content label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    padding: 7px 10px;
    flex-direction: row;
    cursor: pointer;
}

.edit-lead-form .branch-dropdown-content input  {
    width: inherit;
    min-width: inherit;
    max-width: inherit;
}

.edit-lead-form .branch-dropdown-content input[type="checkbox"] {
    accent-color: black;
}

.edit-lead-modal .tabs-container {
    margin-top: 30px;
    margin-bottom: 10px !important;
}

.edit-lead-modal .project-card {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    background: #393939;
    color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: Roboto, sans-serif;
}

.edit-lead-modal .project-card img {
    width: 100%;
    height: 157px;
    object-fit: cover;
    border-radius: 4px;
}

.edit-lead-modal .project-card h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 400;
}

.edit-lead-modal .project-card p {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.edit-lead-modal .open-btn  {
    margin-top: auto;
    background: #4A7549;
    color: #71FD6F;
    border: none;
    padding: 10px 0;
    border-radius: 4px;
    cursor: pointer;
}

.edit-lead-modal .project-thumb {
    margin-bottom: 10px;
}

.edit-lead-modal .projects-grid  {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 35px;
    justify-content: start;
}



/* Desktop (>= 1025px) */
@media (min-width: 1025px) {
    .edit-lead-form .row-1 {
        grid-template-columns: repeat(4, minmax(150px, auto));
    }

    .edit-lead-form .row-2 {
        grid-template-columns: repeat(5, minmax(150px, auto));
    }

    .edit-lead-form .row-3 {
        grid-template-columns: auto;
        display: flex;
        align-items: flex-end;
    }
}

/* Tablet (768px — 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .edit-lead-form .row-1 {
        grid-template-columns: repeat(2, 1fr);
    }

    .edit-lead-form .row-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .edit-lead-form .row-3 {
        grid-template-columns: 1fr;
    }
}

/* Tablet (1024px) */
@media (max-width: 1024px) {
    .edit-lead-form .row-1,
    .edit-lead-form .row-2,
    .edit-lead-form .row-3 {
        width: 100%;
    }

    .edit-lead-modal {
        padding: 30px 50px;
    }
}

/* Mobile (<= 767px) */
@media (max-width: 767px) {
    .edit-lead-form {
        gap: 16px;
        width: 100%;
    }

    .edit-lead-form .row-1,
    .edit-lead-form .row-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .edit-lead-modal {
        padding: 30px;
    }

    .edit-lead-form input,
    .edit-lead-form select,
    .edit-lead-form .branch-dropdown-toggle {
        font-size: 20px;
    }

    .edit-lead-form .branch-dropdown-toggle {
        padding-top: 9px;
        padding-bottom: 9px;
    }
}

/* End Customers View modal overlay */


/* Sort Projects */
#projects-root .controls .sort-container {
    position: relative;
    display: inline-block;
    margin-left: auto;
}

#projects-root .controls .sort-button {
    padding: 6px 12px;
    font-size: 21px;
    border: none;
    border-radius: 10px;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-right: 0;
}

#projects-root .controls .sort-button::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><polyline points="8,12 16,20 24,12" stroke="black" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: auto;
    flex-shrink: 0;
}

#projects-root .controls .sort-dropdown {
    position: absolute;
    top: 100%;
    left: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    width: 180px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
}

#projects-root .controls .sort-dropdown div {
    padding: 8px 12px;
    cursor: pointer;
    color: #000;
}

#projects-root .controls .sort-dropdown div:hover {
    background-color: #f0f0f0;
    border-radius: 10px;
}


@media (max-width: 1024px) {
    #projects-root .controls .sort-button,
    #projects-root .controls button {
        font-size: 16px;
    }

    #projects-root .controls .sort-dropdown {
        left: -10px;
    }

    #projects-root .controls button {
        padding: 10px 15px;
    }

    #projects-root .controls .sort-button {
        padding: 3px 12px;
    }
}


@media (max-width: 700px) {
    #projects-root .controls  .sort-button {
        margin: 10px auto 0;
    }

    #projects-root .controls  .sort-container {
        margin-left: 0;
    }

    #projects-root .controls .sort-dropdown {
        left: 0;
    }

}

/* End Sort Projects */

/* Lightbox notes */
.lightbox-notes {
    position: relative;
    display: block;
    background-color: rgba(255, 255, 255, 0.95);
    color: #000;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    margin: 0 auto 0.5em;
    border-radius: 4px;
    width: 70%;
    max-width: 600px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.lightbox-notes__inner {
    max-height: 25vh;
    overflow-y: auto;
    padding: 0.75em 1em;
    box-sizing: border-box;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.lightbox-notes::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    border-radius: 4px;
    width: 100%; height: 2em;
    background: linear-gradient(
            to bottom,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.95) 100%
    );
    pointer-events: none;
}

/* End Lightbox notes */


/* Voucher Project */

.voucher-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vouchers-page h1 {
    font-size: 46px;
    margin-right: 20px;
    margin-top: 0;
}

.vouchers-page .popup-create-lead-wrap,
.vouchers-page .project-form-wrap   {
    background-color: #111111 !important;
    border: 1px solid #fff;
}

.vouchers-page .popup-create-lead-wrap input,
.vouchers-page .popup-create-lead-wrap select,
.vouchers-page .project-form-wrap input,
.vouchers-page .project-form-wrap select {
    background-color: #656565 !important;
    color: #fff !important;
}

.vouchers-page .popup-create-lead-wrap .hicrm-button-black,
.vouchers-page .project-form-wrap .hicrm-button-black {
    background-color: #24ED2C !important;
    color: black !important;
    font-weight: bold !important;
    font-family: 'Roboto', sans-serif !important;
}

.vouchers-page .vouchers-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.vouchers-page .vouchers-header-content {
    display: flex;
    align-items: baseline;
}

.vouchers-page .voucher-logo {
    width: 100%;
    max-width: 151px;
    object-fit: contain;
}

.modal-overlay.full-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.voucher-modal-popup {
    background: #111;
    width: 75%;
    max-width: 1121px;
    /*height: 90vh;*/
    max-height: 650px;
    color: #fff;
    border-radius: 36px;
    padding: 30px 60px;
    display: flex;
    flex-direction: column;
    border: 1px solid #fff;
    font-size: 32px;
    position: relative;
}

.voucher-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 40px;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}

.voucher-modal-title {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.voucher-modal-close {
    font-size: 80px;
    background: none;
    color: #fff;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 0;
    box-sizing: border-box;
    padding: 0;
    line-height: 0.8;
}

.voucher-modal-popup input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-right: 8px;
    margin-left: 0;
    vertical-align: baseline;
}

.voucher-modal-popup input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 26px;
    background-color: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.voucher-section .voucher-logo {
    margin-bottom: 50px;
}

.voucher-modal-body {
    flex: 1;
    overflow-y: auto;
}

.voucher-modal-body.voucher-modal-confirmation {
    text-align: center;
}

.voucher-modal-line {
    margin-bottom: 60px;
}

.voucher-radio-group {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.voucher-radio-label {
    margin-bottom: 20px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
}

.voucher-modal-footer {
    text-align: center;
    margin-top: 20px;
}

.voucher-status-label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    font-size: 18px;
    text-align: right;
}

.status-sent {
    color: #71FD6F;
}

.status-cancelled {
    color: #e34949;
}


.confirm-voucher-btn.green {
    background-color: #24ED2C;
    color: black;
    padding: 10px 30px;
    font-weight: bold;
    font-size: 53px;
    border: none;
    border-radius: 28px;
    cursor: pointer;
}


.register-voucher-btn {
    padding: 10px;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.register-voucher-btn span {
    font-size: 21px;
    color: #000;
}

.register-voucher-btn img {
    width: 27px;
    height: 27px;
    display: block;
    margin-right: 8px;
}


.voucher-info-table {
    font-size: 14px;
    color: #ffffff;
    width: 100%;
    border-collapse: collapse;
}


.voucher-info-table th, .voucher-info-table td {
    padding: 12px 15px;
    text-align: left;
    font-size: 19px;
    font-family: 'Roboto', sans-serif;
}


.voucher-info-table thead {
    border-bottom: 1px solid #fff;
}

.vouchers-page .voucher-info-table td {
    border-bottom: 1px solid #fff;
}


.voucher-actions {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.send-voucher-btn {
    background-color: #224D21;
    color: #71FD6F;
    padding: 10px 70px 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.send-voucher-btn:hover {
    background-color: #218838;
}

.cancel-voucher-btn {
    background-color: #4D0000;
    color: #FD6F9B;
    padding: 10px 70px 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cancel-voucher-btn:hover {
    background-color: #7f040e;
}

.voucher-info-table thead th {
    font-size: 29px;
    padding: 5px 8px;
}

.voucher-info-table th,
.voucher-info-table td {
    padding: 18px 8px;
    text-align: left;
    vertical-align: baseline;
}


.vouchers-page .voucher-info-table th,
.vouchers-page .voucher-info-table td {
    vertical-align: middle;
}

.voucher-info-table .send-voucher-btn,
.voucher-info-table .cancel-voucher-btn {
    font-size: 23px;
}

.voucher-actions-stacked {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-end;
}

.voucher-tab-select-ul {
    margin-top: 0;
    padding-left: 20px;
}

.vouchers-page .voucher-row {
    display: flex;
    align-items: flex-start;
}

.vouchers-page .voucher-row  .add-new-btn {
    height: 100%;
    border-radius: 55px;
    font-size: 20px;
    padding: 15px;
    font-weight: 600;
    line-height: 1;
    background-color: #fff;
}

.vouchers-page  .voucher-row .new-financing-application-tab-select-input p {
    padding: 16px 60px 16px 22px;

}

.vouchers-page  .voucher-row .new-financing-application-tab-select-input {
    margin-right: 20px;
}

.vouchers-page  .new-financing-application-tab-select-input-arrow {
    top: 10px;
}

.voucher-modal-popup {
    max-height: calc(100vh - 200px);
}


.vouchers-page  .voucher-row {
    align-items: center;
}

.vouchers-page #popup-create-lead .popup-create-lead-wrap {
    height: calc(100vh - 200px);
    overflow-y: auto;
}

.vouchers-page #popup-create-lead {
    background-color: rgba(0, 0, 0, 0.6) !important;
}

.vouchers-page #popup-create-lead form {
    height: inherit !important;
}

.voucher-row .add-new-btn {
    color: #000;
}



@media (max-width: 1136px) {

    .vouchers-page .add-new-btn,
    .voucher-modal-popup p,
    .voucher-modal-popup li {
        font-size: 14px;
    }


    .voucher-modal-popup p,
    .voucher-modal-popup li,
    .voucher-modal-popup .add-new-btn,
    .voucher-modal-line span {
        font-size: 18px;
    }


    .vouchers-page .new-financing-application-tab-select-input-arrow {
        top: 5px;
    }

    .vouchers-page .confirm-voucher-btn.green {
        width: 80%;
    }

    .vouchers-page .new-financing-application-tab-select-input-arrow {
        top: 5px;
    }
}


@media (max-width: 1080px) {
    .voucher-modal-popup {
        padding: 40px;
        width: 85%;
        max-width: 600px;
        height: auto;
        max-height: 90vh;
        font-size: 20px;
    }

    .voucher-modal-header {
        font-size: 32px;
    }

    .voucher-modal-close {
        font-size: 60px;
    }

    .voucher-modal-body {
        padding: 10px;
    }

    .voucher-modal-footer {
        margin-top: 10px;
    }

    .confirm-voucher-btn.green {
        font-size: 40px;
        padding: 8px 20px;
    }

    .voucher-info-table  .send-voucher-btn,
    .voucher-info-table  .cancel-voucher-btn {
        padding: 8px 20px !important;

    }

    .voucher-info-table .send-voucher-btn,
    .voucher-info-table .cancel-voucher-btn,
    .voucher-info-table th,
    .voucher-info-table td,
    .voucher-status-label {
        font-size: 14px !important;
    }

    .vouchers-page h1 {
        font-size: 30px;
    }

    .vouchers-page .register-voucher-btn span {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .vouchers-page .voucher-modal-popup {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .voucher-modal-popup {
        max-width: 300px;
        font-size: 18px;
        max-height: 70vh;
    }

   .voucher-modal-popup .voucher-row {
       align-items: center;
       flex-direction: column;
    }

   .voucher-modal-popup p,
   .voucher-modal-popup li {
       width: auto;
   }


    .voucher-modal-popup .add-new-btn {
        margin-top: 20px;
        color: #000;
        font-size: 18px;
   }

    .voucher-modal-line {
        margin-bottom: 45px;
    }

    .voucher-modal-line span {
        margin-bottom: 10px;
    }

    .voucher-modal-popup input[type="radio"] {
        width: 20px;
        height: 20px;
    }

    .voucher-modal-popup input[type="radio"]:checked::before {
        width: 12px;
        height: 12px;
    }

    .voucher-info-table  .send-voucher-btn,
    .voucher-info-table  .cancel-voucher-btn {
        padding: 8px 5px !important;
        font-size: 12px !important;

    }

    .vouchers-page .voucher-modal-popup {
        max-width: 500px;
    }

    .vouchers-page .voucher-modal-popup p,
    .vouchers-page .voucher-modal-popup li,
    .vouchers-page .voucher-modal-popup .add-new-btn,
    .vouchers-page .voucher-modal-line span {
        font-size: 14px;
    }

    .vouchers-page .confirm-voucher-btn.green {
        font-size: 25px;
        width: 80%;
    }

    .vouchers-page .voucher-row .new-financing-application-tab-select-input {
        margin-right: 0;
    }
}


@media (max-width: 740px) {
    .vouchers-page .vouchers-page-header {
        align-items: center;
        flex-direction: column-reverse;
    }

    .vouchers-page h1 {
        font-size: 24px;
        margin-bottom: 0;
    }

    .vouchers-page-header {
        margin-bottom: 30px;
    }

    .vouchers-page .vouchers-header-content {
        display: flex;
        align-items: center;
    }

}

@media (max-width: 400px) {
    .voucher-modal-popup {
        max-width: 230px;
    }
}

/* End Voucher Project */


