footer, header {
    z-index: 2;
    position: relative;
}


/* Desktop (Standard) */
html {
    font-size: 16px!important; /* 1rem = 16px */
}

/* Tablet */
@media (max-width: 768px) {
    html {
        font-size: 14px!important; /* 1rem = 14px */
    }
}

/* Smartphone */
@media (max-width: 480px) {
    html {
        font-size: 12px!important; /* 1rem = 12px */
    }
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 1.3rem;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}


.et_pb_menu_0_tb_header.et_pb_menu ul li a{
	color: var(--primary-color)!important;
}



/*loading page*/

.userEmptyNote {
    margin-left: 5%;
	margin-right: 5%;
	width: 90%;
}

.userEmptyNoteInner {
    max-width: 500px;
    min-width: 300px;
    margin: 100px auto;
    padding: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background-color: var(--primary-color);
}


.userEmptyNote button {
    margin: 40px auto 0px auto;
}

/* call div */

div#callDisplay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}


.call-info {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

div#openCallOrganization {
    border: 2px solid var(--secondary-color);
    padding: 5px 10px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    line-height: 20px;
    font-size: 15px;
    font-weight: 600;
    text-transform: capitalize;
}




/* overview */


#organizationSidebarSettingsContainer {
    display: none; /* Standardmäßig ausgeblendet */
    /* Optional: Füge eine Transition hinzu, um das Ein-/Ausblenden zu animieren */
    transition: all 0.3s ease-in-out;
}

#organizationSidebarSettingsContainer.visible {
    display: block; /* Sichtbar, wenn die Klasse 'visible' hinzugefügt wird */
}



.buttonStyling {
	 padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
	cursor: Pointer;
	transition: 1s;
	display: flex;
    align-items: center;
    justify-content: center;
	border: 2px solid var(--secondary-color);
}

.noProjects {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding-top: 20px;
}

.noProjects a{
    color: var(--secondary-color);
}

.organizationContainer {
    display: flex;
    width: 100%;
}

.organizationSidebarContainer {
    min-width: 250px;
    color: var(--primary-color);
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 50px;
	max-width:350px;
    transition: flex-basis 0.6s ease, transform 0.6s ease; /* Smoothes Ein- und Ausfahren */
    transform: translateX(-100%);
    z-index: 1;
}

.organizationSidebarContainer.hidden {
    flex-basis: 0; /* Nimmt keinen Platz mehr im Layout ein */
    min-width: 0; /* Überschreibt die Standardbreite */
    max-width: 0;
}

.organizationSidebarInnerContainer {
    border: 4px solid var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
    border-top-right-radius: 0px;
    display: flex;
    flex-direction: column;
    background-color: var(--third-color);
    max-height: 90vh;
    overflow: auto;
}

.organizationSidebarInnerContainer.hidden {
    border: none;
    padding: 0;
}

.organizationBetaString {
    position: absolute;
    font-weight: 900;
    font-style: italic;
    -webkit-text-stroke: 0.5px var(--primary-color);
    color: var(--secondary-color);
    font-size: 22px;
    top: 0px;
    left: 50%;
    transform: translate(-50%, 10px);
}


.organizationSidebarToggle {
    position: absolute;
    top: 0px;
    right: -40px; /* Der Button ragt aus der Sidebar heraus */
    z-index: 10;
}

.toggleSidebarButton {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    cursor: pointer;
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.toggleSidebarButton:hover {

}

#sidebarHome {
    fill: var(--third-color);
    width: 25px;
    height: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}





.organizationUrl.waiting {
    border-color: red !important;
}

button#verifyDomainButton {
    margin-left: auto;
}



div#organizationSettingsIcon {
    width: 20px;
    margin-left: auto;
	fill: var(--primary-color);
}

#organizationSettingsIcon.iconToolTip::after {
    background-color: var(--secondary-color);
    color: var(--primary-color);
	margin-left: -200px;
    position: relative;
}

#verifyDomainOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: -9;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: 1s;
}

#verifyDomainOverlay.active {
    
    z-index: 9;
    opacity: 1;
    pointer-events: all;
}




#verifyDomainPopup {
    background-color: var(--third-color);
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0%);
    padding: 50px;
    color: var(--primary-color);
    border-radius: 10px;
}

#verifyDomainPopup h2{
	color: var(--primary-color);
	font-weight: 600;
}

button#verifyNowButton {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}
div#domainIsApproved {
    color: green;
    text-align: right;
}

.verifyErrorMessage {
    margin-top: 30px;
	margin-bottom: -20px;
    font-weight: 600;
    color: red;
    display: none;
}

#closePopupButtonVerifyDomain {
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 36px;
    color: var(--secondary-color);
	cursor: pointer;
}

/* Container für das Formular */
#organizationSettingsForm {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Formular-Gruppen */
.form-group {
    margin-bottom: 20px;
}

/* Labels */
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #555;
}

