/* --- Admin Industries view tweaks --- */
.industry-modal {
    width: 800px;
    max-width: 90vw;
}
.industry-modal .quill-host {
    background: #fff;
    min-height: 180px;
}
.admin-card-list .grid.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.admin-card {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    padding: 12px;
}
.admin-card-header {
    font-weight: 600;
    margin-bottom: 8px;
}
.admin-card-title {
    font-size: 16px;
}
.admin-card-body {
    color: #666;
    font-size: 12px;
    margin-bottom: 8px;
}
.admin-card-footer {
    text-align: right;
}
.empty-state {
    color: #777;
    padding: 12px;
}
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

h3 {
    font-size: 20px;
}
.clear {
    clear: both;
    height: 1px;
}
body {
    margin: 0px;
    font-family: "Montserrat", sans-serif;
    background-color: #fafafa;
    font-size: 14px;
    overflow: hidden; /* keep scrolling inside dedicated viewports */
}
body.playground-page {
    overflow: auto;
}
html {
    background-color: #fafafa !important;
}
.magnity-container {
    width: 100vw;
    max-width: 1280px;
    position: relative;
}
.twoCols {
    width: 50%;
    position: relative;
    z-index: 0;
    box-sizing: border-box;
    float: left;
    padding: 30px;
}

#chatWindowNavigation .twoCols {
    border-right: 1px solid #999;
}

.translate-project-modal .twoCols {
    width: 100% !important;
}
.translate-project-modal .incompatible-modules-message {
    width: 100% !important;
}
#translateEmailTargetMultiLanguages div {
    width: 40%;
    padding-right: 40px;
    position: relative;
    float: left;
    padding-bottom: 5px;
}
#translateEmailTargetMultiLanguages {
    height: 180px;
    overflow: scroll;
}

.whiteBg {
    background-color: #ffffff;
}
#mainLogo {
    height: 30px;
}
.signInFormContainer {
    height: 610px;
    width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}
button.button {
    width: 140px;
    border: 2px solid #f36f6d;
    background-color: #f36f6d;
    border-radius: 7px;
    margin-top: 10px;
    padding: 5px 10px 5px 10px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}
.signInFormContainer h2 {
    font-size: 20px;
}
.signInFormContainer button {
    font-size: 16px;
    background-color: #301e48;
    color: #fff;
    margin-top: 10px;
    border: none;
    border-radius: 4px;
    height: 40px;
    width: 378px;
    box-sizing: content-box;
    border: 1px solid #301e48;
    cursor: pointer;
}
#magnityLoginLogo {
    padding: 0px 20px;
    margin-left: 10px;
    width: 400px;
    margin-bottom: 20px;
}
#magnityLoginLogo img {
    width: 150px;
    float: left;
}

#formDivider {
    width: calc(100% - 18px);
    margin: 0px auto 0px;
    text-align: center;
    z-index: 0;
    overflow: hidden;
    padding: 15px 0px 15px;
}
#formDivider span {
    padding-inline: 10px;
    position: relative;
    color: #000;
}
#formDivider span::before,
#formDivider span::after {
    content: "";
    display: block;
    width: 500px;
    height: 1px;
    background-color: #d8d8d8;
    position: absolute;
    top: calc(50% + 1px);
}
#formDivider span::before {
    right: 100%;
}
#formDivider span::after {
    left: 100%;
}

#webpageTiles {
    z-index: 1;
    position: relative;
    margin-top: 20px;
    float: left;
    overflow-x: hidden !important;
    max-height: calc(100vh - 250px);
    overflow: scroll;
    left: -20px;
}

.signInFormContainer label {
    font-size: 12px;
    font-weight: bold;
    width: 110px;
    top: 10px;
    padding: 10px 0px 5px;
    display: inline-block;
}
.signInFormContainer input {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    width: 372px;
    box-sizing: content-box;
    border: 1px solid #c1c1c1;
}

#loginFormContainer .error {
    color: red;
}
.composerTile {
    padding: 25px 14px 5px;
    box-sizing: border-box;
    background-color: #f7f8fb;
    border: 1px solid #d5d8e2;
    border-left: 5px solid rgb(255, 179, 178);
    margin-bottom: 20px;
    min-height: 140px;
    border-radius: 8px;
    cursor: pointer;
    width: 386px;
    transition: box-shadow 0.2s ease, filter 0.2s ease;
    margin-right: 10px;
    box-shadow: 0 2px 4.5px rgba(36, 56, 99, 0.12);
    position: relative;
}
.composerTile.hiddenTile {
    height: 0px !important;
    opacity: 0 !important;
    display: none !important;
}
.composerTile:hover {
    box-shadow: 0 8px 18px rgba(36, 56, 99, 0.12);
    filter: brightness(0.95);
}
.composerTile .material-symbols-outlined {
    float: left;
    position: relative;
    width: 18px;
    left: -4px;
    top: -2px;
    font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 24;
}
.content-tile-edit-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #d5d8e2;
    background-color: #fff;
    color: #4a4f59;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
}
.content-tile-edit-button:hover,
.content-tile-edit-button:focus-visible {
    border-color: #f36f6d;
    color: #f36f6d;
    outline: none;
    background-color: #fff7f6;
}
.content-tile-edit-button:focus-visible {
    box-shadow: 0 0 0 2px rgba(243, 111, 109, 0.25);
}
.content-tile-edit-button .material-symbols-outlined {
    float: none;
    position: static;
    width: auto;
    left: auto;
    top: auto;
    font-size: 20px;
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

/* Hide edit buttons when filter panel is open */
#playgroundTilesContainer.filters-open .content-tile-edit-button {
    display: none;
}

.content-tile-editor-body {
    padding: 24px 24px 28px;
    background-color: #f9fafb;
    overflow-y: auto;
}
.content-tile-editor-intro {
    color: #4b5563;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
}
.content-tile-editor-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: flex-start;
}
.content-tile-editor-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.content-tile-editor-card {
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}
.content-tile-editor-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}
.content-tile-editor-card-description {
    font-size: 13px;
    color: #4b5563;
    margin: 0 0 16px;
    line-height: 1.6;
}
.content-tile-editor-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.content-tile-editor-card-content .input-field-container {
    margin: 0;
}
.content-tile-editor-card-content .input-field-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}
.content-tile-editor-card-content .input-field-element {
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: #111827;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    width: 100%;
}
.content-tile-editor-help {
    font-size: 12px;
    color: #6b7280;
    margin: -2px 0 0;
    line-height: 1.5;
}
.content-tile-editor-tag-host {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.content-tile-editor-textarea {
    min-height: 320px;
    resize: vertical;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background-color: #fff;
    color: #111827;
    font-size: 14px;
    line-height: 1.6;
}
.content-tile-editor-textarea:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}
@media (max-width: 900px) {
    .content-tile-editor-layout {
        grid-template-columns: 1fr;
    }
}
.composerTile.content-type-webpage {
    border-left-color: #f46e6d;
}
.composerTile.content-type-video {
    border-left-color: #f1bf00;
}
.composerTile.content-type-document {
    border-left-color: #7d5cb2;
}
.composerTile.content-type-contact {
    border-left-color: #b7b9ba;
}
.emailTile img[src='https://atcore.com/composer/cdnlogo.com_ChatGPT.png']
{
    display: none;
}
.composerTileImg {
    overflow: hidden;
    width: 100%;
    max-width: 200px;
    height: 95px;
    top: -10px;
    position: relative;
    border-radius: 6px;
    background-color: #fff;
}
.composerTileImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.composerTile .composerTileHeadline {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    top: -4px;
    height: auto;
    row-gap: 6px;
    column-gap: 0px;
    justify-content: flex-start;
    padding-bottom: 6px;
}
.contentTileLinkContainer {
    z-index: 1;
    position: relative;
    left: 0px;
    top: -4px;
    clear: both;
    display: flex;
    gap: 6px;
    font-size: 0.75rem;
    color: #6d7789;
    align-items: center;
    min-height: 28px;
}
.contentTileLinkContainer a {
    color: #4a4f59;
    text-decoration: none;
    word-break: break-word;
}
.contentTileLinkContainer a:hover {
    text-decoration: underline;
}
.tagListTileIndicator {
    padding: 3px 10px;
    border: 1px solid #a3b1cc;
    position: relative;
    border-radius: 5px;
    margin: 0px;
    font-size: 11px;
    height: 16px;
    text-align: center;
    white-space: nowrap;
    color: #333;
    background-color: #f2f6fc;
    margin-right: 5px;
}
.tagListTileIndicator.content-type-webpage {
    background-color: #f46e6d;
    text-transform: capitalize;
    color: #fff;
    border-color: #fff;
}
.tagListTileIndicator.content-type-video {
    background-color: #f1bf00;
    text-transform: capitalize;
    color: #fff;
    border-color: #fff;
}
.tagListTileIndicator.content-type-document {
    background-color: #7d5cb2;
    text-transform: capitalize;
    color: #fff;
    border-color: #fff;
}

#selectedSourceContainer {
    width: 100%;
    position: relative;
    overflow-x: hidden;
    float: left;
    padding-right: 2px;
    padding-left: 2px;
    height: 430px;
    overflow-y: scroll;
    border-radius: 5px;
}

#tilesContainer {
    width: 100%;
    position: relative;
    overflow-x: hidden;
    float: left;
    background-color: #fff;
    padding: 20px;
    height: 100vh;
    overflow-y: scroll;
    padding-top: 0px;
    box-sizing: border-box;
}

#tilesFilters {
    z-index: 2;
    position: relative;
    padding-left: 30px;
    margin-top: 5px;
    font-size: 16px;
    max-height: calc(100vh - 290px);
    overflow-y: scroll;
}
#tilesFilters label {
    color: rgb(51, 51, 51);
    clear: both;
    cursor: pointer;
    font-size: 16px;
    padding-left: 5px;
    position: relative;
    bottom: 2px;
}
#tilesFilters input {
    color: rgb(51, 51, 51);
    clear: both;
    height: 16px;
    width: 16px;
    padding-right: 5px;
}

.filter-panel-headline {
    margin-bottom: 20px;
    font-weight: bold;
    color: rgb(51, 51, 51);
}
.filter-panel-group-headline-container {
    display: flex;
    justify-content: space-between;
}
.filter-panel-group-headline {
    font-size: 14px;
    color: rgb(51, 51, 51);
}
.filter-panel-group-selection-container {
    display: flex;
    gap: 5px;
    color: rgb(51, 51, 51);
}
.filter-panel-group-select-button {
    color: #f46e6d;
    font-size: 14px;
    cursor: pointer;
}
.filter-panel-group-select-button:hover {
    text-decoration: underline;
}
.filter-panel-group-item-list {
    z-index: 1;
    margin: 10px 0 30px;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    color: rgb(51, 51, 51);
}
.filter-panel-group-item {
    padding: 3px 10px;
    border: 1px solid #334565;
    border-radius: 5px;
    font-size: 12px;
    line-height: 16px;
    color: #334565;
    cursor: pointer;
}
.filter-panel-group-item.filter-panel-group-item-selected {
    background-color: #334565;
    color: #fff;
}

.mobile-container {
    max-width: 100%;
    background-color: #555;
    color: white;
    width: 340px;
    border-radius: 10px;
}
.topnav {
    background-color: #323037;
    position: absolute;
    left: 35px;
    top: -8px;
    width: 340px;
    z-index: 1;
}

.topnav #myLinks {
    display: none;
    width: 340px;
    padding-left: 40px;
    left: -40px;
    position: relative;
}

.topnav a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}
.topnav a:hover {
    text-decoration: underline;
}
.topnav a.icon {
    background: #323037;
    display: block;
    position: absolute;
    left: -52px;
    top: -3px;
    cursor: pointer;
}
.topnav a.icon:hover {
    background: #323037 !important;
}

.topnav a:hover {
    color: #fff;
}

.topnav .active {
    color: white;
}
/*
ul.menu {
padding-top: 20px;
    padding-bottom: 20px;

    margin: auto;
padding-top: 20px;
padding-bottom: 60px;
     list-style-type: none;
}

.menu li {
  float: left;text-align: left;
    margin-left: -60px;
    margin-right: 60px;
}

.menu li a {
display: block;
    padding: 8px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}
.menu li a:hover{text-decoration: underline;}
*/
.integrations {
    background: #ededed;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    height: 65px;
    width: 260px;
}

.dragIndicatorIcon {
    position: absolute !important;
    top: calc(50% + 23px) !important;
    right: 0px;
    left: auto !important;
    font-size: 36px !important;
    color: #c5c5c5 !important;
    font-weight: bold !important;
}