/* Textfelder */
.form-group input[type="text"],
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="file"]:focus {
    border-color: var(--secondary-color, #3bb2d0);
    outline: none;
}

/* Color Picker */
.form-group input[type="color"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    height: 50px;
    cursor: pointer;
    background: none;
}

.form-group input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.form-group input[type="color"]::-webkit-color-swatch {
    border: none;
}

.form-group input[type="color"]:focus {
    border-color: var(--secondary-color, #3bb2d0);
    outline: none;
}

.organizationFormHeader {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
}

#iframeHeader{
	margin-top: 50px;
}

/* Buttons */
#saveOrganizationSettings {
    margin: 0 auto;
}

#saveOrganizationSettings:hover {
    background-color: var(--secondary-color, #3bb2d0);
	color: var(--primary-color);
}

button#goProButton {
    position: absolute;
    top: 0px;
    height: 30px;
    left: 50%;
    transform: translate(-50%, 0px);
    border: none;
    padding: 0px 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 20px;
    border: 2px solid;
	display: none;
	cursor: pointer;
	transition: 0.5s;
}

button#goProButton:hover {
	transform: translate(-50%, 0px) scale(1.05); 
}

#ownerContactDropdown {
    height: 30px;
    border: none;
    color: var(--primary-color);
    font-weight: 700;
}

/* Bildvorschau */
.current-logo img {
    display: block;
    margin: 0 auto 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Platzhaltertext */
::placeholder {
    color: #aaa;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 600px) {
    #organizationSettingsForm {
        padding: 15px;
    }

    #saveOrganizationSettings {
        font-size: 14px;
        padding: 10px;
    }
}

#companyBoxHeaderLogo {
    background-image: var(--logo-url);
    height: 50px;
    background-repeat: no-repeat;
    background-size: contain;
}

#companyBoxHeader{
	margin-bottom: 30px;
}
.boxHeader {
    font-size: 1rem;
    font-weight: bolder;
    margin-top: 30px;
    margin-bottom: 0px;
    color: var(--primary-color);
    text-transform: uppercase;
}



#newContactForm {
    overflow: hidden;
    transition: 0.5s ease-out;
    width: 100%;
    float: right;
    background: var(--primary-color);
    border-radius: 10px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    /* max-height: 0px; */
    position: relative;
    font-size: 12px;
	height: 0px;
	transition: 1s;
	opacity: 0;
}

#newContactForm.active{
	padding: 20px 0px;
    margin: 20px 0px;
	height: auto;
	opacity: 1;
}

#newContactButton {
        fill: var(--secondary-color);
    float: right;
    background-color: var(--primary-color);
    width: 2rem;
    height: 2rem;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
	border-radius: 50%;
	position: relative;
	border: none;
    margin-top: -5px;
}

#newContactButton.iconToolTip::after, #resendInvitation.iconToolTip::after{
	background-color: var(--secondary-color);
	color: var(--primary-color);
	transform: translateX(-50%);
    left: -60px;
	position: absolute;
    text-align: center;
    top: -30px;
}

#connectionsContainer .detailBoxOneItem {
    margin-bottom: 10px;
}

.detailBoxOneItemContainer {
    width: 100%;
    float: left;
    line-height: 20px;
    font-size: 0.9rem;
    position: relative;
}

span.detailBoxOneItem {
    max-width: 150px;
    display: block;
    float: left;
    cursor: pointer;
    margin-bottom: 10px;
}

.iconDetailBoxOneSub {
    position: absolute;
    right: 0px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    fill: var(--secondary-color);
}

#iconPhone {
    margin-right: 24px;
}

#iconMail {
    margin-right: 50px;
}

#resendInvitation svg {
    width: 15px;
    height: 15px;
    fill: var(--secondary-color);
}

.detailBox.open {
    opacity: 1;
    max-height: 500px;
    padding: 10px 5px;
}

.detailBox {
    opacity: 0;
    transition: 0.5s ease-out;
    width: 100%;
    float: right;
    background: var(--primary-color);
    border-radius: 10px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    max-height: 0px;
    position: relative;
    font-size: 12px;
    overflow: auto;
}

.editIcon {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 5px;
    right: 0px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    fill: var(--secondary-color);
    stroke: var(--secondary-color);
}

.detailBoxOneItemSubContainerDetails {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.detailBoxOneItemSubContainer {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    width: 100%;
    min-height: 20px;
}

.detailBoxOneLabelSub {
    min-width: 150px;
    text-align: left;
    font-weight: bold;
    padding-right: 10px;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
}

.detailBoxOneValueSub {
    color: var(--third-color);
    font-size: 0.7rem;
    min-width: 80px;
    width: calc(20px + 30%);
}

.contactDetailBoxItemSubContainer {
    position: relative;
    margin-bottom: 15px;
    width: calc(50% - 20px);
    float: left;
    margin-left: 10px;
    margin-right: 10px;
}

.salutationForm {
    padding: 0px;
    margin-left: 10px;
    width: calc(100% - 20px) !important;
    margin-top: 10px;
}

.detailBoxOneItemSubContainer a {
    color: rgb(255 255 255);
    font-weight: 600;
}

.contactSaveButton {
    font-size: 12px;
    margin-left: auto;
    margin-right: 10px;
    padding: 5px 10px;
}

.contactDetailBoxInput {
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 12px;
    box-sizing: border-box;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 5px 10px;
    border-radius: 5px;
    border: 2px solid var(--secondary-color);
    position: absolute;
    z-index: 1;
    bottom: 115%;
    left: 0%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.disabled-email {
    background-color: #e0e0e0 !important;
    cursor: not-allowed;
    opacity: 0.5;
}





.spinnerResendEmail{
    width: 20px!important;
    height: 20px!important;
}


.organizationViewFullHeight {
    min-height: 100vh;
    min-width: 200px;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 150px;
    padding: 0px 5%;
}

.rightHeaderContainer {
    margin-bottom: 20px;
    width: 95%;
    height: 50px;
}

#testPeriodContainer {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

button#newAnalysisButton {
    float: right;
}




#organizationContainerOwned.active{
    opacity: 0;
    height: 0px;
	display: none;
}