.tile::before,
.composerTile::before {
    width: 495px;
    height: 135px;
    position: absolute;
    content: "";
    left: 5px;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
    bottom: auto;
    margin-top: -12px;
    pointer-events: none;
}
#canvas {
    border: 0px solid #fafafa;
    float: left;
    width: 890px;
    background-color: #fafafa;
    position: relative;
    left: 50px;
    height: auto;
    min-height: 400px;
    padding: 0 20px 20px;
}
#canvas.pseudo-fullscreen-canvas,
#previewBody.pseudo-fullscreen-canvas {
    position: fixed !important;
    inset: 0 0 0 0;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    box-sizing: border-box;
    background: #fafafa;
    z-index: 101;
}
body.pseudo-fullscreen-body {
    overflow: hidden;
}
#canvas.so-me-composer .magnity-email-version-subject-container {
    display: none;
}

#templateSelectorContainer {
    width: unset;
    z-index: 0;
    position: relative;
    box-sizing: border-box;
    margin-top: 20px;
    margin-bottom: 20px;
}
.showPersonasDetails {
    text-align: center;
    width: 100px;
    padding-top: 18px;
    cursor: pointer;
}

/* Keep hover/active effects & colors without changing original layout */

#selectPersonasModal .showPersonasDetails:hover {
    text-decoration: underline;
}
#selectPersonasModal .showPersonasDetails.is-active {
    font-weight: 700;
    text-decoration: underline;
}
#personasDetails li {
    padding-bottom: 3px;
}
#selectPersonasModal {
    height: 720px !important;
}
#selectPersonasModal .spm-layout {
    display: grid;
    grid-template-columns: 900px 300px;
    gap: 20px;
    align-items: start;
}
#selectPersonasModal .spm-left {
    width: 900px;
    overflow: hidden;
}
#selectPersonasModal .spm-right {
    width: 300px;
    min-height: 100%;
    border-left: 1px solid #eee;
    padding-left: 16px;
}
#selectPersonasModal .spm-right-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    color: #301e48;
}
#selectPersonasModal .spm-right-body {
    max-height: 625px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}
#selectPersonasModal .persona-overview-container {
    padding: 12px 0;
}
#selectPersonasModal .persona-overview-header {
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}
#selectPersonasModal .persona-overview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #aaaaaa;
    position: relative;
    width: auto;
}
#selectPersonasModal .persona-overview-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}
#selectPersonasModal .persona-overview-remove {
    position: absolute;
    top: -6px;
    right: -7.5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    color: #666;
    font-size: 19px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    cursor: pointer;
}
#selectPersonasModal .persona-overview-title {
    font-weight: 500;
    color: #333;
    font-size: 13px;
}
#selectPersonasModal .persona-overview-industry {
    font-size: 12px;
    padding: 3px 4px;
    background: #eef2ff;
    color: #666;
    border-radius: 5px;
    border: 1px solid #dbe2ff;
}
#selectPersonasModal .persona-overview-empty {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
}
#selectPersonasModal .persona-overview-loading {
    text-align: center;
    color: #999;
    padding: 20px;
}
#selectPersonasModal .persona-overview-error {
    text-align: center;
    color: #dc3545;
    padding: 20px;
}
#selectPersonasModal .spm-header {
    display: flex;
    align-items: center;
    position: relative;
    gap: 12px;
    margin-bottom: 8px;
    min-height: 36px;
}
#selectPersonasModal .spm-header-right {
    margin-left: auto;
}
#selectPersonasModal #personaModalTitle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}
#selectPersonasModal .spm-header-right select#personaIndustryFilter {
    min-width: 220px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
}
#selectPersonasModal .persona-overview-clear-btn {
    padding: 4px 6px;
    border-radius: 4px;
    background: #f3f3f3;
    color: #444;
    border: 1px solid #ddd;
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
    line-height: 1;
    cursor: pointer;
}
#selectPersonasModal .personasTitle {
    font-weight: bold;
    text-align: center;
    height: 120px;
    line-height: 1;
    width: 100px;
}
.custom-select {
    width: 100%;
}

.custom-select select {
    display: none; /*hide original SELECT element: */
}

.select-selected {
    background-color: #f7f7f7;
    font-style: italic;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Style the arrow inside the select element: */
.select-selected:after {
    position: relative;
    content: "";
    float: right;
    top: 6px;
    right: -4px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #000000 transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #000000 transparent;
    top: 0px;
}

/* style the items (options), including the selected item: */
.select-items div,
.select-selected {
    color: #000000;
    width: 100%;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    box-sizing: border-box;
}

/* Style items (options): */
.select-items {
    position: sticky;
    background-color: #f7f7f7; /* top: 55px; */ /* left: 75px; */
    right: 0;
    z-index: 99;
    width: 100%;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}

#tilesSettings {
    border-bottom: 1px solid #999;
    transition: all 0.2s;
    width: calc(100% + 40px);
    margin-bottom: 0px;
    height: 30px;
    position: relative;
    z-index: 0;
    height: 40px;
    padding-top: 0px;
    padding-bottom: 15px;
    margin-left: -20px;
    margin-bottom: 0px;
    padding-left: 0px;
    margin-right: -20px;
    padding-right: 0px;
    background-color: #fff;
    z-index: 1;
    color: #fff;
}
#tilesSettingsTilesCount {
    width: 200px;
    padding-top: 5px;
    padding-bottom: 15px;
    float: left;
}
#tilesSettingsTilesFilters:after {
    /* content: '▼';
    color: #fff;
    font-size: 10px;
    padding-left: 5px;*/
}
#tilesSettingsTilesFilters {
    width: 75px;
    padding-top: 0px;
    top: 0px;
    position: relative;
    cursor: pointer;
    color: #f36f6d;
    float: right;
}

#tilesSettingsTilesFilters span {
    top: 5px;
    position: relative;
}
#search-content-settings {
    color: #000;
    padding: 10px 0px;
    opacity: 0;
    transition: all 0.2s;
    display: flex;
    gap: 10px;
}
#search-content-settings div {
    max-width: 95px;
    text-align: center;
    padding-top: 3px;
    height: 16px;
    flex: none;
}
#tilesSettingsTilesContainer {
    width: 0;
    opacity: 0;
    height: 90vh;
    background-color: #fff;
    position: absolute;
    transition: all 0.3s;
    right: -40px;
    padding: 10px;
    top: -10px;
    display: none;
    padding-top: 25px;
}
#closeTilesSettingsTilesContainer {
    color: #333;
    float: right;
    cursor: pointer;
    padding-top: 5px;
}

#showAllVideos span,
#showAllWebpages span {
    transition: all 0.3s;
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
}

#showAllVideos span.expanded,
#showAllWebpages span.expanded {
    transition: all 0.3s;
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
}

#contentLibraryContainer {
    width: 410px;
    background-color: #fff;
    height: calc(100vh - 110px);
    float: left;
    transition: all 0.5s;
    padding-left: 15px;
    top: -2px;
    z-index: 1;
    padding-right: 25px;
    border-right: 1px solid #ccc;
}
#contentLibraryContainer.collapsed {
    transform: translateX(calc(-100% + 40px));
}
.selectType {
    width: 240px;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #ef6d6b;
    cursor: pointer;
    text-align: center;
    height: 160px;
    position: relative;
    float: left;
    margin-right: 30px;
    margin-left: 30px;
    margin-bottom: 50px;
    background-color: #fff;
    transition: all 0.7s;
}
.selectType:hover {
    filter: drop-shadow(0 0 0.25rem #999);
}
.selectTypeHeader {
    font-size: 20px;
    font-weight: bold;
}
.selectTypeDescription {
    margin-bottom: 20px;
    margin-top: 20px;
}
.selectTypeButton {
    background-color: #ef6d6b;
    width: 120px;
    margin: auto;
    color: #fff;
    padding: 10px 0px 10px 0px;
    border-radius: 5px;
}

.selectTypeIcon .material-symbols-outlined {
    font-size: 50px;
}

.secondRibbon {
    padding-top: 50px;
    margin-bottom: 50px;
}
.topRibbon {
    background-color: #323037;
    height: 60px;
    padding: 0 30px;
    z-index: 101;
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}
.topRibbon > .magnity-container {
    height: 32px;
}
.logo-user-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
}

#bottomRibbon {
    background-color: #323037;
    height: 50px;
    z-index: 10;
    position: fixed;
    bottom: 0px;
    width: 100vw;
}
#projectName {
    width: 100px;
    height: 30px;
    border-radius: 7px;
    border: 0px;
    padding: 0px 10px 0px 10px;
    margin-top: -3px;
    outline: none;
    border: 1px solid #504e57;
    transition: all 0.5s;
    background-color: #323037;
    color: #fff;
    margin-left: 30px;
    top: 2px;
    cursor: pointer;
    color: #999;
    position: relative;
}

#exportInput {
    width: 500px;
    float: right;
    margin-right: 30px;
}
#projectName::placeholder {
    font-style: italic;
}
#exportButton {
    position: relative;
    float: right;
    margin-right: 35px;
}
#exportButton button {
    width: 140px;
    border: 2px solid #f36f6d;
    background-color: #f36f6d;
    border-radius: 7px;
    margin-top: 10px;
    padding: 5px 10px 5px 10px;
    color: #fff;
    float: right;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}
#translateButton {
    width: 200px;
    position: relative;
    float: right;
    margin-right: 105px;
}

#translateButton button {
    width: 115px;
    border: 2px solid #f36f6d;
    background-color: #fff;
    border-radius: 7px;
    margin-top: 10px;
    padding: 5px 10px 5px 10px;
    color: #f36f6d;
    float: right;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}
#changeTemplate select {
    width: 220px;
    padding: 10px;
    position: absolute;
    left: 390px;
    top: -44px;
}

#showSettingsModal {
    display: none;
    font-weight: bold;
    color: #f36f6d;
    cursor: pointer;
    text-decoration: underline;
}
#chatWindow {
    padding: 20px;
    z-index: 8;
    position: relative; /* top: 0px; */
    z-index: 1; /* right: -40px; */
    width: calc(100% - 20px);
    transition: all 0.5s;
    height: calc(100vh - 350px); /* background-color: #ffffff; */ /* border-left: 3px solid #999; */
    top: 0px;
    padding-top: 0px;
}
#closeChatWindow {
    position: relative;
    float: right;
    font-size: 20px;
    cursor: pointer;
    background-color: #fff;
    height: 44px;
    width: 58px;
    text-align: center;
    padding-top: 20px;
    font-weight: bold;
}
#chatArrayContainer {
    max-height: calc(100% - 30px);
    overflow: scroll;
    float: left;
    width: calc(100% - 20px);
}
.chatMessage {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 15px;
}
#chatInputContainer {
    transition: all 0s;
    z-index: 1;
    position: absolute;
    bottom: 0px;
    height: 180px;
    right: 0px;
    background-color: #f2f1f3;
    width: calc(100% - 0px);
    padding: 10px;
    box-sizing: border-box;
}
#chatInputContainer input,
#chatInputContainer textarea {
    margin-top: 35px;
    border-top: 2px solid #555;
    outline: none;
    padding: 10px;
    margin-left: 10px;
    margin-top: 10px;
    font-size: 16px;
    position: relative;
    width: calc(100% - 40px);
    height: 65px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-family: "Montserrat", sans-serif;
    resize: none;
}
#submitChat {
    color: #fff; /* display: none; */ /* margin-left: 20px; */
    height: 30px;
    border-radius: 5px;
    border: 1px solid #f36f6d;
    cursor: pointer; /* right: 27px; */
    position: relative;
    top: -40px; /* font-size: 13px; */
    left: calc(100% - 45px);
    background-color: #f36f6d;
    width: 30px;
    border-radius: 15px;
    text-align: center;
}
#quickPromptContainer {
    position: absolute;
    max-height: 920px;
    height: calc(100vh - 300px);
    overflow: scroll; /* top: calc(285px - 100vh); */ /* right: 0; */
    z-index: 19;
    right: -800px;
    width: 800px;
    clear: both;
    padding-top: 0px;
    background-color: #fff;
}
.hidden {
    display: none !important;
}
.addContentLink {
    width: fit-content;
    border: 2px solid #f36f6d;
    background-color: #fff;
    border-radius: 7px;
    padding: 5px 25px 5px 25px;
    color: #f36f6d;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}
#chatWindowContainerViewPort {
    position: fixed;
    right: 0px;
    border-left: 1px solid #8298a0;
    transition: all 0.3s;
    background-color: #fff;
    width: 0px;
    top: 60px;
    bottom: 50px;
    max-height: calc(100vh - 110px);
    z-index: 102;
    overflow-x: hidden;
    overflow-y: hidden;
}
body.playground-page #chatWindowContainerViewPort {
    bottom: auto;
    height: calc(100vh - 60px);
    max-height: none;
}
#chatWindowNavigation {
    background-color: #f4f6f6;
    height: 60px;
    border-bottom: 1px solid #8298a0;
    padding-top: 4px;
    display: flex;
    justify-content: left;
}
#chatWindowContainer {
    transition: all 0.3s;
    width: 100%;
    height: calc(100% - 60px);
    left: 0px;
    position: relative;
}

#homePagebackgroundImage picture,
#homePagebackgroundImage image {
    min-height: 100vh;
    height: auto;
    min-width: 100vw;
}

#chatNavChat,
#chatNavLib,
#chatEditor {
    font-weight: bold;
    cursor: pointer;
    justify-content: center; /* padding: 10px; */
    height: 64px;
    top: -4px;
    background-color: #fff;
    color: #cccccc;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#chatNavChat span,
#chatNavLib span {
    position: relative;
    top: 2px;
    padding-right: 15px;
}
.avatarIcon {
    border-radius: 15px;
    height: 30px;
    width: 30px;
    top: 6px;
    position: relative;
    margin-right: 15px;
    text-align: center;
    padding-top: 2px;
    box-sizing: border-box;
}
.avatar .assistant {
    background: url(https://atcore.com/composer/img/magnity-logo-black-rebranded.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.avatar .user {
    background-color: #f6e8db;
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.rotating {
    -webkit-animation: rotating 1s linear infinite;
    transform-origin: 10px 15px;
    -moz-animation: rotating 1s linear infinite;
    -ms-animation: rotating 1s linear infinite;
    -o-animation: rotating 1s linear infinite;
    animation: rotating 1s linear infinite;
}
#modalBg,
.modal-background {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: #333333a6;
    z-index: 901;
    top: 0;
    left: 0;
}
#spinnerStatus,
.spinner-status {
    color: #fff;
    position: fixed;
    left: calc(50vw - 125px);
    width: 250px;
    text-align: center;
    top: calc(50vh + 90px);
    font-size: 20px;
}
#loadingSpinner,
.loading-spinner {
    position: fixed;
    z-index: 999;
}
#loadingSpinner img,
.loading-spinner img {
    height: 170px;
    position: fixed;
    left: calc(50vw - 85px);
    top: calc(50vh - 85px);
}

#subjectAndPreheaderContainer,
#personasContainer {
    float: left;
    width: 890px;
    left: 75px;
    position: relative;
}
#personasContainer {
    margin-bottom: 20px;
    margin-top: 20px;
    width: 300%;
    float: left;
    position: relative;
    left: 0px;
    transition: all 0.5s;
}
#personasContainerViewPort {
    width: 100%;
    max-width: 850px;
    overflow: hidden;
    float: left;
    left: 75px;
    position: relative;
}
#personasGallery {
    margin-bottom: 20px;
    margin-top: 20px;
    width: 100%;
    float: left;
    position: sticky;
    top: 0px;
    padding-top: 24px;
    z-index: 100;
    background: #fafafaf2;
}
#personasGallery span {
    float: left;
    position: relative;
    top: 50px;
    z-index: 1;
    color: #f36f6d;
    cursor: pointer;
    user-select: none;
}

/* #languageToggle { float: right; position: relative; width: 200px; margin-top: 55px; right: -40px; } */

#languageToggle {
    float: right;
    position: sticky;
    width: 260px;
    margin-top: 10px;
    right: 0;
    z-index: 101;
    top: 0px;
}

#addNewPersonaContainer {
    width: 150px;
    height: 150px;
    position: absolute;
    align-items: center;
    display: flex;
    justify-content: right;
    right: -30px;
}

#addNewPersonaContainer .buyingPersona {
    display: flex;
    justify-content: right;
    margin-right: 0px;
    align-items: center;
}

#addNewPersonaContainer .personasAvatar {
    margin: 0px !important;
}

#languageToggle span {
    width: 25px;
    position: relative;
    float: left;
    color: #f36f6d;
    cursor: pointer;
}
#availableLanguagesViewport {
    width: calc(210px - 100px);
    position: relative;
    float: left;
    overflow: hidden;
    padding-left: 15px;
}
#availableLanguagesContainer {
    left: 0px;
    position: relative;
    transition: all 0.5s;
    padding: 3px 9px 3px 9px;
    width: auto;
    min-width: 900vw;
}
#availableLanguagesContainer div {
    position: relative;
    float: left;
    text-align: left;
    width: 125px;
    margin-right: 25px;
    left: -9px;
    /* Text truncation */
    white-space: nowrap;
    overflow: hidden;
}

/* Language dropdown styles */
#languageDropdownChevron {
    width: 25px;
    margin-right: 5px;
    position: relative;
    float: left;
    color: #000 !important;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#languageDropdownMenu {
    position: absolute;
    top: 100%;
    left: 60px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 150px;
    max-width: 150px;
    max-height: 500px;
    overflow-y: auto;
}

.language-dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.language-dropdown-item:hover {
    background-color: #f5f5f5;
}

.language-dropdown-item:last-child {
    border-bottom: none;
}
#availableLanguagesContainer label {
    cursor: pointer;
}
#availableLanguagesContainer label:hover {
    text-decoration: underline;
}

/* Industry Toggle Styles */
#industryToggle {
    float: right;
    position: sticky;
    width: 220px;
    margin-top: 10px;
    margin-right: 15px; /* sit just left of languageToggle */
    z-index: 101;
    top: 0px;
}

#industryToggle span {
    width: 25px;
    position: relative;
    float: left;
    color: #f36f6d;
    cursor: pointer;
}

#availableIndustriesViewport {
    width: calc(210px - 100px);
    position: relative;
    float: left;
    overflow: hidden;
    padding-left: 15px;
}

#availableIndustriesContainer {
    left: 0px;
    position: relative;
    transition: all 0.5s;
    padding: 3px 9px 3px 9px;
    width: auto;
    min-width: 900vw;
}

#availableIndustriesContainer div {
    position: relative;
    float: left;
    text-align: left;
    width: 125px;
    margin-right: 25px;
    left: -9px;
    /* Text truncation */
    white-space: nowrap;
    overflow: hidden;
}

/* Industry dropdown styles */
#industryDropdownChevron {
    width: 25px;
    margin-right: 5px;
    position: relative;
    float: left;
    color: #000 !important;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#industryDropdownMenu {
    position: absolute;
    top: 100%;
    right: 60px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 150px;
    max-width: 150px;
    max-height: 500px;
    overflow-y: auto;
}

.industry-dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.industry-dropdown-item:hover {
    background-color: #f5f5f5;
}

.industry-dropdown-item:last-child {
    border-bottom: none;
}

#availableIndustriesContainer label {
    cursor: pointer;
}

#availableIndustriesContainer label:hover {
    text-decoration: underline;
}

#translateEmailTargetMultiLanguages label {
    cursor: pointer;
}
#translateEmailTargetMultiLanguages label:hover {
    text-decoration: underline;
}

#subjectAndPreheaderContainer span {
    font-weight: bold;
    color: #323345;
    width: 100px;
    display: block;
    position: relative;
    float: left;
    top: 5px;
}
#subjectAndPreheaderContainer input {
    padding: 5px 10px 5px 10px;
    border-radius: 7px;
    border: 1px solid #bcbcbc;
    width: 765px;
    margin-bottom: 20px;
    font-size: 16px;
}
.buyingPersona {
    width: 120px;
    margin-right: 20px;
    height: 120px;
    position: relative;
    float: left;
}
.personasAvatar {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    float: left;
    text-align: center;
    border: 2px solid #bcbcbc;
    border-radius: 60px;
    overflow: hidden;
    margin-left: 10px;
}
.threeCols {
    width: 33.33%;
    position: relative;
    float: left;
    box-sizing: border-box;
}
.selectedPersona img {
    filter: grayscale(0%) !important;
}
#personasDetails {
    width: 100%;
    word-break: break-word;
    position: relative;
    clear: both;
    margin-top: 20px;
    padding: 20px 5px 0px 5px;
    border-top: 1px solid #999;
    height: 450px;
    overflow: scroll;
}

/* Modernized details panel (scoped to select personas modal) */
#selectPersonasModal #personasDetails {
    padding: 16px 8px 0;
}
#selectPersonasModal #personasDetails .persona-details-panel {
    background: #ffffff;

    padding: 12px;
}
#selectPersonasModal #personasDetails .persona-details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
#selectPersonasModal #personasDetails .persona-details-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #301e48;
}
#selectPersonasModal #personasDetails .persona-details-description {
    padding: 12px 0 16px;
}

#submitPersonas {
    position: absolute;
    bottom: 20px;
    width: calc(100% - 40px);
}

#submitPersonas button {
    background-color: #ee7268;
    border: 0px;
    padding: 10px 15px 10px 15px;
    color: #fff;
    cursor: pointer;
    border-radius: 7px;
    float: right;
    position: relative;
}
.personasAvatar img {
    width: 85px;
    height: 85px;
    filter: grayscale(60%);
    position: relative;
}
.buyingPersona[data-json]::after {
    height: 40px;
    width: 40px;
    background-color: red;
    content: "";
}
.personasAvatar img:hover {
    cursor: pointer !important;
}
#selectPersonasModal .buyingPersona::after {
    height: 40px;
    width: 40px;
    cursor: pointer;
    background-color: red;
}
.selectedPersona > .personasAvatar {
    border: 4px solid #ee7268;
}
.personasTitle {
    text-align: center;
    padding-right: 10px;
    line-height: 1;
}
.closeModal {
    position: absolute;
    right: 30px;
    cursor: pointer;
    z-index: 1;
    font-size: xx-large;
    background: transparent;
    border: none;
    color: #1b1d21;
    padding: 0;
}
.modal {
    border-radius: 20px;
    filter: drop-shadow(0 0 0.25rem #999);
    width: 1100px;
    height: 600px;
    padding: 20px;
    margin: auto;
    position: fixed;
    left: 50%;
    top: 50%;
    background-color: #fff;
    z-index: 999;
    transform: translate(-50%, -50%);
}
.modal.image-cropper-modal {
    height: 630px;
}
/* Unpublish buttons (moved from inline styles) */
.unpublishPersonaEmailVersionsBtn {
    position: absolute;
    top: -6px;
    right: 5px;
    color: #f36f6d;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
}
.buyingPersona:hover .unpublishPersonaEmailVersionsBtn {
    opacity: 1;
    pointer-events: auto;
}
#unpublishLanguageVariantsBtn {
    width: 25px;
    position: relative;
    float: right;
    cursor: pointer;
    color: #f36f6d;
    font-size: 24px;
    line-height: 1;
    margin-right: 8px;
}

/* Override generic #personasGallery span rules so the unpublish icon stays in the top-right */
#personasGallery .unpublishPersonaEmailVersionsBtn {
    position: absolute;
    top: -6px;
    right: 5px;
    z-index: 2;
}
.emailTile {
    position: relative;
    float: left;
    max-width: 890px;
    background-color: #fff;
    width: 100%;
}
#contentContainer {
    min-width: 8000%;
    width: auto;
    left: 0px;
    position: relative;
    float: left;
}
#contentContainer.transition {
    transition: all 0.25s;
}
#contentViewPort {
    width: 890px;
    top: 20px;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
}
/* Style the buttons that are used to open and close the accordion panel */

.modal-loading-container {
    position: absolute;
    inset: 0 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 40px;
}

#languageSelectorContainer {
    margin: 20px 0;
    position: relative;
}

.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: all 0.4s;
    font-family: "Montserrat", sans-serif;
}
.accordion .material-symbols-outlined {
    float: right;
    top: 3px;
    position: relative;
    transition: all 0.2s;
}
.material-symbols-outlined .rotate {
    transform: rotate(180deg);
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.accordion:hover {
    background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
}
.panel .quick-prompt {
    margin: 10px 0;
    cursor: pointer;
}
.panel .quick-prompt:hover {
    text-decoration: underline;
}
#settingsTask {
    width: calc(100% - 40px);
    margin-right: 10px;
    padding: 10px;
    height: 400px;
    resize: none;
}
#settingsRules {
    margin-right: 5px;
    margin-left: 5px;
    padding: 10px;
    height: 400px;
    resize: none;
    width: calc(100% - 40px);
}
#settingsTov {
    width: calc(100% - 40px);
    margin-left: 10px;
    padding: 10px;
    resize: none;
    height: 400px;
}
.settingsTile {
    position: relative;
    height: 530px;
    float: left;
    width: 1060px;
    box-sizing: border-box;
}
#settingsTileContainer {
    height: 530px;
    position: relative;
    transition: all 0.7s;
    height: 440px;
    width: 2300px;
    left: 0px;
}
#settingsSource {
    width: calc(100% - 40px);
    margin-right: 10px;
    padding: 10px;
    height: 350px;
    resize: none;
}
#settingsViewport {
    overflow-x: hidden;
    width: 1060px;
    height: 530px;
}