#organizationContainerNotOwned.active{
    opacity: 0;
    height: 0px;
	display: none;
}

#showOwnCompaniesButton.active{
	transform: rotate(90deg);
}

#showNotOwnCompaniesButton.active{
	transform: rotate(90deg);
}





.showCompaniesButton svg {
    width: 20px;
    height: 20px;
}

.organizatinOwnedDivider{
	width: 100%;
}

.showCompaniesButton {
    float: right;
}

.organizationTeamHeader {
    float: left;
}




.analysis-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: -9;
	display: flex;
	opacity: 0;
	pointer-events: none;
	transition: 1s;
}

.analysis-overlay.active{
	z-index: 1000;
	opacity: 1;
	pointer-events: all;
}

.analysis-popup {
    background: var(--primary-color);
    width: 80vw;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1001;
	border-radius: 20px;
}

.analysis-popup .analysis-close-btn {
    position: absolute;
    top: -30px;
    right: -30px;
    background: transparent;
    color: var(--secondary-color);
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 600;
}

.analysis-popup .analysis-close-btn:hover {
    background: var(--primary-color);
}








.organizationViewContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow:auto;
    position: relative;
}


div#paginationOrganization {
    position: absolute;
    right: 0;
    top: 100px;
}







input#searchField {
    width: 40%;
    border-radius: 20px;
    line-height: 40px;
    padding-left: 20px;
    min-width: 200px;
}

p#noResultsMessage {
    width: 100%;
    margin-top: 20px;
}



/*filter and sort*/

div#sortContainerHeader {
    display: flex;
    gap: 5px;
    background: none;
    box-shadow: none;
    flex-direction: row;
    padding: 10px;
    min-width: 100%;
}


.sortContainerItem {
    display: flex; /* Nebeneinander anordnen */
    align-items: center; /* Vertikale Zentrierung */
    gap: 5px; /* Abstand zwischen Name und Pfeilen */
}

.sortContainerHeader.grid .sortContainerItem {
    min-width: 10px!important;
    margin: 0px!important;
}

.sortContainerHeader.grid {
    justify-content: space-between;
    padding: 10px 30px;
}

.sortContainerHeader.grid #indexSortItemContainer {
    display: none;
}
.sortContainerHeader.grid #buttonSortItemContainer {
    display: none;
}

svg#filterIcon {
    width: 15px;
    pointer-events: none;
}

.sort-title {
    font-size: 16px; /* Schriftgröße des Titels */
    font-weight: bold; /* Fettgedruckter Titel */
}

div#iconsSortItemContainer {
    margin-left: auto;
    max-width: none;
}

div#buttonSortItemContainer {
    width: 130px!important;
    margin-right: 0px;
}

#dateSortItemContainer {
    margin-left: 10px;
    min-width: 70px !important;
}



.arrow {
    font-size: 10px; /* Größe der Pfeile */
    color: gray; /* Standardfarbe der Pfeile */
    cursor: pointer; /* Mauszeiger ändern */
    user-select: none; /* Verhindert Textauswahl */
}

.arrow.active {
    color: var(--secondary-color);
}

/* Optional: Hover-Effekt */
.arrow:hover {
    color: darkgray; /* Hover-Farbe */
    transform: scale(1.1); /* Vergrößerung bei Hover */
}

.dateSort-popup, .followUpSort-popup {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff; /* Heller Hintergrund */
    padding: 30px 20px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15); /* Stärkerer Schatten für modernes Design */
    border-radius: 8px; /* Abgerundete Kanten */
    z-index: 1000;
    min-width: 300px;
    max-width: 500px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.dateSort-popup .close-popup {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    font-size: 30px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 15px;
}

.dateSort-popup .close-popup:hover {
    color: #f44336; /* Rot beim Hover */
}

.dateSort-popup label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

.dateSort-popup input[type="date"], .followUpSort-popup input[type="date"] {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s ease;
}

.dateSort-popup input[type="date"]:focus, .followUpSort-popup input[type="date"]:focus {
    border-color: #007bff; /* Fokusfarbe */
    outline: none;
}

.dateSort-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.dateSort-filters button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dateSort-filters button:hover {
    background-color: #0056b3; /* Dunkleres Blau beim Hover */
}

.dateSort-popup .reset-filter {
    margin-top: 15px;
    text-align: center;
}

.dateSort-popup .reset-filter button, .followUpSort-popup .reset-filter button {
    background-color: #f44336; /* Rotes Design für Zurücksetzen */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dateSort-popup .reset-filter button:hover, .followUpSort-popup .reset-filter button:hover {
    background-color: #d32f2f; /* Dunkleres Rot beim Hover */
}


.iconSort-popup {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
    min-width: 300px;
    max-width: 400px;
}

.iconSort-popup .close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 30px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
}

.iconSort-popup .close-popup:hover {
    color: #f44336;
}

.sortCheckbox-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sortCheckbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sortCheckbox-input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.sortCheckbox label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.ownerSort-popup {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
    min-width: 300px;
    max-width: 400px;
}

.ownerSort-popup .close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
}

.ownerSort-popup .close-popup:hover {
    color: #f44336;
}

.sortCheckbox-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}




/* Styling für den Umschaltbereich */
.viewToggle {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-left: auto;
    position: absolute;
    right: 0px;
    top: 70px;
    cursor: pointer;
}

#cancelUserIconSvg {
    width: 20px;
}

.viewToggle button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.viewToggle button:hover {
    background-color: #0056b3;
}

#iconList, #iconGrid {
    width: 20px;
    fill: var(--primary-color);
}

#iconList.activeIcon, #iconGrid.activeIcon {
    fill: var(--secondary-color);
}





/* Allgemeine Organisationen-Container (unabhängig von der Ansicht) */
.organizationsContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Abstand zwischen den Organisationen */
    width: 100%;
}

/* Listenansicht: Elemente nebeneinander */
.organizationsContainer.list .singleorganizationContainer {
    display: flex; /* Inhalte nebeneinander */
    flex-direction: row; /* Horizontal anordnen */
    align-items: center; /* Vertikale Zentrierung */
    gap: 5px; /* Abstand zwischen Feldern */
    color: var(--primary-color);
}

/* Kachelansicht: Elemente untereinander */
.organizationsContainer.grid .singleorganizationContainer {
    display: flex; /* Inhalte untereinander */
    flex-direction: column; /* Vertikale Anordnung */
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 auto;
    box-sizing: border-box;
    min-width: 200px;
    max-width: 600px;
    height: auto;
    width: unset;
    position: relative;
    padding-bottom: 40px;
}

.organizationStatusIconContainer {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.organizationStatusIcon {
    width: 20px;
    fill:#b1b1b1;
    position: relative;
}
.iconNumberCount {
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 10px;
    line-height: 10px;
}

.organizationStatusIcon svg {
    vertical-align: middle;
}

.organization-field.organizationDate {
    margin-left: 10px;
    min-width: 70px !important;
}

.organizationsContainer.grid .organization-field{
    margin: auto;
    text-align: center;
}

.organizationsContainer.grid .projects-popup-toggle{
    margin: auto;
    margin-top: 20px;
}

.organizationStatus {
    display: none;
}

.organization-field a {
    color: var(--primary-color-70);
}

.organizationsContainer.grid .organization-field.organizationDate {
    position: absolute;
    right: 10px;
}

.organizationsContainer.grid .organization-field.organizationIndex {
    margin: 0px !important;
}

.organizationsContainer.grid .organization-field.organizationName {
    font-size: 1.2rem;
    margin-top: 30px;
}

div#organizationIconContainer {
    min-width: 260px !important;
    overflow: inherit;
}


    /* Felder der Organisation (gemeinsam für beide Ansichten) */
.organization-field {
    flex-shrink: 0;
    margin-right: 10px;
    text-align: left;
    white-space: nowrap;
    font-size: 0.9rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.organizationFollowUp.followUp {
    color: red;
}

.chat-date-input.followUp{
    color: red;
}

/* Button für Projekte (bleibt in beiden Ansichten gleich) */
.toggleProjectsButton {
    padding: 8px 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start; /* Links ausgerichtet */
}


/* Projekt-Container (wird standardmäßig ausgeblendet) */
.singleorganizationProjects {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
}

/* Popup-Hintergrund */
.projects-popup-container {
   position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.projects-popup-inner-content {
    min-width: 400px;
    max-height: calc(100% - 80px);
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Popup-Inhalt */

/* Styles für das Popup */
.organizationCategoryPopup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.organizationCategoryPopup-content {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 80%;
    display: flex;
    flex-direction: column;
}


.organizationCategoryPopup-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 20px;
}

.organizationCategoryPopup-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.organizationCategoryPopup-body {
    padding: 20px;
    position: relative;
}

.organizationCategoryPopup-loading-spinner {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}

.organizationCategoryPopup-text-field {
    min-height: 100px;
    border: 1px solid #ccc;
    padding: 8px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    background-color: #fff;
    max-height: 50vh;
}

.organizationCategoryPopup-text-field ul {
    line-height: 15px!important;
    padding: 0px !important;
}

.organizationCategoryPopup-text-field h2 {
    padding: 0px;
    line-height: 20px;
    font-size: 20px;
}
.organizationCategoryPopup-text-field h1 {
    padding: 0px;
    line-height: 20px;
    font-size: 20px;
}


.organizationCategoryPopup-text-field p {
    line-height: 15px!important;
    padding: 0px!important;
    margin: 0px !important;
}

/* Für den disabled-Zustand */
[contenteditable="false"].organizationCategoryPopup-text-field {
    background-color: #f0f0f0;
    color: #666;
    cursor: not-allowed;
}

.organizationCategoryPopup-text-field:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.organizationCategoryPopup-footer {
    border-top: 1px solid #e0e0e0;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
}

/* Button Styles */
.organizationCategoryPopup-btn-cancel {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s;
}

.organizationCategoryPopup-btn-cancel:hover {
    background-color: #e5e5e5;
}

.organizationCategoryPopup-btn-submit {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.organizationCategoryPopup-btn-success {
    background-color: #4CAF50;
}

.organizationCategoryPopup-btn-success:hover {
    background-color: #45a049;
}

.organizationCategoryPopup-btn-danger {
    background-color: #f44336;
}

.organizationCategoryPopup-btn-danger:hover {
    background-color: #d32f2f;
}





.projects-popup-content {
    position: relative;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 400px;
    overflow-y: auto;
    width: 90vw;
}

.projects-popup-content.followUp{
    border: 5px solid red;
}

div#projectsPopupHeader {
    height: 100%;
    flex: 1;
    overflow: auto;
    display: flex;
    gap: 40px;
    padding: 60px 40px 20px 40px;
    max-height: 80vh;
    min-height: 60vh;
}

div#projectsPopupHeaderGradient {
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    position: relative;
    z-index: 1;
}

div#projectsPopupContainer {
    position: relative;
    z-index: 0;
    padding-top: 20px;
    margin-top: 0px;
    min-width: 200px;
    height: auto;
    flex: 0 1 auto;
    min-height: 200px;
    overflow: auto;
}