#tilesBackgroundFix {
    position: fixed;
    width: 450px;
    top: 0px;
    height: 120vh;
    transition: all 0.5s;
    background-color: #fff;
    z-index: 0;
    left: 0;
    border-right: 1px solid #ccc;
}

#loginFormContainer {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
#levelFiveCircle {
    width: 200vh;
    height: 200vh;
    z-index: 1;
    position: absolute;
    border-radius: 100vh;
    top: -50vh;
    right: -100vh;
    background: rgb(84, 54, 115);
    background: linear-gradient(270deg, rgba(84, 54, 115, 1) 60%, rgba(239, 109, 107, 1) 100%);
}

#levelFourCircle {
    border: 2px solid #fff;
    height: 75vh;
    width: 75vh;
    border-radius: 37.5vh;
    margin-top: 65vh;
    position: absolute;
}
#levelThreeCircle {
    background-color: #fff;
    width: 50vh;
    height: 50vh;
    border-radius: 25vh;
    margin-top: 12.5vh;
    position: absolute;
}
#levelTwoCircle {
    position: absolute;
    height: 10vh;
    width: 10vh;
    background-color: #ee6c6b;
    border-radius: 5vh;
    top: 20vh;
}
#crawlUrlInputButton {
    text-align: left;
    float: left;
}
#crawlUrlInputButton button {
    margin-left: 50px;
    width: 140px;
    border: 2px solid #f36f6d;
    background-color: #f36f6d;
    border-radius: 7px;
    margin-top: 10px;
    padding: 5px 10px 5px 10px;
    color: #fff;
    float: right;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    clear: both;
}
#crawlUrl {
    width: 850px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #bab9b9;
}
#crawlResBody {
    height: 200px;
    overflow: scroll;
}
#submitCrawledPage button {
    width: 140px;
    border: 2px solid #f36f6d;
    background-color: #f36f6d;
    border-radius: 7px;
    margin-top: 10px;
    padding: 5px 10px 5px 10px;
    color: #fff;
    float: right;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}
#crawlResults img {
    height: 110px;
    width: auto;
    position: relative;
    float: left;
}
#submitCrawledPage {
    margin-top: 30px;
}
input[type="file"] {
    display: none;
}
#automationProgramsContainer h4 {
    margin-top: 0;
    margin-bottom: 10px;
}
#automationProgramsContainer .twoCols {
    transition: all 0.3s;
    opacity: 1;
}
#automationProgramsContainer {
    background-color: #f5f6f9;
    border-radius: 10px;
}
#cancelCreateNewProgramLink,
#createNewProgramLink {
    cursor: pointer;
    color: #f56c6d;
    margin-top: 10px;
    max-width: 150px;
}
.opacityZero {
    opacity: 0 !important;
}
#exportedEmailsContainer,
#sendTextOfExportedEmails {
    padding-top: 0;
}
#exportModal {
    height: 750px !important;
    top: calc(50vh - 400px);
}
#userCreatedPrograms {
    width: 50%;
    padding: 5px;
}
#availableMasterPrograms,
#createNewAutomationProgramName {
    box-sizing: border-box;
    width: 100%;
    padding: 5px;
}
#createNewAutomationProgramButton {
    background-color: #f56c6d;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    float: right;
    margin-top: 10px;
}
.custom-file-upload {
    border: 0px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    top: -18px;
    position: relative;
    left: 54px;
}
#searchFilterTiles {
    width: 270px;
    box-sizing: border-box;
    border: 0px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    background-image: url(https://atcore.com/composer/img/searchIcon.png);
    background-position: 10px 11px;
    background-repeat: no-repeat;
    padding: 10px 10px 10px 35px;
    background-size: 16px;
    background-color: #f7f7f7;
    border-radius: 5px;
    outline: none;
    font-weight: 400;
    color: #666;
}
#addContentToLibraryIcon {
    width: 25px;
    z-index: 1;
    cursor: pointer;
    position: relative;
    float: right;
    top: 5px;
    color: #f36f6d;
    padding-left: 10px;
    right: -3px;
    border-left: 1px solid #cccccc;
}

#emailPersonasAndSubject {
    transition: all 0.5s;
    left: 0px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    padding-right: 10px;
}
.project-deleted-message-conatainer {
    width: 100%;
    box-sizing: border-box;
    gap: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -2px 0px 10px 40px;
    background-color: #ee7268;
    border-radius: 0 0 5px 5px;
    padding: 10px;
    color: white;
}
.project-deleted-message-element {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    flex: 1;
    min-width: 0;
}
.project-deleted-message-icon {
    flex-shrink: 0;
}

#toggleTiles {
    position: fixed;
    z-index: 1;
    left: 430px;
    top: 50%;
    transform: translateY(-50%); /* font-size: 30px; */
    height: 40px;
    width: 40px;
    background-color: #fff;
    text-align: center;
    border-radius: 20px;
    border: 1px solid #999;
    cursor: pointer;
    transition: all 0.5s;
}

#toggleTiles span {
    font-size: 40px;
    color: #999;
    transition: all 0.5s;
}
.cropper-crop {
    width: 100% !important;
    max-width: 777px;
}
#uploadCanvas {
    height: 340px;
    width: 600px !important;
    background-color: #ffffff;
    cursor: default;
    border: 1px solid black;
}
.img-container {
    min-height: 497px;
    max-width: 497px;
    margin-bottom: 1rem;
    background-color: white;
    text-align: center;
    width: 100%;
}

.img-container > img {
    max-width: 100%;
}
.cropSizeDisplay {
    width: 100px;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 10px;
    margin-bottom: 15px;
    margin-top: 5px;
}
button.cropRatio {
    border: 0px;
    margin-bottom: 5px;
    cursor: pointer;
    background-color: #a9b5e9;
}
.blueBgRatio {
    padding: 0px;
    width: 67px;
    height: 36px;
}
.whiteBgRatio {
    height: 28px;
    background-color: #e9edfa;
    margin: auto;
    padding-top: 10px;
    top: -1px;
    position: relative;
}
.availableCroppedImg {
    height: 60px;
    cursor: pointer;
    max-width: 100%;
    width: auto;
}
.croppedAvailableImgContainer {
    position: relative;
    float: left;
    width: 150px;
    text-align: center;
    background-color: #fafafa;
    border: 2px solid #999;
    margin-right: 10px;
}
.selectedAvailableImgContainer {
    border: 2px solid #f36f6d;
}
.selectLanguageOptionContainer {
    float: right;
}

#translateEmailTargetLanguage {
    margin-top: 20px;
    margin-bottom: 10px;
    width: 210px;
    border-radius: 5px;
    padding: 5px;
}

div.videoTile {
    border-left: 5px solid rgb(119 122 252);
    height: 160px;
}
.deleteChatEntry {
    position: relative;
    float: right;
    cursor: pointer;
    color: #999;
}

/* STYLING ADDED BY KIM */

.save-button {
    width: 140px;
    border: 2px solid #f36f6d;
    background-color: #f36f6d;
    border-radius: 7px;
    margin-top: 10px;
    padding: 5px 10px 5px 10px;
    color: #fff;
    float: right;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

.project-library-container {
    width: 100%;
    max-width: 1090px;
    margin: 0 auto;
    clear: both;
    display: flex;
    gap: 30px;
    justify-content: flex-start;
}
.project-library-item {
    width: 240px;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #ef6d6b;
    cursor: pointer;
    text-align: center;
    height: 160px;
    position: relative;
    background-color: #fff;
    transition: all 0.7s;
}
.project-library-item:hover {
    filter: drop-shadow(0 0 0.25rem #999);
}

.dummyClass {
}
/* STYLING ADDED BY JAN */
.hugeProjectsContainer {
    width: 1700px;
    padding: 20px 30px;
    max-width: 95vw;
}

@media (min-width: 1800px) and (max-width: 2500px) {
    .hugeProjectsContainer {
        max-width: 1890px !important;
    }
}

@media (min-width: 2500px) {
    .hugeProjectsContainer {
        max-width: 2500px !important;
    }
}

.folderSelector {
    background-color: #feecec;
    cursor: pointer;
    padding: 0px 0px 10px 15px;
    display: inline-block;
    border-radius: 5px;
    color: #f56d6d;
    margin-right: 15px;
    margin-bottom: 15px;
}
.addFolder {
    border: 1px solid #f56c6d;
    padding: 3px;
    top: 3px;
    border-radius: 5px;
    color: #f56c6d;
    font-size: 24px;
    height: 36px;
    width: 40px;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
}

.folderSelectorLabel {
    padding: 10px 0px 0px 10px;
}
.folderSelector .material-icons,
.folderSelector .material-symbols-outlined {
    position: relative;
    top: 7px;
}
.projectsContainer {
    width: 100%;
    padding-top: 30px;
    display: flex;
    gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
}
.myProjects {
    width: 235px;
    height: 320px;
    border: 1px solid #dcdcdc;
    position: relative;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.3s;
}
.myProjects:hover {
    filter: drop-shadow(0 0 5px #999);
}

.myProjectsLink {
    width: 235px;
    position: relative;
    display: block;
}

.myProjects:nth-of-type(6n),
.myProjects:nth-of-type(12n),
.myProjects:nth-of-type(18n),
.myProjects:nth-of-type(24n),
.myProjects:nth-of-type(30n),
.myProjects:nth-of-type(36n) {
    margin-left: 0px;
}

.addMyProjects {
    border: 1px solid #f56d6d !important;
    margin-left: 0px;
}

.myProjectsDetails {
    position: absolute;
    bottom: 0px;
    height: 50px;
    border-top: 1px solid #dcdcdc;
    padding: 10px;
    width: calc(100% - 20px);
}
.myProjectsTitle {
    font-weight: bold;
    width: 100%;
    display: block;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    text-align: left;
}

.addMyProjects .myProjectsTitle {
    color: #f56d6d;
    font-size: 20px;
    text-align: center;
    padding-top: 12px;
}
.addMyProjects .myProjectsDetails {
    border-top: 1px solid #f56d6d;
}

.addMyProjects .addNewProject {
    font-size: 110px;
    color: #f56c6d;
    width: 100%;
    text-align: center;
    display: inline-block;
    padding-top: 50px;
}
.myProjectsDetailsIcons {
    position: absolute;
    bottom: 12px;
}
.myProjectsDetailsIcons .material-symbols-outlined {
    position: relative;
    float: left;
    top: 7px;
}
.myProjectsIconDetails {
    float: left;
    font-size: 11px;
    display: inline-block;
    top: 11px;
    position: relative;
    padding-right: 9px;
    padding-left: 3px;
}
.myProjectsSettings {
    right: -18px !important;
    float: right;
}
.myProjectsDetailsIconsContainer .material-symbols-outlined {
    font-size: 20px;
}
.myProjectsDetailsIconsContainer {
    position: relative;
    float: left;
    color: #333;
    width: 65px;
}

.myProjectsSettings {
    font-weight: bold !important;
    position: absolute !important;
    right: -26px !important;
}

.projectScreenShot {
    width: calc(100% - 30px);
    overflow: hidden;
    height: 220px;
    padding: 15px;
}
.projectScreenShot img {
    width: 100%;
}

.projectSettingsMenu {
    position: absolute;
    z-index: 11;
    bottom: -10px;
    padding: 5px;
    border: 0px solid #999;
    width: 0px;
    color: #333;
    height: 0px;
    padding: 0px;
    transition: all 0.6s;
    overflow: hidden; /* opacity: 0; */
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.projectSettingsMenu::before {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: green;
    padding: 30px;
}
.projectSettingsMenuBackground {
    position: fixed;
    inset: 0;
    z-index: 11;
}
.projectSettingsMenuLabel {
    position: relative;
    left: 10px;
    bottom: 6px;
    font-size: 12px;
}
.settingsItem:hover {
    background-color: #ededed;
}
.settingsItem {
    padding: 5px;
}

/* share project modal */

/*#shareProjectModal { height: auto; min-height: 500px; width: 480px; top: calc(50vh - 260px); left: calc(50vw - 240px); box-sizing: content-box; display: flex; flex-direction: column; transition: all .5s; box-sizing: content-box; left: 0; right: 0; margin: auto; }*/
#shareProjectModal {
    height: auto;
    min-height: 500px;
    width: 800px;
    display: flex;
    flex-direction: column;
    transition: all 0.5s;
    box-sizing: content-box;
}
#shareProjectModal h1 {
    font-weight: normal;
}
.shareProjectContainer {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
}
/*.shareProjectEmail-input { margin-bottom: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 5px; border: 1px solid #ddd; border-radius: 4px; }*/
.shareProjectEmail-input {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 160px;
    overflow-y: scroll;
}
.shareProjectEmail-input input {
    flex: 1;
    padding: 5px;
    border: none;
    outline: none;
    min-width: 150px;
}
.shareProjectEmail-item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background-color: #f9faff;
    border-radius: 20px;
    margin: 5px 5px 5px 0;
    border: 1px solid #999;
}
.shareProjectEmail-item span {
    margin-right: 5px;
    font-size: 12px;
}
.shareProjectEmail-item button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #999;
}
.shareProjectEmailBottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.shareProjectEmailButtonsContainer {
    position: absolute;
    bottom: 30px;
    width: calc(100% - 40px);
}
.shareProjectEmailButtonsContainer #sendButton {
    background-color: #f56c6d;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    float: right;
    margin-left: 10px;
}
.shareProjectEmailButtonsContainer #cancelButton {
    background-color: #fff;
    color: #f56c6d;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    float: right;
    margin-left: 10px;
}
.shareProjectEmailButtonsContainer #linkButton {
    background-color: #fff;
    color: #f56c6d;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: left;
}
.shareProjectEmailButtonsContainer #linkButton .material-symbols-outlined {
    font-size: 40px;
    transform: rotateY(0deg) rotate(45deg);
    top: -10px;
    position: relative;
}

.shareProjectAvatar {
    height: 20px;
    width: 20px;
    background-color: #542cb4;
    text-align: center;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.shareProjectAvatar.is-project-owner {
    background-color: #f56c6d;
}
.shareProjectAvatar:nth-of-type(2) {
    background: #f56c6d !important;
    color: #fff !important;
}

#shareProjectCurrentAccess {
    max-height: 210px;
    overflow: scroll;
    padding-right: 15px;
    padding-left: 20px;
    margin-bottom: 45px;
    box-sizing: content-box;
}

.shareProjectCurrentAccessUser {
    display: flex;
    padding-bottom: 10px;
}
.shareProjectCurrentAccessUser .userRole {
    margin-left: auto;
}
.shareProjectCurrentAccessUser .userName {
    padding: 0px 10px;
}
.userRole select {
    border: 0px;
    outline: none;
    text-align: center;
}

/* share project modal */
#shareProjectModal h1 {
    font-weight: normal;
}
.shareProjectContainer {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
}
.shareProjectEmail-input {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.shareProjectEmail-input input {
    flex: 1;
    padding: 5px;
    border: none;
    outline: none;
    min-width: 150px;
}
.shareProjectEmail-item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background-color: #f9faff;
    border-radius: 20px;
    margin: 5px 5px 5px 0;
    border: 1px solid #999;
}
.shareProjectEmail-item span {
    margin-right: 5px;
    font-size: 12px;
}
.shareProjectEmail-item button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #999;
}
.shareProjectEmailBottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.shareProjectEmailButtonsContainer {
    position: absolute;
    bottom: 30px;
    width: calc(100% - 80px);
}
.shareProjectEmailButtonsContainer #sendButton {
    background-color: #f56c6d;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    float: right;
    margin-left: 10px;
}
.shareProjectEmailButtonsContainer #cancelButton {
    background-color: #fff;
    color: #f56c6d;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    float: right;
    margin-left: 10px;
}
.shareProjectEmailButtonsContainer #linkButton {
    background-color: #fff;
    color: #f56c6d;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: left;
}
.shareProjectEmailButtonsContainer #linkButton .material-symbols-outlined {
    font-size: 40px;
    transform: rotateY(0deg) rotate(45deg);
    top: -10px;
    position: relative;
    display: none;
}

.shareProjectAvatar {
    height: 20px;
    width: 20px;
    background-color: #542cb4;
    text-align: center;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.shareProjectAvatar:nth-of-type(2) {
    background: #f56c6d !important;
    color: #fff !important;
}

/* #shareProjectModal input[type=checkbox]  {
    accent-color: #f56c6d;
  opacity: 0;
  }
 #shareProjectModal input[type=checkbox]:checked + label {
    font-style: normal;
  }  */
#shareProjectModal input[type="checkbox"]:checked + label::before {
    content: "✔";
    display: inline-block;
    margin-right: 8px;
    color: #fff;
    position: absolute;
    left: 45px;
    font-weight: normal;
    margin-top: 5px;
    font-weight: normal;
}

#notifyCheckbox {
    appearance: none;
    cursor: pointer;
    -webkit-appearance: none;
    align-content: center;
    justify-content: center;
    font-size: 2rem;
    padding: 6px;
    border: 1px solid #999;
    border-radius: 2px;
    top: 4px;
    position: relative;
}
#notifyCheckbox:checked {
    background-color: #f56c6d;
    border: 1px solid #ff0000;
}
#shareProjectModal input[type="checkbox"]::before {
    content: "";
    display: inline-block;
    margin-right: 8px;
    color: #fff;
    position: absolute;
    left: 45px;
}
#notifyMessage {
    resize: none;
    width: 400px;
    height: 80px;
    padding: 20px;
    clear: both;
    border: 1px solid #e0d4d4;
    border-radius: 5px;
    margin-top: 20px;
}

.search-MyProjects-container {
    position: absolute;
    top: 30px;
    right: 30px;
}

.search-MyProjects-container .material-symbols-outlined {
    font-size: 20px;
    position: absolute;
    left: 3px;
    color: #7e7e7e;
    top: 3px;
}

.folderContainer {
    display: none;
}

#searchForProjects {
    padding: 5px 10px;
    border-radius: 5px;
    color: #7e7e7e;
    border: 1px solid #ededed;
    background-color: #ededed;
    outline: none;
    padding-left: 30px;
    width: 220px;
}

#searchForProjects::placeholder {
    font-style: italic;
}
#searchForProjects::placeholder::before {
    content: "\2716";
}

.downloadProjectLink {
    color: #333;
    text-decoration: none;
}
.downloadProjectLink:hover {
    text-decoration: underline;
}
#myprojectsFilter,
#myprojectsOwner {
    float: right;
    padding: 5px;
    background-color: #fafafa;
    outline: none;
    border: none;
    width: 150px;
}
#myprojectsOwner {
    margin-right: 20px;
}
.projectNameContainer {
    position: relative;
    float: left;
    margin-left: 40px;
}
#projectIcons {
    position: relative;
    margin-top: 0px;
    padding-left: 20px;
    color: #fff;
    width: 400px;
    height: 29px;
    display: flex;
    gap: 15px;
}
#projectIcons span {
    cursor: pointer;
    color: #eee;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50px;
}
#projectIcons span:hover {
    color: #ee7268;
}

#bottomRibbon button {
    display: none !important;
}

#projectDownloadLinks {
    max-height: 380px;
    overflow: scroll;
    height: 380px;
}

#downloadAllAsZip {
    width: 140px;
    border: 2px solid #f36f6d;
    background-color: #f36f6d;
    border-radius: 7px;
    margin-top: 10px;
    padding: 5px 10px 5px 10px;
    color: #fff;
    float: right;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    position: absolute;
    right: 30px;
    bottom: 30px;
}

.contentTilesFilter {
    appearance: none;
    cursor: pointer;
    -webkit-appearance: none;
    align-content: center;
    justify-content: center;
    font-size: 2rem;
    padding: 6px;
    border: 1px solid #999;
    border-radius: 2px;
    top: 4px;
    position: relative;
}
.contentTilesFilter:checked {
    background-color: #f56c6d;
    border: 1px solid #ff0000;
}
.contentTilesFilter:checked + label::before {
    content: "✓";
    display: inline-block; /* ✔ */
    color: #fff;
    position: absolute;
    left: -17px;
    font-weight: normal;
    margin-top: 7px;
    font-weight: normal;
    font-family: system-ui;
}

/* take the tour      */
/* Highlight box */
.highlight {
    position: relative;
    z-index: 9999 !important; /* border: 3px solid #ff9800;
    box-shadow: 0 0 15px #ff9800; */
    border-radius: 5px;
    transition: box-shadow 0.3s ease-in-out;
    background-color: #fff !important;
}

/* Tour description box */
#tour-box {
    position: absolute;
    z-index: 10001 !important; /* Ensure it's above everything */
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    color: #333;
    line-height: 1.5;
    transform: translateY(-10px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition: all 0.5s;
}

#tour-box.show {
    opacity: 1;
    transform: translateY(0);
}
#tour-title {
    color: #ee7268 !important;
    font-weight: bold;
    padding-bottom: 5px !important;
    display: inline-block;
    font-size: 16px;
}

#tour-box p {
    margin: 0 0 10px 0;
    color: #444;
    padding-bottom: 20px !important;
    max-width: 300px;
}

#tour-next {
    display: inline-block;
    padding: 8px 16px;
    background-color: #ee7268;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer; /* transition: background-color 0.3s ease; */
}

#tour-next:hover {
    /* background-color: #e68900; */
}

#tour-next:focus {
    outline: none; /* box-shadow: 0 0 3px 2px rgba(255, 152, 0, 0.5); */
}

.takeTheTourLink {
    display: none;
    float: right;
    color: #999;
    text-decoration: none;
    position: relative;
    top: 7px;
    left: 40px;
}
.takeTheTourLink:hover {
    color: #fff;
}
.topRibbon:has(.highlight) {
    z-index: 999;
}
.topRibbon:has(.highlight) img {
    opacity: 0.5;
}
#end-tour {
    float: right;
    color: #ef7369;
    top: 10px;
    position: relative;
    cursor: pointer;
}

#exportList {
    max-height: 285px;
    height: 285px;
    overflow-y: scroll;
}
#exportList div {
    padding-bottom: 3px;
}
/* input[name='exportMethod'] { accent-color: #f36f6d;} */

input[name="exportMethod"] {
    display: none;
}

/* Style the custom radio button */
input[name="exportMethod"] + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    line-height: 20px;
}

/* Create the custom radio button */
input[name="exportMethod"] + label:before {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 10px;
    height: 10px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: white;
}

/* Style the custom radio button when selected */
input[name="exportMethod"]:checked + label:before {
    background-color: #f36f6d;
    border-color: #f36f6d;
}

/* Inner circle when selected */
input[name="exportMethod"]:checked + label:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Hide the default checkbox */
#exportList input[type="checkbox"] {
    display: none;
}

/* Style the custom checkbox */
#exportList input[type="checkbox"] + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    line-height: 20px;
}

/* Create the custom checkbox */
#exportList input[type="checkbox"] + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: white;
}

/* Style the custom checkbox when checked */
#exportList input[type="checkbox"]:checked + label:before {
    background-color: #f36f6d;
    border-color: #f36f6d;
}

/* Checkmark for the custom checkbox */
#exportList input[type="checkbox"]:checked + label:after {
    content: "✓";
    position: absolute;
    left: 2px;
    top: -3px;
    color: #fff; /* width: 10px; */ /* height: 10px; */
    border-radius: 2px; /* background: white; */
}
#selectAllEmailsToExport {
    color: #f36f6d;
    padding-left: 10px;
    cursor: pointer;
    padding-right: 5px;
}

#selectNoneEmailsToExport {
    color: #f36f6d;
    padding-left: 5px;
    cursor: pointer;
    padding-right: 5px;
}
#selectAllOrNoneEmailsToExport {
    padding: 10px;
    background-color: #f6f6f6;
    border-radius: 5px;
    height: 20px;
    margin-bottom: 10px;
}

.select-link {
    color: #f36f6d;
    padding-left: 10px;
    cursor: pointer;
    padding-right: 5px;
}

.current-user {
    color: #a4a4a4;
    display: flex;
    gap: 3px;
    align-items: center;
    font-size: 10px;
}
/* .current-user:hover { color:#fff; } */
.current-user-name {
    text-wrap: nowrap;
}

#availablePersonas {
    width: 100vw;
    min-width: 3000px;
    transition: all 0.5s;
    left: 0px;
    position: relative;
}
#availablePersonasViewPort {
    height: 155px;
    width: calc(100% - 66px);
    display: inline-block;
    overflow: hidden;
}

#availablePersonasViewportSlideLeft,
#availablePersonasViewportSlideRight,
#availableCrawledImagesViewportSlideRight,
#availableCrawledImagesViewportSlideLeft {
    position: relative;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    top: -100px;
}

#availablePersonasViewportSlideLeft span,
#availablePersonasViewportSlideRight span {
    border: 1px solid #ee7268;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    color: #ee7268;
    cursor: pointer;
}
#personaModalTitle {
    position: relative;
    clear: both;
    text-align: center;
    padding-bottom: 20px;
}