/* Schließen-Button */
.projects-popup-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    z-index: 1;
}

/* Dynamischer Projekte-Container */
#projectsPopupContainerInner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: calc(100% - 40px);
    margin: auto;
    margin-bottom: 40px;
}

/* oranization crm container */

.chat-display {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    overflow-y: auto;
}

.chat-message {
    margin: 20px 0;
    padding: 10px;
    border-radius: 10px;
    background-color: #444444; /* Nachrichten-Hintergrund */
    position: relative;
}
.chat-message h1,h2,h3,h4,h5,h6 {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
}

.chat-message h1 {
    font-size: 20px;
}

.chat-message h2 {
    font-size: 18px;
}

.chat-message h3 {
    font-size: 16px;
}

.chat-message h4 {
    font-size: 16px;
}

.chat-message.sent {
    background-color: #dedcdc;
    margin-left: auto;
    width: 90%;
}

#message-0 {
    background-color: #4e4d4d;
    color: var(--third-color);
}

div#message-text-0 {
    -webkit-line-clamp: none;
    margin: 5px;
}

.chat-message-meta {
    position: absolute;
    font-size: 12px;
    width: 100%;
}

span.chat-message-name {
    position: absolute;
    left: -40px;
    top: -10px;
    font-weight: 600;
    background-color: darkgray;
    color: white;
    border-radius: 50%;
    padding: 5px;
    cursor: default;
    width: 25px;
    height: 25px;
    line-height: 16px;
    text-align: center;
}

span.chat-message-datetime {
    position: absolute;
    right: 10px;
    top: -33px;
    font-weight: 400;
}

.chat-input.placeholder {
    color: #aaa; /* Placeholder-Farbe */
}

button.toggle-more {
    background: transparent;
    border: none;
    font-weight: 300;
}

.message-type-icons-chat {
    display: flex;
    gap: 5px;
    position: absolute;
    left: 0px;
    top: -9px;
}

span.chat-message-icon {
    width: 15px;
    height: 15px;
    fill: #c4c0c0;
}

.chat-message-icon.active {
    fill: black;
}

.chat-message-container.blurred {
    filter: blur(2px);
    position: relative;
}

.delete-chat-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.delete-chat-icon svg {
    width: 24px;
    height: 24px;
}






.chat-message-text {
    margin: 5px;
    /*display: -webkit-box; /* Flexibles Layout für Mehrzeilen-Kürzungen */
    display: flex;
    flex-direction: column;
    -webkit-box-orient: vertical; /* Textfluss vertikal anordnen */
    overflow: hidden; /* Text, der nicht passt, ausblenden */
    text-overflow: ellipsis; /* Drei Punkte am Ende anzeigen */
    -webkit-line-clamp: 2; /* Maximale Anzahl der sichtbaren Zeilen */
    cursor: pointer; /* Zeigt, dass der Text interaktiv ist */
    transition: all 0.3s ease; /* Für sanfte Übergänge */
    padding: 5px;
    padding-top: 10px;
}

.chat-message-text p {
    padding: 1px;
}

.chat-message-text.expanded {
    -webkit-line-clamp: unset; /* Hebt die Begrenzung der Zeilen auf */
    display: block; /* Ermöglicht die Anzeige von beliebig vielen Zeilen */
    overflow: visible;
}

.edit-message-icon {
    width: 40px;
    height: 40px;
    fill: var(--third-color);
}

.save-icon {
    width: 20px;
    height: 20px;
}

.delete-icon {
    width: 40px;
    height: 40px;
    fill: #f95c5c;
}

.more-icon {
    width: 20px;
    height: 20px;
}

.action-icons {
    opacity: 0;
    transition: 0.5s;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #0000009e;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    gap: 25%;
    align-items: center;
    pointer-events: none;
}

.action-icons.active {
    opacity: 1;
    pointer-events: all;
}

.show-more-option-icons {
    position: absolute;
    right: 10px;
    top: 5px;
}


/* Popup-Container */
.chat-popup-container {
    width: calc(60% - 30px);
    margin-left: auto;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding-right: 10px;
    height: 100%;
}

div#chatInputContainer {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 10px;
}

/* Oberste Zeile mit dem Eingabefeld */
.input-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.chat-input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-size: 14px;
    padding: 10px;
    resize: none; /* Verhindert manuelle Größenänderung */
    max-height: 200px; /* Maximale Höhe */
    overflow-y: auto; /* Scrollbar bei Überlauf */
    border-radius: 10px;
}

/* Placeholder-Stil */
.chat-input::placeholder {
    color: #aaaaaa;
}

/* Untere Zeile mit den Icons und dem Senden-Button */
.icon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-type-icons {
    display: flex;
    gap: 10px;
}

.message-type-icons .icon, .icon-chat-datepicker {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    fill: lightgrey;
}

.message-type-icons .icon svg, .icon-chat-datepicker svg {
    width: 25px;
    height: 25px;
}

.date-picker-container {
    display: flex;
    gap: 10px;
    margin: auto;
    justify-content: center;
}

.date-picker-container input#chat-date-input {
    border: none;
    font-size: 14px;
    text-align: center;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    display: none; /* Versteckt das Standardsymbol */
}


.message-type-icons .icon.active {
    fill: var(--primary-color);
}

.message-type-icons .icon:hover {
    fill: var(--primary-color);
}

#aiSvgIcon {
    width: 30px;
    height: 30px;
    margin-left: auto;
    margin-top: 15px;
    margin-right: 10px;
    fill: lightgray;
}

#aiSvgIcon.active{
    fill: var(--primary-color);
}

/* Senden-Button */
.send-message-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    fill: white;
    position: relative;
}

.send-message-button svg{
    width: 40px;
    height: 40px;
}

.send-message-button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Spinner mit `::after` erzeugen */
.send-message-button::after {
    content: '';
    position: absolute;
    top: 50%; /* Zentriere den Spinner vertikal */
    left: 50%; /* Zentriere den Spinner horizontal */
    width: 24px; /* Spinner-Breite */
    height: 24px; /* Spinner-Höhe */
    border: 3px solid rgba(255, 255, 255, 0.5); /* Halbtransparenter Rahmen */
    border-top-color: #fff; /* Farbe für die Vorderseite des Spinners */
    border-radius: 50%; /* Macht den Spinner rund */
    transform: translate(-50%, -50%) scale(0); /* Spinner verstecken */
    transition: transform 0.3s ease; /* Animation beim Erscheinen */
    z-index: 1; /* Überlagert den Button-Inhalt */
    animation: none; /* Keine Animation standardmäßig */
}

/* Aktiviert den Spinner */
.send-message-button.loading::after {
    transform: translate(-50%, -50%) scale(1); /* Spinner anzeigen */
    animation: spinSendButton 1s linear infinite; /* Rotation starten */
}

/* Spinner-Animation */
@keyframes spinSendButton {
    from {
        transform: translate(-50%, -50%) rotate(0deg); /* Initialer Zustand */
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg); /* Endzustand */
    }
}

/* Button-Inhalt bei aktiviertem Spinner ausblenden */
.send-message-button.loading {
    fill: transparent; /* Text unsichtbar machen */
}



/* project popup left side informations*/
.projects-popup-details {
    width: 40%;
    float: left;
    position: relative;
    overflow-y: auto;
    flex: 1;
    height: 100%;
}

.projects-popup-organization-status {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Links & Rechts ausrichten */
    gap: 30px;
    position: absolute;
    top: 10px;
    width: calc(100% - 80px);
}


.status-select-container select {
    padding: 0px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.3sease;
}

/* Button-Styling */
.lost-customer-btn {
    padding: 10px 16px;
    font-size: 16px;
    font-weight: bold;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover- und Klick-Effekte für den Button */
.lost-customer-btn:hover {
    background-color: #cc0000;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

.lost-customer-btn:active {
    background-color: #990000;
    transform: scale(0.98);
}

/* Flex-Container für horizontale Anordnung */
.status-select-container {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

/* Responsive Anpassung */
@media (max-width: 600px) {
    .status-select-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .lost-customer-btn {
        width: 100%;
    }
}


div#projectsPopupDetailsOneEE {
    padding: 10px;
    margin: 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

div#organizationSHeaderEE {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

div#organizationStatusContainer {
    display: flex;
    justify-content: space-around;
    margin: 20px 0px;
}

select#organizationRoleSelect {
    max-width: 150px;
}

div#testPeriodInfo {
    font-weight: 600;
    text-align: center;
    margin: 10px;
}

input#testPeriodDate {
    border: none;
    border-radius: 5px;
}