#selectPersonasModal .accordion {
    background-color: #fafbfc;
    border-bottom: 1px solid #e5eaf2;
}
#selectPersonasModal .panel {
    max-height: 0px;
    padding: 0px;
    transition: all 0.3s;
}
#selectPersonasModal .panel p {
    cursor: default !important;
    text-decoration: none;
    font-size: 14px;
}
#selectPersonasModal .active,
.accordion:hover {
    background-color: #e5eaf2;
}
#selectPersonasModal .panel {
    display: block;
}

#selectPersonasModal .active {
    max-height: unset;
    padding: 10px 20px;
}
#selectPersonasModal .accordion {
    font-size: 16px;
    font-weight: bold;
}
#selectPersonasModal .accordion .material-symbols-outlined {
    rotate: 90deg;
    transition: all 0.5s;
}
.openAcc .material-symbols-outlined {
    transform: rotate(180deg); /* Rotate the icon when panel is active */
    transition: transform 0.3s ease; /* Smooth rotation */
}
#projectIcons span.export::after {
    content: "Export";
    width: max-content;
    display: block;
    font-size: 10px;
    font-family: "Montserrat", sans-serif;
}
#projectIcons span.translate::after {
    content: "Localize";
    width: max-content;
    display: block;
    font-size: 10px;
    font-family: "Montserrat", sans-serif;
}
#projectIcons span.save::after {
    content: "Save";
    width: max-content;
    display: block;
    font-size: 10px;
    font-family: "Montserrat", sans-serif;
}
#projectIcons span.new-project::after {
    content: "New";
    width: max-content;
    display: block;
    font-size: 10px;
    font-family: "Montserrat", sans-serif;
}
#projectIcons span.duplicate-project::after {
    content: "Duplicate";
    width: max-content;
    display: block;
    font-size: 10px;
    font-family: "Montserrat", sans-serif;
}

span.export-as-pdf::after {
    content: "Save as PDF";
    width: max-content;
    display: block;
    font-size: 10px;
    font-family: "Montserrat", sans-serif;
}

#currentModuleTextLength {
    width: 210px;
    color: #999;
    font-style: italic;
}

.incompatible-modules-message {
    margin: 0 0 5px 23px;
    color: red;
    font-size: 10px;
}
#addTileControls {
    display: flex;
    border-bottom: 1px solid #c1c1c1;
    margin-bottom: 20px;
    padding: 20px;
}
.addTileOption {
    margin-right: 30px;
    color: #999999;
    cursor: pointer;
}
.addTileSelectedOption {
    font-weight: bold;
    color: #f36f6d;
}
#addTileViewport {
    width: 100%;
    height: 660px;
    overflow: hidden;
}
#addTileViewport label {
    padding-right: 10px;
}
.addTileSlide {
    position: relative;
    float: left;
    width: 1100px;
    height: 490px;
    box-sizing: border-box;
    padding: 30px;
    padding-top: 0px;
}
#addTileSliderContainer {
    left: 0px;
    position: relative;
    transition: all 0.5s;
    width: 3300px;
}
#submitManualPage .button {
    top: -31px;
    position: relative;
}
#crawlPageModal {
    height: 750px !important;
}
#crawlPageModal .dropdown-options {
    height: 80px;
    overflow: scroll;
}
.addTileSlide .twoCols {
    padding-left: 0px !important;
}
.dropdown-selected {
    background-color: #e9e7e7;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.dropdown-selected-tag {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background-color: #f9faff;
    border-radius: 20px;
    border: 1px solid #999;
}
.addTileSlide h3 {
    margin: 0px;
}
button.button {
    background-color: #f56c6d;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    float: right;
    margin-left: 10px;
}
#createTilePreviewImg,
#addSourceManuallyPreviewImg {
    max-width: 250px;
    max-height: 80px;
    display: none;
    float: left;
    position: relative;
    margin-right: 30px;
}
#createTilePreviewImg {
    max-height: 65px !important;
}
.highlight .material-symbols-outlined {
    color: #333 !important;
}

.incompatible-modules-message {
    margin: 0 0 5px 23px;
    color: red;
    font-size: 10px;
}

.vertical-scroll-container {
    margin: 10px 0;
    overflow-x: scroll;
}
.crop-images-list {
    display: grid;
    grid-template-columns: repeat(6, 155px);
    gap: 10px;
}

.magnity-email-version-container {
    position: relative;
    float: left;
    max-width: 890px;
    width: 100%;
}
.magnity-email-version-subject-container {
    max-width: 890px;
    height: 105px;
}
.magnity-email-version-subject-container.magnity-landingpage-version-subject-container {
    height: 150px;
}
.magnity-email-version-subject-element {
    margin: 0 0 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.magnity-email-version-subject-input-label {
    width: 100px;
    display: block;
    font-weight: bold;
    color: #323345;
}
#canvas.landingpage-composer .magnity-email-version-subject-input-label {
    width: 150px;
}
.magnity-email-version-subject-input-element {
    padding: 5px 10px 5px 10px;
    border-radius: 7px;
    border: 1px solid #bcbcbc;
    width: 765px;
    font-size: 16px;
}

@media only screen and (max-width: 1540px) {
    .magnity-email-version-subject-container {
        max-width: 800px;
    }
}

label[for="createTileUploadImg"],
label[for="addSourceManuallyUploadImg"] {
    position: relative;
    float: left;
}
label[for="addSourceManuallyUploadImg"]::after,
label[for="createTileUploadImg"]::after {
    content: "Add image";
    position: absolute;
    left: -20px;
    width: 100px;
    text-align: center;
    font-size: 12px;
    top: 55px;
    color: #d4d4d4;
}
label[for="addSourceManuallyUploadImg"] div,
label[for="createTileUploadImg"] div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 80px;
}
label[for="addSourceManuallyUploadImg"] .material-symbols-outlined,
label[for="createTileUploadImg"] .material-symbols-outlined {
    font-size: 60px;
    color: #d4d4d4;
    cursor: pointer;
}

#richTextEditor {
    position: absolute;
    height: 100%;
    overflow: scroll;
    z-index: 19;
    right: -1600px;
    width: 800px;
    clear: both;
    padding-top: 0px;
    background-color: #fff;
}

#richTextEditor .ql-editor {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.625;
    color: #111827;
}

#richTextEditor .ql-editor h1 {
    font-size: 28px;
    font-weight: 600;
    padding-top: 0;
}
#richTextEditor .ql-editor h2 {
    font-size: 23px;
    font-weight: 600;
}
#richTextEditor .ql-editor h3 {
    font-size: 18px;
    font-weight: 600;
}
#richTextEditor .ql-editor ul,
#richTextEditor .ql-editor ol {
    padding-left: 35px;
}
#richTextEditor .ql-editor ul {
    list-style: disc outside;
}
#richTextEditor .ql-editor ol {
    list-style: decimal outside;
}
#richTextEditor .ql-editor li {
    margin-bottom: 6px;
}
#richTextEditor .ql-editor li .ql-ui {
    font-size: 2.3em;
    color: #111827;
    line-height: 1;
    display: inline-block;
    transform: translateY(-0.22em);
}
#richTextEditor .ql-editor strong {
    font-weight: 700;
}
#richTextEditor .ql-editor h3 strong {
    font-weight: inherit;
}

#editor-container {
    height: calc(100% - 50px);
    overflow-y: scroll;
}
#editor-container #editor {
    height: calc(100% - 90px);
    font-family: "Montserrat", sans-serif;
}
#editor-container #toolbar {
    font-family: "Montserrat", sans-serif;
}
#selectAllAvailableLanguages,
#selectNoneAvailableLanguages {
    cursor: pointer;
    margin-right: 40px;
}
#selectAllAvailableLanguages:hover,
#selectNoneAvailableLanguages:hover {
    text-decoration: underline;
}

#postPlannerList,
#dateTimeForPost {
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    border: 1px solid #999;
    outline: none;
}
#soMePostPlannerModal #exportResult {
    text-align: center;
}
.myProjectsLink[href*="alttemplate=playground"]::after {
    content: "Content Agent";
    position: absolute;
    top: 3px;
    font-size: 10px;
    color: #999;
    background-color: #fff;
    padding: 3px;
    right: 0px;
}
.myProjectsLink[href*="alttemplate=emailcomposer"]::after {
    content: "Email";
    position: absolute;
    top: 3px;
    font-size: 10px;
    color: #999;
    background-color: #fff;
    padding: 3px;
    right: 0px;
}
.myProjectsLink[href*="alttemplate=somecomposer"]::after {
    content: "SoMe";
    position: absolute;
    top: 3px;
    font-size: 10px;
    color: #999;
    background-color: #fff;
    padding: 3px;
    right: 0px;
}
.myProjectsLink[href*="alttemplate=landingpagecomposer"]::after {
    content: "Ladingpage";
    position: absolute;
    top: 3px;
    font-size: 10px;
    color: #999;
    background-color: #fff;
    padding: 3px;
    right: 0px;
}
.cancelScheduledPost {
    margin-top: 10px;
    cursor: pointer;
    color: #ef6d6b;
    z-index: 1;
    position: relative;
}

.myAdminMenuBreaker {
    height: 1px;
    border-top: 1px solid #ecf0f5;
    margin-top: 10px;
}
.myAdminMenuTabs {
    width: 300px;
    background-color: #fff;
    height: calc(100vh - 100px);
    position: relative;
    float: left;
}
.myAdminCanvas {
    height: calc(100vh - 110px);
    position: relative;
    float: left;
    padding: 30px;
    width: calc(100vw - 300px);
    box-sizing: border-box;
    overflow: scroll;
}

.notification {
    position: absolute;
    z-index: 902;
    top: -75px;
    height: 30px;
    background-color: #ef6d6b;
    width: 100vw;
    padding: 20px;
    color: #fff;
    text-align: center;
    transition: all 0.5s;
}
.suggestShareEmails {
    position: relative;
    float: left;
    clear: both;
    width: 100%;
    max-height: 88px;
    padding: 5px;
    padding-bottom: 0px;
    overflow: scroll;
    box-sizing: border-box;
    background-color: #f7f7f7;
}
.suggestShareEmails div {
    padding: 0 0 5px 5px;
}
.suggestShareEmails div:hover {
    cursor: pointer;
    text-decoration: underline;
}

#crawledContentImageViewport {
    width: 100%;
    height: 250px;
    overflow: hidden;
    overflow-y: hidden;
}
#crawledContentImageContainer {
    height: 250px;
    width: auto;
    min-width: 5000%;
}
img.availableCrawledImage {
    padding: 5px;
    margin-right: 10px;
    border: 2px solid #fff;
    cursor: pointer;
    background-color: #efefef;
}

.selectedCrawledImage {
    border: 2px solid #f36f6d !important;
}

/** Admin Section **/
.app-link {
    text-decoration: none;
    width: 100%;
    position: relative;
    display: block;
    color: #333;
    margin-left: 34px;
    font-size: 14px;
}
.app-link:hover,
.app-link.app-link-selected {
    text-decoration: underline;
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.filters-container-headline {
    font-size: 20px;
}
.filters-dropdown-container {
    height: 20px;
    line-height: 20px;
}
.filters-sort-selector {
    height: 45px;
    padding: 10px 45px 10px 20px;
    position: relative;
    border-radius: 2px;
    border-color: #dcdcdc;
    font-size: 14px;
    line-height: 20px;
    color: #000;
    text-overflow: ellipsis;
    cursor: pointer;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='17.798' height='10.113' viewBox='0 0 17.798 10.113'><path d='M6496,6567.085l8,8.2-8,8.2' transform='translate(6584.185 -6495.284) rotate(90)' fill='none' stroke='rgb(51,51,51)' stroke-width='2'/></svg>")
        no-repeat;
    background-position: right 14px top 50%;
    background-size: 16.4px 8px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
}
.rule-list-container {
    margin: 20px 0;
    font-size: 13px;
}
.rule-container-header {
    font-weight: bold;
}
.rule-container-header .rule-area {
    font-style: normal;
}
.rule-container-header:last-child {
    border-bottom-width: 1px;
}
.rule-container-header,
.rule-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-width: 1px 1px 0;
    border-color: #dcdcdc;
    border-style: solid;
    background-color: #fff;
    line-height: 25px;
}
.rule-container:last-child {
    border-width: 1px;
}
.rule-container:hover {
    background-color: #eee;
}
.rule-info-container {
    width: 100%;
    display: flex;
    gap: 10px;
}
.rule-info-container > *:last-child {
    margin-left: auto;
}