div#projectPopupDetailsMap {
    height: 25vh;
    width: 98%;
}

input#projects-popup-organization-name {
    font-size: 20px;
    font-weight: 600;
    max-width: 250px;
}

input#projects-popup-organization-address {
    font-size: 14px;
    margin-top: 0px;
}

.projects-popup-details h2 {
    font-size: 16px;
}

div#projectPopupDetailsContact {
    margin-top: 30px;
    overflow-y: auto;
    position: relative;
}



/* Felder */
.projects-popup-field-group,
.projects-popup-field-group-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.projects-popup-field-group label {
    min-width: 80px;
    font-weight: bold;
}



.projects-popup-input {
    background-color: #ffffff;
    border: none!important;
    border-bottom: 1px solid #444 !important;
    color: #333;
    width: 100%;
    cursor: pointer;
    padding: 0px!important;
    font-size: 14px;
}

.projects-popup-input:focus,
.projects-popup-input-active {
    border-color: #4caf50!important;
    outline: none!important;
    cursor: text!important;
    background-color: #ffffff;
}


/* raing*/

div#organizationRatingContainer {
    display: flex;
    justify-content: center;
    position: absolute;
    right: 0;
}

.ratingIcon {
    width: 20px;
    fill: lightgray;
}

.ratingIcon.active{
    fill: var(--primary-color);
}


/* Allgemeiner Container */
.projects-popup-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 60px);
    padding: 3px 0px;
    position: relative;
    height: 40px;
}

.projects-popup-contact.blurred{
    filter: blur(5px);
    pointer-events: none;
}

.projects-popup-contact.blurredSave{
    filter: blur(5px);
    pointer-events: none;
}

/* Zeilen */
.projects-popup-contact-row {
    display: flex;
    gap: 20px; /* Abstand zwischen den Feldern */
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

/* Felder */
.projects-popup-contact-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px; /* Abstand zwischen Label und Input */
    position: relative;
}


/* Buttons für Telefon und E-Mail */
.projects-popup-contact-button {
    padding: 0px;
    background-color: var(--primary-color);
    fill: var(--third-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 25px;
    transition: background-color 0.3s ease;
    margin: auto;
    height: 25px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

button.projects-popup-contact-button svg {
    fill: var(--third-color);
    height: 15px;
    width: 15px;
}

.projects-popup-contact-button:hover {
    background-color: #45a049;
}

/* Popup-Feld (Overlay für Eingabefeld) */
.projects-popup-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: auto;
    width: 300px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    transform: translate(-50%, -50%);
}
div#phone-popup {
    width: 200px;
}

.projects-popup-contact-action {
    position: absolute;
    top: 0;
    right: -60px;
    display: flex;
    gap: 5px;
    height: 40px;
}

/* Input-Feld im Popup */
.projects-popup-overlay input {
    flex: 1;
    padding: 5px 10px !important;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    transition: border-color 0.3s ease;
    height: 40px;
    max-width: calc(100% - 40px);
    border-radius: 20px;
}

.projects-popup-overlay input:focus {
    border-color: #4caf50;
}

/* Icon-Button im Popup */
.projects-popup-icon-button {
    background-color: var(--primary-color);
    fill: var(--third-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    position: absolute;
    right: 0;
    top: 0;
}

.projects-popup-icon-button:hover {
    background-color: #45a049;
}

.projects-popup-address-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.address-suggestions {
    position: absolute;
    top: 100%; /* Direkt unter dem Input-Feld */
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px; /* Maximalhöhe für das Dropdown */
    overflow-y: auto; /* Scrollbar für lange Listen */
    z-index: 1000;
    display: none; /* Standardmäßig ausgeblendet */
    list-style: none;
    margin: 0;
    padding: 0;
}

.address-suggestions li {
    padding: 10px;
    cursor: pointer;
}

.address-suggestions li:hover {
    background-color: #f0f0f0;
}

ul#address-suggestions {
    list-style: none;
    width: 90%;
    background: var(--third-color);
}


/*prject List*/

div#singleProjectsContainer {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Container für jede Organisation */
.singleorganizationContainer {
    display: flex; /* Flexbox aktivieren */
    flex-direction: row; /* Inhalte nebeneinander */
    align-items: center; /* Vertikale Zentrierung */
    gap: 15px; /* Abstand zwischen den Spalten */
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    min-width: 100%;
    flex: 0 0 auto;
    position: relative;
}

.organizationB2B, .organizationB2BWaiting {
        background: rgb(0 9 18 / 60%);
        backdrop-filter: blur(5px);
        color: var(--header-color-light) !important;
}

.organizationB2B a, .organizationB2BWaiting a {
    color: var(--header-color-light) !important;
}

.organizationB2BWaiting {
}

.notInOrganization {
    border: 1px solid red;
    opacity: 0.4;
}

.newIconSvg {
    width: 30px;
    fill: green;
    position: absolute;
    left: 0px;
    top: -10px;
}

.projects-popup-toggle {
    padding: 5px 10px;
    font-size: 14px;
    width: 130px;
}



.project-row {
    display: flex;
    flex-direction: row; /* Zeilenlayout */
    align-items: center; /* Vertikale Zentrierung */
    justify-content: space-between; /* Abstand zwischen den Feldern */
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    min-width: 100%;
}