.filters-check-box-group-container {
    display: flex;
    gap: 15px;
}
.filters-check-box-group-container label {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rule-field {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.rule-name {
    width: 300px;
}
.rule-type {
    width: 120px;
}
.rule-medium {
    width: 90px;
}
.rule-medium.base-prompt {
    width: 100px;
}
.rule-content-type.base-prompt {
    width: 115px;
}
.rule-edit-date {
    width: 150px;
}
.rule-role {
    width: 100px;
}
.rule-role.base-prompt {
    width: 70px;
}
.rule-property {
    width: 200px;
}
.rule-market-name {
    width: 150px;
}
.rule-market-language {
    width: 150px;
}
.rule-market-identifier {
    width: 80px;
}
.rule-market-medium {
    width: 100px;
}
.rule-area {
    width: 200px;
    font-style: italic;
}
.rule-status {
    width: 100px;
}

.rule-quick-menu-container {
    width: 100px;
    color: #ef6d6b;
    text-transform: uppercase;
    cursor: pointer;
}
.rule-quick-menu-container.disabled {
    color: #ccc;
    cursor: default;
}
.rule-quick-menu-container:hover:not(.disabled) {
    text-decoration: underline;
}
.rule-menu-container {
    width: 24px;
    cursor: pointer;
}
.rule-button {
    padding: 10px;
    display: inline-block;
    border: 1px solid #000;
    border-radius: 5px;
    background: #000;
    color: #fff;
    cursor: pointer;
}
.rule-button.rule-button-secondary {
    border-color: #dcdcdc;
    background-color: #fff;
    color: #000;
}
.rule-list-button-list-container {
    margin: 20px 0;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}
.rule-list-button-list-container + .edit-rule-panel {
    border-top-width: 1px;
}
.rule-list-button-container {
    display: flex;
    gap: 20px;
}
.last-rule-update-element {
}

.edit-rule-panel {
    padding: 1em;
    background-color: white;
    border-style: solid;
    border-color: #dcdcdc;
    border-width: 0 1px 0 1px;
}
.edit-rule-panel:last-of-type {
    border-bottom-width: 1px;
}
.edit-base-prompt-panel {
    padding: 1em;
    background-color: white;
    border-style: solid;
    border-color: #dcdcdc;
    border-width: 0 1px 0 1px;
}
.edit-base-prompt-panel:last-of-type {
    border-bottom-width: 1px;
}
.rule-item-container {
    width: 100%;
    margin: 10px 0;
    display: flex;
    gap: 10px;
}
.rule-item-label {
    width: 130px;
    font-weight: bold;
    line-height: 35px;
}
.rule-item-label-text {
    font-weight: normal;
    line-height: 1.1rem;
}
.rule-item-label-text .help-text {
    font-size: x-small;
    color: #7e7e7e;
}
.rule-item-input-container {
    flex-grow: 1;
}
.rule-item-selector {
    width: 100%;
    max-width: 200px;
    height: 35px;
    padding: 5px 45px 5px 10px;
    position: relative;
    border-radius: 2px;
    border-color: #dcdcdc;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    line-height: 25px;
    color: #000;
    text-overflow: ellipsis;
    cursor: pointer;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='17.798' height='10.113' viewBox='0 0 17.798 10.113'><path d='M6496,6567.085l8,8.2-8,8.2' transform='translate(6584.185 -6495.284) rotate(90)' fill='none' stroke='rgb(51,51,51)' stroke-width='2'/></svg>")
        no-repeat;
    background-position: right 14px top 50%;
    background-size: 16.4px 8px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
}
.rule-item-textarea {
    width: 100%;
    max-width: 800px;
    min-width: 600px;
    min-height: 12rem;
    max-height: 1000px;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 2px;
    border-color: #dcdcdc;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    line-height: 22px;
}
.rule-item-textarea:focus {
    outline: none;
}
.rule-item-list-container {
    width: 100%;
    max-width: 800px;
    min-width: 600px;
    min-height: 12rem;
    max-height: 250px;
    overflow-y: scroll;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 2px;
    border: 1px solid #dcdcdc;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    line-height: 15px;
    color: rgb(84, 84, 84);
    background-color: rgba(239, 239, 239, 0.3);
}
.rule-item-list-item {
    margin: 7px 0;
    display: flex;
    gap: 10px;
}
.rule-item-list-market {
    width: 60px;
    flex: 0 0 auto;
}
.rule-item-list-url {
}
.rule-item-list-update {
    width: 60px;
    flex: 0 0 auto;
}
.rule-item-selector-disabled-element {
    width: 100%;
    max-width: 200px;
    height: 35px;
    padding: 5px 45px 5px 10px;
    box-sizing: border-box;
    position: relative;
    border-radius: 2px;
    border: 1px solid #dcdcdc;
    font-size: 14px;
    line-height: 25px;
    color: #000;
    text-overflow: ellipsis;
    cursor: pointer;
    background-color: #fff;
    opacity: 0.7;
}
.rule-button-container {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    padding-left: 140px;
}

.edit-base-prompt-panel .rule-item-label {
    width: 300px;
}
.edit-base-prompt-panel .rule-item-textarea,
.edit-base-prompt-panel .rule-item-list-container,
.edit-base-prompt-panel .ql-container {
    max-width: 850px;
}
.edit-base-prompt-panel .rule-button-container {
    padding-left: 310px;
}

div[data-module="heroWithCta"] p,
div[data-module="heroWithCta"] ol,
div[data-module="heroWithCta"] ul {
    margin: 0;
}
div[data-module="heroWithCta"] p:empty {
    content: " ";
    height: 21px;
}

.pdf-page-range {
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #333;
}
.page-range-invalid {
    border-color: red;
}
.page-range-invalid-message {
    margin-top: 5px;
}

.pdfPreview {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 475px;
    height: 465px;
}

.campaign-url-copy-container {
}
.campaign-url-copy-label {
    cursor: pointer;
}
.campaign-url-copy-label:hover {
    text-decoration: underline;
}
.shall-copy-campaign-url-input {
}

#exportedEmailsContainer.twoCols {
    width: 60% !important;
}
#sendTextOfExportedEmails.twoCols {
    width: 40% !important;
}

.myProjectsDetails {
    overflow: hidden;
}

.save-list {
    max-height: 380px;
    overflow: scroll;
    width: 740px;
}
.save-list div {
    width: 50%;
    position: relative;
    float: left;
    padding-bottom: 3px;
}
.save-list input[type="checkbox"] + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: white;
}
.save-list input[type="checkbox"] + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    line-height: 20px;
}
.save-list input[type="checkbox"] {
    display: none;
}
.save-list input[type="checkbox"]:checked + label:before {
    background-color: #f36f6d;
    border-color: #f36f6d;
}
.save-list input[type="checkbox"]:checked + label:after {
    content: "✓";
    position: absolute;
    left: 2px;
    top: -3px;
    color: #fff; /* width: 10px; */ /* height: 10px; */
    border-radius: 2px; /* background: white; */
}

#translateEmailTargetMultiLanguages input[type="checkbox"] + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: white;
}
#translateEmailTargetMultiLanguages input[type="checkbox"] + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    line-height: 20px;
}
#translateEmailTargetMultiLanguages input[type="checkbox"] {
    display: none;
}
#translateEmailTargetMultiLanguages input[type="checkbox"]:checked + label:before {
    background-color: #f36f6d;
    border-color: #f36f6d;
}
#translateEmailTargetMultiLanguages input[type="checkbox"]:checked + label:after {
    content: "✓";
    position: absolute;
    left: 2px;
    top: -3px;
    color: #fff; /* width: 10px; */ /* height: 10px; */
    border-radius: 2px; /* background: white; */
}

.content-tile-contact-info-list {
    margin: 10px 0;
}
.content-tile-contact-info-item {
    margin: 5px 0;
}
.content-tile-contact-info-container {
}
.content-tile-contact-info-container:after {
    content: "";
    display: block;
    clear: both;
}
.content-tile-contact-image-container {
}
.content-tile-contact-image-container.composerTileImg {
    height: auto;
}
.content-tile-contact-image-element {
    aspect-ratio: 1 / 1;
}
.content-tile-contact-info-item-name {
    font-weight: bold;
}
.content-tile-contact-info-item-role {
}
.content-tile-contact-info-item-email {
    margin-top: 20px;
    text-decoration: underline;
}
.content-tile-contact-info-item-phone {
}

.content-tiles-loading {
}
.content-tiles-no-response {
}

.content-tile-editor-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 18, 24, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 998;
}

.modal.edit-content-tile-modal {
    width: 90vw;
    max-width: 1100px;
    max-height: 80vh;
    height: 850px;
    padding: 0;
    background: #f9fafb;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.edit-content-tile-modal,
.edit-content-tile-modal *:not(.material-symbols-outlined) {
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}

.edit-content-tile-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.edit-content-tile-modal .modal-header {
    padding: 32px;
    background: #fff;
    border-bottom: none;
    border-radius: 16px 16px 0 0;
}

.edit-content-tile-modal .modal-body {
    height: calc(100% - 130px);
    padding: 20px;
    background: #f9fafb;
    overflow-y: auto;
}

.edit-content-tile-modal .modal-panel {
    margin-bottom: 24px;
}

.edit-content-tile-modal .modal-panel:last-of-type {
    margin-bottom: 0;
}

.edit-content-tile-modal .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 16px 16px;
}

.content-tile-delete-dialog {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
}

.content-tile-delete-card {
    width: min(750px, calc(100vw - 64px));
    background: #fff;
    border-radius: 16px;
    padding: 32px 32px 28px;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16);
    pointer-events: auto;
    z-index: 1001;
    position: relative;
}

.content-tile-delete-card .closeModal {
    position: absolute;
    top: 16px;
    right: 16px;
}

.content-tile-delete-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.content-tile-delete-text {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

.content-tile-delete-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
}

.content-tile-custom-tag-container {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.content-tile-custom-tag-input {
    flex: 1;
    margin-bottom: 0;
}

.content-tile-add-tag-button {
    font-size: 13px;
    white-space: nowrap;
    padding: 8px 16px;
}

.modal-secondary-button {
    background-color: #fff;
    border: 1px solid #d5d8e2;
    color: #4a4f59;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.modal-secondary-button:hover,
.modal-secondary-button:focus-visible {
    border-color: #f36f6d;
    outline: none;
}

.modal-danger-button {
    background: #fff !important;
    border: 2px solid #f36f6d !important;
    color: #f36f6d !important;
}

.modal-danger-button:hover,
.modal-danger-button:focus-visible {
    background-color: #f36f6d;
    border-color: #f36f6d;
    color: #fff;
    outline: none;
}

/* Export, Translate and Add Source Manually modals */
.export-email-modal,
.translate-project-modal,
.add-source-modal {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 80px auto 98px;
}
.export-email-modal.modal,
.translate-project-modal.modal {
    height: 710px;
    max-width: calc(100vw - 20px);
    padding: 0;
    background-color: #fafafa;
}
.add-source-modal.modal {
    height: 810px;
    padding: 0;
    background-color: #fafafa;
}
.modal-header {
    padding: 30px;
    border-radius: 20px 20px 0 0;
    background-color: #fff;
}
.modal-header .closeModal {
    height: 20px;
    padding: 10px;
    top: 20px;
    right: 20px;
    line-height: 20px;
}
.modal-footer {
    padding: 30px;
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    align-items: center;
}
.modal-footer-label {
    display: flex;
    gap: 3px;
    align-items: center;
    font-size: 13px;
    line-height: 20px;
    cursor: pointer;
}
.modal-footer-label:hover {
    text-decoration: underline;
}
.modal-content-container {
    padding: 30px 0 0;
}
.modal-content-two-columns {
    display: grid;
    grid-template-columns: 50% 50%;
}
.modal-content-two-columns-with-divider {
    grid-template-columns: calc(50% - 0.5px) 1px calc(50% - 0.5px);
}
/* Make left column 100px narrower and right column 100px wider for export modal only */
.export-email-modal .modal-content-two-columns-with-divider {
    grid-template-columns: calc(50% - 0.5px - 150px) 1px calc(50% - 0.5px + 150px);
}
.column {
    padding: 0 30px;
    max-height: 502px;
    overflow: scroll;
}
.add-source-modal.modal .column {
    max-height: 602px;
}
.divider {
    background-color: #bcbcbc;
}

.modal-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
}
.modal-button {
    height: 38px;
    padding: 0 20px;
    font-size: 13px;
    line-height: 14px;
    border-radius: 5px;
    background-color: #f36f6d;
    border: none;
    color: #fff;
    cursor: pointer;
}

.modal-button:disabled {
    background: #d6d6d6;
    cursor: default;
}
.modal-accept-button {
}

button.start-export-as-pdf:disabled {
    color: #fff !important;
    border: 1px solid #d6d6d6 !important;
}
button.start-export-as-pdf {
    color: #f36f6d;
    background-color: #fff;
    border: 1px solid #f36f6d;
}

.modal-panel {
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #cecece;
    background-color: #fff;
}
.modal-panel:first-of-type {
    margin-top: 0;
}
.modal-panel:last-of-type {
    margin-bottom: 0;
}
.modal-panel-button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.modal-panel-button-container .modal-button {
    height: 30px;
    line-height: 30px;
}
.modal-panel-title {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
}
.modal-select {
    width: 100%;
    margin: 5px 0;
    padding: 10px;
    border: 1px solid #cecece;
    border-radius: 5px;
    background-color: #fafafa;
}
.modal-select.invalid {
    border-color: red;
}
.link-button {
    font-size: 12px;
    color: #11497b;
    font-weight: 500;
    cursor: pointer;
}
.link-button:hover {
    text-decoration: underline;
}
.modal-text-input {
    width: 100%;
    margin: 5px 0;
    padding: 10px;
    border: 1px solid #cecece;
    border-radius: 5px;
    box-sizing: border-box;
}
.modal-text-input.invalid {
    border-color: red;
}
.panel-description {
    width: 80%;
    margin: 10px 0;
    font-size: 11px;
    line-height: 15px;
}
.column-radio-button-list {
    display: flex;
}
.column-radio-button {
    width: 50%;
    display: flex;
    align-items: center;
    gap: 5px;
}
.panel-radio-button {
    margin: 0;
}
.panel-radio-button-label {
    font-size: 11px;
}

.panel-table {
    width: calc(100% + 40px);
    margin-left: -20px;
    font-size: 11px;
    line-height: 15px;
}
.panel-table-header {
    border-top: 1px solid #cecece;
    border-bottom: 1px solid #cecece;
    background-color: #fafafa;
}
.panel-table-body {
}
.panel-table-row {
    display: flex;
}
.panel-table-body .panel-table-row {
    border-bottom: 1px solid #cecece;
}
.panel-table-body .panel-table-row:last-child {
    border-bottom: none;
}
.panel-table-header-cell {
    font-weight: 600;
}
.panel-table-cell {
    padding: 10px;
    display: flex;
    align-items: center;
    flex-grow: 0;
}

.select-button {
    text-decoration: underline;
    cursor: pointer;
}
.select-button-all {
}

.panel-table-cell-select {
    width: 15px;
}
.panel-table-cell-market {
    width: 200px;
}
.panel-table-cell-industry {
    width: 150px;
}
.panel-table-cell-export-market {
    width: 150px;
}
.panel-table-cell-export-result {
    width: 70px;
}
.panel-table-cell-export-result-link {
    width: 50px;
}
.panel-table-cell-persona {
    flex-grow: 1;
}
.panel-table-select {
    width: 15px;
    height: 15px;
    margin: 0;
}

.input-field-container {
    margin: 10px 0;
    display: flex;
    gap: 10px;
    align-items: center;
}
.input-field-container:last-of-type {
    margin-bottom: 0;
}
.input-field-container.long-text-input-field-container {
    align-items: flex-start;
}
.input-field-container.image-input-field-container {
    height: 60px;
}
.input-field-label {
    width: 90px;
    padding: 10px 0;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 16px;
}
.input-field-element {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #cecece;
    border-radius: 5px;
    background-color: #fafafa;
}
.input-field-element:focus-visible {
    outline: none;
    border-color: #555;
}
.long-text-input-field-element {
    flex-grow: 1;
    height: 380px;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #cecece;
    border-radius: 5px;
    background-color: #fafafa;
    resize: none;
}
.long-text-input-field-element:focus-visible {
    outline: none;
    border-color: #555;
}
.input-field-add-image-button {
    font-size: 60px;
    cursor: pointer;
}
.input-field-hidden-image {
    display: none;
}
.input-field-image-element {
    flex-grow: 1;
}

.input-field-container.input-field-vertical-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.input-field-container.input-field-vertical-container .input-field-label {
    width: 100%;
}
.input-field-container.input-field-vertical-container .input-field-element {
    width: 100%;
}
.input-field-container.input-field-vertical-container .long-text-input-field-element {
    width: 100%;
}

.panel-selector {
    display: flex;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
}
.panel-selector-item {
    padding: 5px 10px;
    border: 1px solid #555;
    border-left: none;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    cursor: pointer;
}
.panel-selector-item.active-item,
.panel-selector-item.active-item:hover {
    background: #f46e6d;
    color: #fff;
}
.panel-selector-item:hover {
    background: #eee;
}
.panel-selector-item:first-child {
    border-left: 1px solid #555;
    border-radius: 5px 0 0 5px;
}
.panel-selector-item:last-child {
    border-radius: 0 5px 5px 0;
}

.modal-panel-segmentation {
    padding-bottom: 0;
}
.dynamic-export-segment-selector {
    width: 50%;
    margin: 15px 0 20px;
}
.panel-table-cell-select-multiple {
    padding-top: 20px;
    padding-left: 45px;
    display: flex;
    gap: 5px;
}
.new-program-button {
    margin-top: 10px;
}
.cancel-new-program-button {
    color: #f36f6d;
}

.pdf-preview-frame {
    width: 100%;
    height: 450px;
    margin-top: 20px;
    border-radius: 8px;
    border: 1px solid #cecece;
}

.loading-message {
    padding: 0 20px;
    text-align: center;
}
.loading-message-html {
}
.loading-progress-container {
    width: 200px;
    height: 10px;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #bcbcbc;
    overflow: hidden;
}
.loading-progress-bar {
    height: 100%;
    background-color: #f46e6d;
    width: 0%;
    animation: loadProgress 3s ease-out forwards;
}
.loading-message-headline {
}
.loading-message-body-text {
    padding: 50px;
    font-size: 14px;
    line-height: 23px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #333333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loadProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.image-input-element {
}
.image-to-upload-element {
    height: 60px;
}

.selected-image-container {
    position: relative;
    display: inline-block;
    border-radius: 5px;
    padding: 2px;
    border: 1px solid #cecece;
}
.selected-image-element {
    max-width: 100%;
    max-height: 170px;
    border-radius: 3px;
    display: block;
}
.change-selected-image-button {
    position: absolute;
    inset: 10px 10px auto auto;
    font-size: 15px;
    width: 15px;
    text-align: center;
    line-height: 15px;
    border: 1px solid #aaa;
    border-radius: 50%;
    cursor: pointer;
    color: #888;
    background-color: #fff;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.change-selected-image-button:hover {
    border-color: #333;
    color: #333;
}

.image-slider-container {
    position: relative;
}
.image-slider-selector {
    display: flex;
    gap: 10px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.image-slider-selector-item {
    scroll-snap-align: start;
    padding: 3px;
    border: 2px solid transparent;
}
.image-slider-selector-item.selected-image {
    border-color: #f46e6d;
}
.image-slider-selector-image-element {
    height: 80px;
}
.image-slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
}
.image-slider-button:hover {
    color: #f36f6d;
}
.image-slider-button-next {
    right: -12px;
}
.image-slider-button-previous {
    left: -12px;
    transform: scaleX(-1) translateY(-50%);
}

.hero-image-type-selector-container {
    margin: 10px 0 20px;
}

/* MAGNITY MODULE SPECIFIC STYLING */
.magnity-module {
    position: relative;
}
.magnity-module[data-allowed-content-types]::after {
    display: none;
    content: "Cannot drop here";
    position: absolute;
    inset: 2px;
    background: rgba(108, 117, 125, 0.5);
    align-items: center;
    text-align: center;
    outline: 1px solid rgb(108, 117, 125);
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

#canvas.content-dragging-contact .magnity-module[data-allowed-content-types]::after,
#canvas.content-dragging-webpage .magnity-module[data-allowed-content-types]::after,
#canvas.content-dragging-video .magnity-module[data-allowed-content-types]::after,
#canvas.content-dragging-document .magnity-module[data-allowed-content-types]::after {
    display: flex;
}

#canvas.content-dragging-contact .magnity-module[data-allowed-content-types*="contact"]::after,
#canvas.content-dragging-webpage .magnity-module[data-allowed-content-types*="webpage"]::after,
#canvas.content-dragging-video .magnity-module[data-allowed-content-types*="video"]::after,
#canvas.content-dragging-document .magnity-module[data-allowed-content-types*="document"]::after {
    content: "Drop here";
    background: rgba(25, 135, 84, 0.15);
    outline: 1px solid rgb(25, 135, 84);
    color: rgb(25, 135, 84);
}

.magnity-module:hover .translation-strategy-container {
    opacity: 1;
    visibility: visible;
}
.translation-strategy-container {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px;
    border-radius: 0 0 5px 0;
    background: #fff;
    color: #000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* Tab styling */
.tabs-container {
}
.tab-container {
    padding: 0 10px;
    display: flex;
    gap: 5px;
    border-bottom: 1px solid #333;
}
.tab-element {
    padding: 5px 10px;
    margin-bottom: -1px;
    border: 1px solid #333;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    cursor: pointer;
}
.tab-element.selected {
    border-bottom: 1px solid #fff;
}
.tab-content-container {
}
.tab-content-element {
    padding-left: 10px;
    padding-right: 10px;
}

/* Utilities mimicking tailwindcss */
.cursor-pointer {
    cursor: pointer;
}
.cursor-default {
    cursor: default;
}

/* Upload area */
.upload-area {
    flex-grow: 1;
    border: 2px dashed #aaa;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.upload-area:hover {
    border-color: #555;
    background: #f46e6d11;
}
.upload-area.dragover {
    border-color: #764ba2;
    background: #f0f4ff;
    transform: scale(1.02);
}
.upload-area.hero-image-upload-area {
    margin-bottom: 0;
}

.file-input {
    display: none;
}
.drop-file-headline {
    font-size: 18px;
    font-weight: 500;
}
.drop-file-message {
    margin: 10px 0;
    font-size: 13px;
}
.file-upload-button {
    margin-top: 10px;
    display: inline-block;
    background: #f46e6d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.file-preview {
    display: flex;
    gap: 5px;
    position: relative;
    border: 2px solid #aaa;
    border-radius: 5px;
    padding: 10px;
    flex-grow: 1;
}
.file-icon {
    width: 70px;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 70px;
    text-align: center;
}
.file-details {
    flex-grow: 1;
    font-size: 12px;
    line-height: 20px;
}
.file-name {
    width: 220px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.file-meta {
}
.file-meta-label {
    display: inline-block;
    font-weight: 500;
}
.change-file-button {
    position: absolute;
    inset: 10px 10px auto auto;
    font-size: 15px;
    width: 15px;
    text-align: center;
    line-height: 15px;
    border: 1px solid #aaa;
    border-radius: 50%;
    cursor: pointer;
    color: #888;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.change-file-button:hover {
    border-color: #333;
    color: #333;
}

/* Multiselect tags */
.tag-select-container {
    position: relative;
    width: 100%;
}

.tag-select-input-element {
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
    padding: 10px 30px 10px 10px;
    border: 1px solid #cecece;
    border-radius: 5px;
    background: #fafafa;
    cursor: pointer;
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    transition: border-color 0.2s;
}
.tag-select-input-element:hover {
    border-color: #555;
}
.tag-select-input-element.open {
    border-color: #555;
    border-radius: 5px 5px 0 0;
}
.tag-select-input-element.open.open-above {
    border-color: #555;
    border-radius: 0 0 5px 5px;
}

.tag-item {
    display: flex;
    align-items: center;
    background: #f46e6d;
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 12px;
    gap: 4px;
}

.tag-remove {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tag-remove:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tag-select-placeholder {
    color: #999;
    font-size: 14px;
    flex: 1;
    min-height: 20px;
}

.tag-select-dropdown-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #666;
    transition: transform 0.2s;
    pointer-events: none;
}
.tag-select-dropdown-arrow.open {
    transform: translateY(-50%) rotate(180deg);
}

.tag-select-dropdown-menu-element {
    position: fixed;
    background: white;
    border: 1px solid #555;
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-sizing: border-box;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.tag-select-dropdown-menu-element.tag-select-dropdown-menu-above {
    border-radius: 5px 5px 0 0;
    border-bottom: none;
    border-top: 1px solid #555;
}
.tag-select-dropdown-menu-element.open {
    display: block;
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.1s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dropdown-item:hover {
    background: #f7f7f7;
}
.dropdown-item:last-child {
    border-bottom: none;
}
.dropdown-item.selected {
    background: #f5f6f9;
    color: #f46e6d;
}
.dropdown-item .checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 0;
    flex-shrink: 0;
    transition: all 0.1s;
}
.dropdown-item.selected .checkmark {
    background: #f46e6d;
    border-color: #f46e6d;
    color: white;
}
.dropdown-item.selected .checkmark:after {
    color: white;
    content: "✓";
}