.project-field {
    flex: 1; /* Gleiche Breite für alle Felder */
    padding: 0 10px;
    text-align: left;
    white-space: nowrap; /* Kein Zeilenumbruch */
    overflow: hidden; /* Überlauf verstecken */
    text-overflow: ellipsis; /* Zeigt "..." bei Überlänge */
}

.favIcon {
    max-width: 40px;
    display: flex;
    fill: var(--primary-color);
}

.favIcon svg {
    width: 20px;
    height: 20px;
}

.favIcon.active {
    fill: var(--secondary-color);
}



.project-button {
    flex-shrink: 0; /* Button bleibt unverändert */
    padding: 8px 12px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    width: 150px;
}

.project-button:hover {
    background-color: white;
}

#project-index {
    max-width: 40px;
}

#project-size, #project-timeStamp {
    max-width: 100px;
}

.organizationName {
    font-weight: 600;
}


.singleorganizationContainer h2 {
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
    padding: 0px;
}

.singleorganizationContainer p {
    font-size: 1rem;
    font-weight: 500;
    padding: 0px;
    text-align: left;
}

/*organization tabs*/
.org-tabs {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    border-radius: 4px 4px 0 0;
    width: 100%;
}

/* Tab-Buttons */
.org-tab-button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 16px;
}

/* Hover-Effekt für Tabs */
.org-tab-button:hover {
    background-color: #ddd;
}

/* Aktiver Tab */
.org-tab-button.active {
    background-color: #fff;
    border-bottom: 2px solid var(--secondary-color);
}

#b2bPartnerButton, #b2bLeadButton, #b2bTestPeriodButton {
    float: right;
}

/* Tab-Inhalt */
.org-tab-content {
    display: none;
    padding-top: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    min-width: 100%;
}

/* Erster Tab wird standardmäßig angezeigt */
.org-tab-content:first-of-type {
    display: block;
}



/* spinner css*/

.spinner {
    width: 20px;
    height: 20px;
    border: 4px solid rgb(255 255 255 / 20%);
    border-top: 4px solid #fffdfd;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
    left: calc(50% - 10px);
    top: calc(50% - 10px);
}

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




@media (max-width: 600px) {
    .tab[title]:hover:after {
        max-width: calc(100vw - 20px); /* Begrenze die maximale Breite des Tooltips */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tab[title]:hover:after {
        left: auto;
        right: 10px;
        transform: none;
    }

    .tab[title]:hover:before {
        left: auto;
        right: 10px;
        transform: none;
    }
}






@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1); /* Ursprüngliche Größe */
        opacity: 1; /* Voll sichtbar */
    }
    50% {
        transform: translateX(-50%) scale(1.1); /* Leicht vergrößert */
        opacity: 0.7; /* Leicht transparent */
    }
}

/* payment popup*/

/* Payment Popup CSS - Füge das in deine CSS-Datei ein */

.paymentPopup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.paymentPopup-container {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.paymentPopup-header {
    background: linear-gradient(135deg, var(--primary-color, #007bff), var(--secondary-color, #28a745));
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    text-align: center;
    position: relative;
}

.paymentPopup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.paymentPopup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.paymentPopup-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--header-color-light);
}

.paymentPopup-subtitle {
    margin: 8px 0 0 0;
    font-size: 16px;
    opacity: 0.9;
}

.paymentPopup-content {
    display: flex;
    min-height: 400px;
}

.paymentPopup-section {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.paymentPopup-section.left {
    background-color: #f8f9fa;
    border-right: 2px solid #e9ecef;
}

.paymentPopup-section.right {
    background-color: white;
}

.paymentPopup-option-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.paymentPopup-option-price {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color, #007bff);
}

.paymentPopup-option-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
    text-align: left;
}

.paymentPopup-consent-container {
    margin-bottom: 25px;
    text-align: left;
}

.paymentPopup-consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #555;
    line-height: 1.4;
}

.paymentPopup-consent-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary-color, #007bff);
}

.paymentPopup-button {
    background: var(--primary-color, #007bff);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.paymentPopup-button:hover {
    background: var(--secondary-color, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.paymentPopup-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.paymentPopup-button.premium {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.paymentPopup-button.premium:hover {
    background: linear-gradient(135deg, #ee5a24, #ff6b6b);
}

.paymentPopup-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.paymentPopup-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color, #007bff);
    border-radius: 50%;
    animation: paymentPopupSpin 1s linear infinite;
}

.paymentPopup-section.active{
    flex-direction: row;
    text-align: left;
}

.paymentPopup-rightInner.active{
    width: 50%;
}

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

.paymentPopup-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.paymentPopup-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    font-size: 14px;
    color: #555;
    list-style: none;
}

.paymentPopup-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color, #28a745);
    font-weight: bold;
}

.paymentPopup-woocommerce-container {
    display: none;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .paymentPopup-content {
        flex-direction: column;
    }

    .paymentPopup-section.left {
        border-right: none;
        border-bottom: 2px solid #e9ecef;
    }

    .paymentPopup-container {
        width: 95%;
        margin: 20px;
    }
}