@font-face {
    font-family: "Aktiv Grotesk";
    src: url(/fonts/AktivGrotesk-Regular.woff2) format("woff2")
    ;
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Aktiv Grotesk';
    src: url(/fonts/AktivGrotesk-Medium.woff2) format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

body{
    color: #000;
    background-color: #fff;
    font-family: 'Aktiv Grotesk', sans-serif;
}
h4{
        color: #FFF;
        font-family: "Aktiv Grotesk";
        font-size: 18px;
        font-style: normal;
        font-weight: 300;
        line-height: normal;
 
}
.no-border-radius{
    border-radius: 0;
}
.bg-primary{
    background-color: #fff !important;
    background-size: cover;
}
.badge {
    padding: 0.85em 0.9em;
    color: #fff;
}
.max-width-500
{
    max-width: 500px;
}
.max-width-930
{
    max-width: 930px;
}
#wrapper #content-wrapper {
    background-color: #fff;
}
.bg-topbar{
    background-color: #cdcdcd;
    border-bottom: 2px solid #000;
}
form.user .form-control-user{
    background: #F3F2F6;
    border-radius: 0;
    border: 0;
}
form.user .btn-user{
    border-radius: 0;
}
.btn{
border-radius: 0;
}
.btn-primary {
    color: #fff;
    background-color: #262626;
    border: 0;
     text-transform: uppercase;
    font-family: 'Aktiv Grotesk', sans-serif;
}
.btn-primary:hover {
    color: #fff;
    background-color: #262626;
    border-color: #262626;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #262626;
    border-color: #262626;
}
a {
    color: #8D8D8D;
 }
a:hover {
    color: #8D8D8D;
    text-decoration: underline;
}
.custom-checkbox .custom-control-label::before {
    border-radius: 0;
    background: #F3F2F6;
    border: 0;
}
.card {
    border-radius: 0;
}
.bg-navbar{
    background-color: #cdcdcd !important;
}
.nav-item.active .nav-link svg line {
    stroke: #000;
}
.nav-item.active .nav-link svg path {
    stroke: #000;
}
.nav-item.active .nav-link svg rect {
    stroke: #000;
}

.nav-item:hover .nav-link svg line {
    stroke: #000;
}
.nav-item:hover .nav-link svg rect {
    stroke: #000;
}
.nav-item:hover .nav-link svg path {
    stroke: #000;
}

.navbar-nav > .active{
    background-color: #fff;
}

.avatar {
    background: #262626;
}
.sidebar-brand-icon img{
    width: 100%;
    height: 100%;
    padding: 20%;
}
btn-primary.focus, .btn-primary:focus {
    color: #fff;
    background-color: #262626;
    border-color: #262626;
    box-shadow: none;
}
.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}


.table td, .table th {
    border-top: 0;
}
.alert {
    border-radius: 0;
}
.text-primary{
    color: #262626 !important;
    font-size: 1rem;
}
.sidebar{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
    width: 6.5rem!important;
}
.sidebar-brand
{
    border-bottom: 2px solid #000;
}
.dropdown-menu {
    border-radius: 0;
}
.content{
    background: #fff;
}
.sidebar-dark hr.sidebar-divider {
    border-top: 2px solid #000;
}
.sidebar hr.sidebar-divider {
    margin: 0;
}
.nav-link svg{
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
}
.form-control{
    background: #F3F2F6;
    border-radius: 0;
    border-color: #F3F2F6;
    color: #999
}
.form-control:focus{
    background: #F3F2F6;
    border-radius: 0;
    border-color: #262626;
    color: #000;
}
label{
    color: #000;
    font-size: 1rem;
    font-weight: 600;
}
h3{
    text-transform: uppercase;
}
.fc-view-harness{
    background: #f9f9ff;
}

.nav-item{
    opacity: 0.5;
}
.nav-item:hover{
    opacity: 1;
}
.nav-item.active{
    opacity: 1;
}

.fc .fc-button{
    color: #fff;
    background-color: #262626;
    border: 0;
    text-transform: uppercase;
    font-family: 'Aktiv Grotesk', sans-serif;
}
.fc-daygrid-event {
    border-radius: 0;
}
.icon-container {
    display: flex;
    align-items: center;
    justify-content: start;
}

.icon-link, .btn-icon {
    margin-right: 20px; /* Adjust spacing between icons */
    border: none;
    background: none;
}

.icon-link i, .btn-icon i {
    font-size: 20px; /* Adjust icon size */
    color: #000000; /* Adjust icon color */
}
#showHelp{
    cursor: pointer;
    color: #000000;
}
#project_trackImage_raw_preview img{
    width: 220px;
}
#project_image_preview video{
    width: 220px;
}
#project_image_previewView img{
    width: 100%;
}
.radarCardBody{
    background: transparent;
}

.phone {
    width: 240px;
    height: 480px;
    background-color: #333;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    width: 100%;
    height: 90%;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}
#phoneContent{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}
#style_introTitle{
    width: 185px;
    font-size: 20px;
    text-align: center;
}

#style_introText{
    width: 185px;
    font-size: 16px;
    text-align: center;
}

#style_introButton {
    margin-top: 25px;
    display: inline-block; /* Make it inline-block to size it according to its content */
    background-color: #000; /* Button color */
    color: white; /* Text color */
    padding: 10px 20px; /* Top and bottom padding, left and right padding */
    font-size: 15px; /* Text size */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Change cursor to indicate it's clickable */
    text-align: center; /* Center the text */
    text-decoration: none; /* Remove underline from links if you use <a> instead of <div> */
    transition: background-color 0.3s, box-shadow 0.3s; /* Smooth transition for hover effects */
}

#style_introButton:hover, #style_introButton:focus {
    background-color: #0e0b0b; /* Darker shade for hover state */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow to lift the button */
    outline: none; /* Remove outline for focus state */
}

.phone-statusbar {
    width: 100%;
    padding: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.statusbar-time {
    font-size: 14px;
}

.statusbar-icons {
    display: flex;
}

.statusBar_overlay {
    background: repeating-linear-gradient(to right, #FF5689, #993452, #FF5689, #A6275C, #993452, #FF5689);
}

.icon-signal, .icon-wifi, .icon-battery {
    width: 20px;
    height: 20px;
    background-size: cover;
    margin-left: 4px;
}

/* Example icons using simple shapes */
.icon-signal {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M4 16h2v4H4v-4zm3-3h2v7H7v-7zm3-3h2v10h-2V10zm3-3h2v13h-2V7z"/></svg>');
}

.icon-wifi {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 6c-3.31 0-6.31 1.34-8.48 3.5L12 18l8.48-8.5C18.31 7.34 15.31 6 12 6z"/></svg>');
}

.icon-battery {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M17 6.5V6a2 2 0 0 0-2-2h-6a2 2 0 0 0-2 2v.5H5v11h14v-11h-2zm-1.5 0h-7V6h7v.5z"/></svg>');
}

.phone-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ccc;
    margin-top: 20px;
}
.topMenuForm{
    height: 3.375rem;
    display: flex;
    align-items: center;
    padding: 0 .75rem;
}
.topMenuForm .form-group{
    margin-bottom: 0;
}

.range_value {
    margin-left: 15px;
    margin-right: 15px;
}


.brand-dna-section {
    background: #d5cdca;
    padding: 2rem;
    font-family: sans-serif;
    color: #000;
}

.brand-dna-section h2 {
    color: #d21c6d;
    font-size: 2rem;
}

.subtitle {
    color: #d21c6d;
    margin-bottom: 2rem;
}

.chart-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 400px;
    margin: 0 auto 0 auto;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.need-group h4 {
    margin: 0.5rem 0;
    color: #000;
}

.need-group p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.need-group ul {
    list-style: none;
    padding: 0;
}

.need-group li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
}

.bar {
    height: 10px;
    background-color: #ff5290;
    border-radius: 5px;
    flex-grow: 1;
}

.prompt-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.prompt-header {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-save {
    background-color: #d21c6d;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.btn-save:hover {
    background-color: #b0165a;
}

.success-message {
    margin-top: 1rem;
    color: green;
}

/* overlay styles */
.overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.overlay-container.show {
    display: flex;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px;
}

#loadingBar {
    border-radius: 2px;
    width: 140px;
    height: 4px;
    background: repeating-linear-gradient(to right, #FF5689, #993452, #FF5689, #A6275C, #993452, #FF5689);
    background-size: 750% auto;
    background-position: 0 100%;
    animation: gradient 17s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    margin: 10px auto 10px auto;
}

.overlay-icon {
    width: 62px;
    height: 53px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-icon svg {
    width: 100%;
    height: 100%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.twinkle-container {
    position: relative;
    width: 40px;
    height: 40px;
}

.twinkle {
    position: absolute;
 }


.twinkle.star_main {
transform-origin: center;
    animation: shimmer 6s infinite ease-in-out;
}

/* Larger star bottom-left */
.twinkle.star1 {
    transform-origin: center;
    animation-delay: 0.5s;
    animation: shimmer_01 5s infinite ease-in-out;
}

/* Smaller star top-right, tightly offset */
.twinkle.star2 {
transform-origin: center;
    animation-delay: 0.25s;
    animation: shimmer_02 7s infinite ease-in-out;
}

@keyframes shimmer {
    0%, 100% {
        transform: scale(1);
        opacity: 1.2;
    }
    25% {
        transform: scale(1.1);
        opacity: 1;
    }
    50% {
        transform: scale(0.9);
        opacity: 0.9;
    }
    75% {
        transform: scale(1.05);
        opacity: 1;
    }
}
@keyframes shimmer_01{
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    25% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        transform: scale(1.05);
        opacity: 0.8;
    } 
}
@keyframes shimmer_02{
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    25% {
        transform: scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: scale(1.2);
        opacity: 1;
    } 
}

.overlay-text {
    color: #ffffff;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.overlay-title {
    color: #ffffff;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.overlay-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 8px 0 0 0;
    min-height: 24px;
    animation: subtitlePulse 2s ease-in-out infinite;
    position: relative;
    transition: opacity 0.3s ease;
}

.overlay-subtitle.animated {
    animation: subtitlePulse 2s ease-in-out infinite, subtitleSlide 0.5s ease;
}

@keyframes subtitlePulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

@keyframes subtitleSlide {
    0% {
        transform: translateY(5px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Campaign Simulation Styles */

/* Index Page Styles */
.campaign-hero {
    min-height: calc(100vh - 60px);
    padding: 40px 0;
    color: #f2f5ff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-header {
    margin-bottom: 10%;
}

.hero-back-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    background: rgba(255,255,255,.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.hero-back-btn:hover {
    background: rgba(255,255,255,.18);
    transform: scale(1.05);
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 0.75rem;
    opacity: .75;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 4px 0 10px;
}

.hero-subline {
    max-width: 640px;
    color: rgba(255,255,255,.75);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
    gap: 45px;
}

.brand-card {
    border-radius: 8px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition-duration: 300ms;
    transition-property: transform, box-shadow;
    transition-timing-function: ease-out;
    cursor: pointer;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.brand-card.selected {
    box-shadow: 0 0 20px rgba(255, 86, 137, 0.50);
}

.brand-card:hover {
    box-shadow: 0 0 20px rgba(255, 86, 137, 0.50);
}

.brand-card.selected:hover {
    box-shadow: 0 0 20px rgba(255, 86, 137, 0.50);
}

.brand-card .glow {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.13), rgba(0, 0, 0, 0.06));
    opacity: 30%;
    pointer-events: none;
    border-radius: 8px;
}

.brand-card-top {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand-name {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.brand-card-bottom {
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.brand-logo {
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.brand-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.brand-logo-placeholder {
    color: rgba(255,255,255,0.4);
    font-size: 2rem;
}

.brand-logo-text {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    text-align: center;
    margin: 0;
}

.empty-state {
    border: 1px dashed rgba(255,255,255,0.35);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    color: rgba(255,255,255,0.8);
    background: rgba(9,14,31,0.7);
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-inner {
        padding: 0 15px;
    }
}

/* Brand & Results Page Shared Styles */

.row_calc {
    height: calc(100vh - 120px);
    align-items: center;
}

.col-lg-6:last-child {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.campaign-simulation_select_brand_title {
    color: #FFF;
    text-align: center;
    font-family: "Aktiv Grotesk";
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.campaign-simulation_select_brand_name {
    color: #FFF;
    font-family: "Aktiv Grotesk";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.brand-strategy-card {
    border-radius: 15px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: calc(100% - 150px - 20px);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}
.contentTypeButton
{
    width: 100%;
}

.radarCardBody {
    position: relative;
    background: radial-gradient(circle at center, #fe56892b 0%, rgba(26, 29, 56, 0) 50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50% 50%;
    border: none;
    animation: pulseBackground 5s ease-in-out infinite;
}

@keyframes pulseBackground {
    0%, 100% {
        background-size: 60% 60%;
    }
    50% {
        background-size: 50% 50%;
    }
}

.extended-view-container {
    padding: 40px 30px 30px 30px;
    color: rgba(255, 255, 255, 0.9);
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    height: 100%;
    margin-right: 15px;
    margin-bottom: 15px;
}

.extended-view-container.active {
    display: block;
}

.extended-view-container::-webkit-scrollbar {
    width: 8px;
}

.extended-view-container::-webkit-scrollbar-track {
    border-radius: 10px;
}

.extended-view-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.extended-view-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.motive-section {
    margin-bottom: 50px;
}

.motive-section-title {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Aktiv Grotesk', sans-serif;
    text-transform: none;
}

.motive-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.motive-text-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 40%;
    flex-shrink: 0;

}

.motive-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    font-family: 'Aktiv Grotesk', sans-serif;
    white-space: nowrap;
}
.motive-line {
    width: 100%;
    border-bottom: 0.5px solid #ffffff30;
    height: 17px;
    margin-left: 3px;
}

.motive-description {
    display: none;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Aktiv Grotesk', sans-serif;
}

.motive-bar-container {
    flex: 1;
    height: 30px;
    background: none;
    border-radius: 15px;
    position: relative;
    overflow: visible;
    min-width: 0;
}

.motive-bar {
    height: 100%;
    transition: width 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 15px;
}

.motive-bar.animate {
    animation: barFill 1.5s ease-out forwards;
}

@keyframes barFill {
    from {
        width: 0% !important;
    }
    to {
        width: var(--target-width, 100%) !important;
    }
}

.motive-bar-brand {
    background: linear-gradient(90deg, #993452 0%, #FF5689 100%);
    z-index: 1;
}

.motive-bar-ai {
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.9), rgba(100, 180, 255, 0.9));
    z-index: 2;
    opacity: 0.85;
}

/* Combined bar design: pink for AI, gray for predefined */
.motive-bar-combined {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid #343549;
    background: transparent;
}

.motive-bar-combined.motive-bar-combined-no-border {
    border-color: transparent;
}

/* Secondary (<7): keep 100% scale, but show bordered guide only up to 70%. */
.motive-bar-combined.motive-bar-combined-secondary-cap {
    border-color: transparent;
}

.motive-bar-combined.motive-bar-combined-secondary-cap::before {
    content: "";
    position: absolute;
    left: 0;
    width: 70%;
    height: 100%;
    border: 1px solid #343549;
    border-radius: 15px;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 0;
}

/* Tertiary (<3): keep 100% scale, but show bordered guide only up to 30%. */
.motive-bar-combined.motive-bar-combined-tertiary-cap {
    border-color: transparent;
}

.motive-bar-combined.motive-bar-combined-tertiary-cap::before {
    content: "";
    position: absolute;
    left: 0;
    width: 30%;
    height: 100%;
    border: 1px solid #343549;
    border-radius: 15px;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 0;
}

.motive-bar-section {
    height: 100%;
    transition: width 0.5s ease;
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
}

.motive-bar-section.motive-bar-pink {
    background: linear-gradient(90deg, #993452 0%, #FF5689 100%);
    z-index: 2;
}

.motive-bar-section.motive-bar-overshoot {
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.motive-bar-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
}

.radar-chart-container {
    position: relative;
    width: 100%;
    max-width: 38vw;
    margin: 0 auto;
    aspect-ratio: 1;
}
#dotMatrix {
    position: relative;      
    left: 0;
    right: 0;
    height: 80px;
    width: 100%;
    pointer-events: none; 
  }
  
  #dotMatrixCanvas {
    width: 100%;
    height: 100%;
    display: block;
  }

.radar-chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.axis-label {
    position: absolute;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    white-space: nowrap;
    pointer-events: none;
    font-family: 'Aktiv Grotesk', sans-serif;
}

.axis-top {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.axis-right {
    right: -85px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
}

.axis-bottom {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.axis-left {
    left: -85px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
}

.content-btn {
    text-align: center;
    background: rgba(217, 217, 217, 0.15);
    border-radius: 999px;
    padding: 14px 24px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.25s ease;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
     border: 0;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
      
}
.content-btn:hover{
    background: linear-gradient(90deg, #993452 0%, #FF5689 100%);
      color: #16182F;
    border: 0;
    text-decoration: none;
  }
.selectContentBtn{
   width: 30%;
}

.content-btn:focus-visible {
    outline: 0;
    box-shadow: none;
}

.content-btn_special:hover{
    background: #FFFFFF;
    color: #16182F;
    border: 0;
    text-decoration: none;
}

.content-btn.test-start-button {
    background: linear-gradient(90deg, #993452 0%, #FF5689 100%);
    color: #ffffff;
    font-weight: 500;
}


.brand-strategy-card-buttons {
    border-radius: 30px;
    border: none;
    height: calc(40% - 20px);
    background: none;
    margin-bottom: 20px;
}

.brand-strategy-body {
    padding: 0px 30px 15px 30px;
    color: rgba(255, 255, 255, 0.9);
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    height: 100%;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 30px;
    font-weight: 500;
}

.brand-strategy-body-buttons {
    padding: 15px 0 30px 0;
    color: rgba(255, 255, 255, 0.9);
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    height: 100%;
    margin-right: 15px;
    margin-bottom: 15px;
}

#submit-analyze-button {
    margin-top: 0;
}

.brand-strategy-body::-webkit-scrollbar {
    width: 8px;
}

.brand-strategy-body::-webkit-scrollbar-track {
    border-radius: 10px;
}

.brand-strategy-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.brand-strategy-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.brand-strategy-title {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 34px;
}

.strategy-sections {
    margin-bottom: 40px;
}

.strategy-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.strategy-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.strategy-number {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    min-width: 24px;
}

.strategy-content {
    flex: 1;
}

.strategy-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.95);
}

.strategy-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.content-selection-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.content-selection-title {
    font-family: "Aktiv Grotesk";
    font-size: 24px;
    font-style: normal;
    line-height: normal;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

.content-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.content-form {
    display: none;
}

.content-form label {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    display: block;
}

.content-form input,
.content-form textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    color: #fff;
    padding: 12px 16px;
    width: 100%;
}

.content-form input::placeholder,
.content-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.text-input-title {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    display: block;
}

.content-form small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-top: 6px;
    display: block;
}

.primary-action {
    margin-top: 20px;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 15px;
    background: linear-gradient(90deg, #fa709a, #fee140);
    color: #050715;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.25s ease;
    cursor: pointer;
}

.primary-action:hover {
    transform: translateY(-2px);
}

/* PDF Upload Dialog - Drag and Drop */
.pdf-upload-dialog {
    position: relative;
    background: #191B33;
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 8px;
    padding: 32px;
    margin: 40px;
    max-width: calc(50% - 60px);
    width: 100%;
    pointer-events: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pdf-drop-zone {
    background: #191b33;
    border-radius: 8px;
    height: 230px;
    width: 100%;
    max-width: 715px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pdf-drop-zone:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(25, 27, 51, 0.95);
}

.pdf-drop-zone-dragover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(25, 27, 51, 0.9);
    transform: scale(1.02);
}

.pdf-drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
}

.pdf-drop-zone-title {
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #FFFFFF;
    margin: 0;
    line-height: normal;
}

.pdf-upload-icon {
    width: 53px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.pdf-upload-icon svg {
    width: 100%;
    height: 100%;
}

.pdf-drop-zone-hint {
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
    line-height: normal;
}

/* PDF File Selected Display */
.pdf-file-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    width: 100%;
}

.pdf-file-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-file-icon svg {
    width: 100%;
    height: 100%;
}

.pdf-file-name {
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    flex: 1;
    word-break: break-word;
}

/* PDF Overlay Buttons */
.pdf-overlay-buttons {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.pdf-upload-dialog .pdf-overlay-buttons .content-btn {
    flex: 1;
    max-width: 228px;
}

/* Text Input Overlay Dialog */
.text-input-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 1000;
    pointer-events: auto;
    backdrop-filter: blur(4px);
    padding-bottom: 110px;
    padding-right: 8px;
}

/* Ensure the inner dialog receives clicks */
.text-input-overlay .pdf-upload-dialog {
    pointer-events: auto;
}

/* Ensure content buttons appear above overlay */
.content-buttons {
    position: relative;
    z-index: 1001;
}

.text-input-dialog {
    position: relative;
    background: rgba(5, 7, 23, 0.95);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 8px;
    padding: 32px;
    margin: 40px;
    max-width: calc(50% - 60px);
    width: 100%;
    pointer-events: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.text-input-content {
    margin-bottom: 24px;
}

.text-input-field {
    width: 100%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 1);
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    resize: none;
    outline: none;
    padding: 0;
    min-height: 200px;
}

.text-input-field::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.text-insert-button {
    width: 100%;
    background: #ffffff;
    color: #050715;
    border: none;
    border-radius: 999px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.text-insert-button:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.text-insert-button:active {
    transform: translateY(0);
}

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-results-switch {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-left: 50%;
}

.header-persona-switch {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin: auto;
}

.persona-segmented-container {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    overflow: hidden;
    padding: 0;
}

.persona-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.persona-segment:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.15);
}


.persona-segment-active {
    position: relative;
}

.persona-segment-active .persona-segment-image,
.persona-segment-active .persona-segment-icon {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.persona-segment-image {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.persona-segment-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

.persona-segment-icon svg {
    width: 40px;
    height: 40px;
}

.persona-segment-add {
    position: relative;
}

.persona-segment-add .persona-segment-icon {
    position: relative;
}

.persona-segment-plus {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
    pointer-events: none;
}

.back-button-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.back-button-circle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.back-button-circle svg {
    width: 40px;
    height: 24px;
}

.results-label {
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
}

.persona-label {
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
}
.toggle-switch-container {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 8px 12px;
    min-width: 205px;
}

.toggle-option {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}

.toggle-option.active {
    color: #fff;
}

.toggle-slider-wrapper {
    position: relative;
    width: 40px;
    height: 20px;
    flex-shrink: 0;
}

.toggle-slider-bg {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    position: relative;
}

.toggle-slider-knob {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.toggle-switch-container.extended .toggle-slider-knob {
    transform: translateX(20px);
}

.header-logo {
    width: 150px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.header-logo-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
}

.header-logo-icon {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    cursor: pointer;
}

.header-logo-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.score-card {
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 108px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}

.score-message-card {
    border-radius: 8px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}

.score-message-body {
    padding: 24px;
    color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.score-message-section {
    margin-bottom: 24px;
}


.score-message-text {
    color: #FFF;
    font-family: "Aktiv Grotesk";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.results-card {
    border-radius: 8px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-height: calc(100% - 150px - 20px);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}

.step-results-section {
    margin-top: 24px;
    padding-top: 24px;
}

.step-results-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.results-card {
    border-radius: 8px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}

.results-card-buttons {
    border-radius: 8px;
    background: none;
    margin-top: 20px;
    border: none;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
    gap: 15px;
}
.resultButtons{
    width: 100%;
}
.personaResultButtons{
    width: 49%;
}

.results-card-buttons .card-body {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 15px;
}
#startAudienceButton{
    width: 320px;
}

.score-body {
    padding: 5px 24px;
    color: rgba(255, 255, 255, 0.9);
    overflow-y: hidden;
    overflow-x: hidden;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.results-body {
    padding: 10px 30px 30px 30px;
    color: rgba(255, 255, 255, 0.9);
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    height: 100%;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 20px;
}

.score-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;  
}

.ers-brand {
    color: #FFF;
    font-family: "Aktiv Grotesk";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px; /* 100% */
}

.ers-brand sup {
    color: #FFF;
    font-family: "Aktiv Grotesk";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 150% */
    letter-spacing: 1.2px;
}

.ers-label {
    color: #FFF;
    font-family: "Aktiv Grotesk";
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 12px; /* 100% */
}

.score-dot-matrix {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.score-dot-row {
    display: flex;
    gap: 10px;
    height: 5px;
}

.score-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: inline-block;
    animation: dotPulse 4s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(1);
    }
    50% {
        background-color: rgba(255, 255, 255, 0.9);
        transform: scale(1.2);
    }
}

.score-dot-row:nth-child(1) .score-dot:nth-child(1) { animation-delay: 0s; }
.score-dot-row:nth-child(1) .score-dot:nth-child(2) { animation-delay: 0.1s; }
.score-dot-row:nth-child(1) .score-dot:nth-child(3) { animation-delay: 0.2s; }
.score-dot-row:nth-child(1) .score-dot:nth-child(4) { animation-delay: 0.3s; }
.score-dot-row:nth-child(1) .score-dot:nth-child(5) { animation-delay: 0.4s; }
.score-dot-row:nth-child(1) .score-dot:nth-child(6) { animation-delay: 0.5s; }
.score-dot-row:nth-child(1) .score-dot:nth-child(7) { animation-delay: 0.6s; }
.score-dot-row:nth-child(1) .score-dot:nth-child(8) { animation-delay: 0.7s; }
.score-dot-row:nth-child(1) .score-dot:nth-child(9) { animation-delay: 0.8s; }
.score-dot-row:nth-child(1) .score-dot:nth-child(10) { animation-delay: 0.9s; }

.score-dot-row:nth-child(2) .score-dot:nth-child(1) { animation-delay: 1.0s; }
.score-dot-row:nth-child(2) .score-dot:nth-child(2) { animation-delay: 1.1s; }
.score-dot-row:nth-child(2) .score-dot:nth-child(3) { animation-delay: 1.2s; }
.score-dot-row:nth-child(2) .score-dot:nth-child(4) { animation-delay: 1.3s; }
.score-dot-row:nth-child(2) .score-dot:nth-child(5) { animation-delay: 1.4s; }
.score-dot-row:nth-child(2) .score-dot:nth-child(6) { animation-delay: 1.5s; }
.score-dot-row:nth-child(2) .score-dot:nth-child(7) { animation-delay: 1.6s; }
.score-dot-row:nth-child(2) .score-dot:nth-child(8) { animation-delay: 1.7s; }
.score-dot-row:nth-child(2) .score-dot:nth-child(9) { animation-delay: 1.8s; }
.score-dot-row:nth-child(2) .score-dot:nth-child(10) { animation-delay: 1.9s; }

.score-dot-row:nth-child(3) .score-dot:nth-child(1) { animation-delay: 2.0s; }
.score-dot-row:nth-child(3) .score-dot:nth-child(2) { animation-delay: 2.1s; }
.score-dot-row:nth-child(3) .score-dot:nth-child(3) { animation-delay: 2.2s; }
.score-dot-row:nth-child(3) .score-dot:nth-child(4) { animation-delay: 2.3s; }
.score-dot-row:nth-child(3) .score-dot:nth-child(5) { animation-delay: 2.4s; }
.score-dot-row:nth-child(3) .score-dot:nth-child(6) { animation-delay: 2.5s; }
.score-dot-row:nth-child(3) .score-dot:nth-child(7) { animation-delay: 2.6s; }
.score-dot-row:nth-child(3) .score-dot:nth-child(8) { animation-delay: 2.7s; }
.score-dot-row:nth-child(3) .score-dot:nth-child(9) { animation-delay: 2.8s; }
.score-dot-row:nth-child(3) .score-dot:nth-child(10) { animation-delay: 2.9s; }

.score-dot-row:nth-child(4) .score-dot:nth-child(1) { animation-delay: 3.0s; }
.score-dot-row:nth-child(4) .score-dot:nth-child(2) { animation-delay: 3.1s; }
.score-dot-row:nth-child(4) .score-dot:nth-child(3) { animation-delay: 3.2s; }
.score-dot-row:nth-child(4) .score-dot:nth-child(4) { animation-delay: 3.3s; }
.score-dot-row:nth-child(4) .score-dot:nth-child(5) { animation-delay: 3.4s; }
.score-dot-row:nth-child(4) .score-dot:nth-child(6) { animation-delay: 3.5s; }
.score-dot-row:nth-child(4) .score-dot:nth-child(7) { animation-delay: 3.6s; }
.score-dot-row:nth-child(4) .score-dot:nth-child(8) { animation-delay: 3.7s; }
.score-dot-row:nth-child(4) .score-dot:nth-child(9) { animation-delay: 3.8s; }
.score-dot-row:nth-child(4) .score-dot:nth-child(10) { animation-delay: 3.9s; }

.score-value {
    font-size: 82px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(90deg, #993452 0%, #FF5689 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Aktiv Grotesk', sans-serif;
    white-space: nowrap;
    line-height: normal;
}

.score-success {
    background: linear-gradient(90deg, #993452 0%, #FF5689 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-danger {
    background: linear-gradient(90deg, #993452 0%, #FF5689 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-title {
    color: #FFF;
    font-family: "Aktiv Grotesk";
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.results-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    padding-bottom: 24px;
}

.step2-button {
    margin-top: 24px;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 15px;
    background: linear-gradient(90deg, #fa709a, #fee140);
    color: #050715;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.25s ease;
    cursor: pointer;
}

.step2-button:hover {
    transform: translateY(-2px);
}

.step2-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.results-body::-webkit-scrollbar,
.score-body::-webkit-scrollbar {
    width: 8px;
}

.results-body::-webkit-scrollbar-track,
.score-body::-webkit-scrollbar-track {
    border-radius: 10px;
}

.results-body::-webkit-scrollbar-thumb,
.score-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.results-body::-webkit-scrollbar-thumb:hover,
.score-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Progress Submenu Styles */
.progress-submenu {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 20px;
}

.progress-submenu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 16px;
    flex-direction: row;
}

.progress-step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    position: relative;
    flex: 0 0 auto;
}

.progress-step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.progress-step.inactive .progress-step-icon {
    background: transparent;
    border: 2px solid #fff;
}

.progress-step-icon svg {
    width: 12px;
    height: 12px;
}

.progress-step-label {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
    transition: color 0.3s ease;
    font-family: 'Aktiv Grotesk', sans-serif;
}

.progress-step.inactive .progress-step-label {
    color: rgba(255, 255, 255, 0.5);
}

.progress-bar-container {
    width: 100%;
    background: #FFFFFF26;

    border-radius: 2px;
}

.progress-bar {
    display: flex;
    border-radius: 2px;
    background: #ffffff;
    gap: 4px;
    height: 4px;
    width: 30%;
}

.progress-bar-filled {
    flex: 1;
    background: #fff;
    border-radius: 2px;
}

.progress-bar-segment {
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .progress-submenu-container {
        gap: 20px;
    }
    
    .progress-step-icon {
        width: 20px;
        height: 20px;
    }
    
    .progress-step-icon svg {
        width: 10px;
        height: 10px;
    }
    
    .progress-step-label {
        font-size: 12px;
    }
}

/* Personas Page Styles */
body {
    background: radial-gradient(50% 50% at 50% 50%, #1C1F39 0%, #16182F 100%);
    min-height: 100vh;
}

.personas-container {
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px 40px;
    position: relative;
    padding-top: 0;
}

.personas-title {
    font-size: 32px;
    font-weight: 600;
    padding-top: 30px;
    margin-bottom: 100px;
    margin-left: 30px;
    color: #fff;
    text-align: center;
    font-family: 'Aktiv Grotesk', sans-serif;
}

.personas-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 60px;
    max-width: 1400px;
}

.persona-card_old {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    width: 320px;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition-duration: 300ms;
    transition-property: transform, box-shadow;
    transition-timing-function: ease-out;
    position: relative;
    overflow: hidden;
}

.persona-card {
    border-radius: 8px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    transition-duration: 300ms;
    transition-property: transform, box-shadow, border, background;
    transition-timing-function: ease-out;
    cursor: pointer;
    min-height: 430px;
    width: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.persona-card.selected {
    border: 2px solid #FE5689 !important;
    box-shadow: 0 0 20px rgba(255, 86, 137, 0.50) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.persona-card:hover {
    box-shadow: 0 0 20px rgba(255, 86, 137, 0.50);
}

.persona-card.selected:hover {
    border: 2px solid #FE5689 !important;
    box-shadow: 0 0 20px rgba(255, 86, 137, 0.50) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.persona-card .glow {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.13), rgba(0, 0, 0, 0.06));
    opacity: 30%;
    pointer-events: none;
    border-radius: 8px;
}



.persona-analysis-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* 
.persona-card.has-analysis {
    
}
*/



.persona-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.persona-card-name {
    color: #FFF;
    font-family: "Aktiv Grotesk";
    font-size: 18px;
    font-weight: 500;
    flex: 1;
    margin-right: 16px;
}

.persona-radio {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    flex-shrink: 0;
    position: relative; 
}

.persona-card.has-analysis.selected {
    border: 2px solid #FE5689 !important;
    box-shadow: 0 0 20px rgba(255, 86, 137, 0.50) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.persona-card.selected .persona-radio {
    border-color: #ededed;
    background: transparent;
    border-width: 2px;
}

.persona-card.selected .persona-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px; /* Larger inner circle to fill most of the space */
    height: 18px;
    border-radius: 50%;
    background: #FF5689; /* Bright pink/magenta */
}

.persona-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.persona-image-container img {
    width: 150px;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.persona-image-placeholder {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 48px;
}

.persona-description {
    padding: 30px;
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Aktiv Grotesk";
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    position: relative;
    z-index: 1;
}

.persona-card.selected .persona-description {
    color: rgba(255, 255, 255, 0.95);
}

.start-button-container {
    margin-top: 40px;
    text-align: center;
}

.start-audience-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 16px 48px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Aktiv Grotesk', sans-serif;
}

.start-audience-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.start-audience-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.copyright-footer {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-family: "Aktiv Grotesk";
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    color: rgba(255, 255, 255, 0.50);
}

@media (max-width: 1200px) {
    .personas-grid {
        gap: 20px;
    }
    
    .persona-card {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .personas-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .persona-card {
        width: 100%;
        max-width: 400px;
    }
}

/* Persona Chat Page Styles */
.persona-chat-container {
    background: radial-gradient(50% 50% at 50% 50%, #1C1F39 0%, #16182F 100%);
    min-height: 100vh;
    padding: 20px;
    padding-right: 50px;
    padding-left: 50px;
}

.persona-sidebar {
    width: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.persona-info-card {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.persona-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.persona-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 10px;
}

.back-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.personas-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    font-family: 'Aktiv Grotesk', sans-serif;
}

.persona-nav-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.persona-nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    color: rgba(255, 255, 255, 0.7);
}

.persona-nav-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.persona-nav-icon.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.persona-card-chat-view {
    background: none;
    border: none;
    border-radius: 30px;
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 0;
}

.persona-image-chat-view-wrapper {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.persona-image-chat-view {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
    background-clip: padding-box;
    position: relative;
    box-shadow: 0 0 20px 0 rgba(255, 86, 137, 0.70);
}

.persona-image-chat-view::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.6), rgba(255, 20, 147, 0.6));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}
.persona-image-chat-view img
{
    width: 100%;
}

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

.persona-image-chat-view-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 64px;
}

.persona-nav-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    color: rgba(255, 255, 255, 0.6);
    z-index: 10;
}

.persona-nav-arrows:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.persona-nav-arrows svg {
    width: 40px;
    height: 40px;
}

.persona-nav-left {
    left: -50px;
}

.persona-nav-right {
    right: -50px;
}

.persona-name {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Aktiv Grotesk', sans-serif;
    letter-spacing: 0.02em;
}

.persona-card-chat-view .persona-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    font-family: 'Aktiv Grotesk', sans-serif;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.comm-concept-button {
    padding: 12px 24px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Aktiv Grotesk', sans-serif;
    position: relative;
    margin: auto;
}

/* 
.comm-concept-button:hover {

}
*/

.comm-concept-label {
    flex: 1;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #fff;
}

.comm-concept-icon-wrapper {
    flex-shrink: 0;
    margin-left: 16px;
}

.comm-concept-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.comm-concept-icon-circle i {
    font-size: 16px;
    color: #fff;
}

.comm-concept-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.comm-concept-pdf-icon {
    width: 24px;
    height: 24px;
    color: #fff;
}

/* Position based on input type - default (text) */
.comm-concept-button-text {
    /* Default position - no change needed */
    margin-top: 30px;
}

/* Position for image input - adjusted based on Figma design */
.comm-concept-button-image {
    margin-top: 20px;
    /* Position adjusted for image input type */
}

/* Position for PDF input - adjusted based on Figma design */
.comm-concept-button-pdf {
    margin-top: 20px;
    /* Position adjusted for PDF input type */
}

.chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    flex: 1;
    min-width: 0;
}

.tab-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
}

.chat-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-tab {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
    font-family: 'Aktiv Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chat-tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.chat-tab.active {
    color: #fff;
    border-bottom-color: #FE5689;
}

.feedback-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-height: 0;
    padding: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.feedback-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.feedback-card:last-child {
    margin-bottom: 0;
}

.feedback-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    font-family: 'Aktiv Grotesk', sans-serif;
}

.feedback-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Aktiv Grotesk', sans-serif;
}

.feedback-intro-text {
    margin-bottom: 24px;
    color: #FFF;
    font-family: "Aktiv Grotesk";
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.feedback-subtitle {
    color: #FFF;
    font-family: "Aktiv Grotesk";
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-bottom: 12px;
}

.chat-input-container {
    margin-top: auto;
    padding: 24px 0;
    flex-shrink: 0;
    background: transparent;
}

.chat-input-wrapper {
    position: relative;
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.chat-input {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 14px 48px 14px 20px;
    color: #fff;
    font-size: 14px;
    font-family: 'Aktiv Grotesk', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.chat-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.chat-input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 28px;
    background: transparent;
}

.chat-input-icon svg {
    width: 33px;
    height: 28px;
    display: block;
    transition: all 0.3s ease;
}

.chat-input-icon:hover svg {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Chat Input Button (for feedback cards view) */
.chat-input-button {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
   
}

.chat-input-button .chat-input-wrapper {
    margin-bottom: 0;
}

.chat-input-button .chat-input {
    cursor: pointer;
}

/* Chat Input Form (inside chat view, fixed at bottom) */
.chat-input-form-container {
    flex-shrink: 0;
    background: transparent;
    padding: 16px 24px 24px 24px;
   }

.chat-input-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-input-label {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.chat-input-form-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 5px 20px;
}

.chat-input-form-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0;
    color: #fff;
    font-size: 14px;
    font-family: 'Aktiv Grotesk', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.chat-input-form-input:focus {
    outline: none;
}

.chat-input-form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chat-input-form-submit {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
}

.chat-input-form-submit:hover {
    transform: scale(1.05);
}

.chat-input-form-submit:active {
    transform: scale(0.95);
}

.chat-input-form-submit svg {
    width: 40px;
    height: 40px;
}

/* Chat Messages Container */
.chat-messages-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    max-height: 100%;
}


/* Chat Control Buttons (close/reset) - under chat content */
.chat-control-buttons {
    justify-content: flex-start;
    display: flex;
    gap: 10px;
    padding: 15px 15px;
    flex-shrink: 0;
}

.chat-control-btn {

    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 300;
    font-style: normal;
    line-height: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-control-btn:hover {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.7);
}

.chat-control-btn:active {
    background: rgba(255, 255, 255, 0.1);
}

.chat-messages {
    flex: 1 1 auto;
    padding: 24px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column; /* Normal order: oldest on top, newest on bottom */
    gap: 24px;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}
#chat-messages-scroll{
    height: calc(100% - 165px);
    overflow-y: scroll;
    margin-right: 15px;
    margin-bottom: 10px;
}

#chat-messages-scroll::-webkit-scrollbar {
    width: 8px;
}

#chat-messages-scroll::-webkit-scrollbar-track {
    border-radius: 10px;
}

#chat-messages-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

#chat-messages-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-message {
    display: flex;
    width: 100%;
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message-user {
    justify-content: flex-end;
}

.chat-message-assistant {
    justify-content: flex-start;
}

.chat-message-bubble {
    max-width: 70%;
    padding: 16px 20px;
    border-radius: 8px;
    word-wrap: break-word;
}

.chat-message-user .chat-message-bubble {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.chat-message-text {
    max-width: 85%;
}

.chat-message-assistant .chat-message-text {
    color: #fff;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}

.chat-message-content {
    margin: 0;
}

/* Scrollbar styling for chat messages */
.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.typing-text {
    margin-left: 4px;
    font-size: 14px;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-weight: 300;
}

/* View Toggle Buttons */
.view-toggle-buttons {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
    padding: 0 24px;
    gap: 12px;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Aktiv Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-1px);
}

.view-toggle-btn:active {
    transform: translateY(0);
}

.view-toggle-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.action-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Aktiv Grotesk', sans-serif;
}

.action-button:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-1px);
    transition: all 0.25s ease;
    font-family: 'Aktiv Grotesk', sans-serif;
}

.action-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.brand-logo-header {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-header img {
    max-width: 100%;
    max-height: 100%;
}

.feedback-cards::-webkit-scrollbar {
    width: 8px;
}

.feedback-cards::-webkit-scrollbar-track {
    border-radius: 10px;
}

.feedback-cards::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.feedback-cards::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

pre {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 250px;
    overflow-y: auto;
}

/* Login Page Styles */
body.auth-page {
    position: relative;
    overflow-x: hidden;
    background: radial-gradient(50% 50% at 50% 50%, #1C1F39 0%, #16182F 100%);
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.login-wrapper {
    width: 100%;
    max-width: 320px;
    text-align: center;
}

.login-title {
    color: #FFF;
    font-family: "Aktiv Grotesk";
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 40px;
}

.login-card {
    background: rgba(28, 31, 57, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 40px;
    

}
.login-card:hover {
    box-shadow: 0 0 20px rgba(255, 86, 137, 0.75)
}

.login-form {
    text-align: left;
}

.login-form .form-group {
    margin-bottom: 24px;
}

.login-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 0;
    color: #FFF;
    z-index: 1;
}

.login-footer p {
    color: rgba(255, 255, 255, 0.50);
    font-family: "Aktiv Grotesk";
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin: 0;
}

.login-form .form-label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    font-family: 'Aktiv Grotesk', sans-serif;
}

.login-form .form-control {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(217, 217, 217, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-family: 'Aktiv Grotesk', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.login-form .form-control:focus {
    outline: none;
}

.login-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-signin {
    width: 100%;
    padding: 14px;
    background: rgba(217, 217, 217, 0.15);
    color: #FFF;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 300;
    font-family: 'Aktiv Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    text-transform: uppercase;
}

.btn-signin:hover {
    background: rgba(217, 217, 217, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-signin:active {
    transform: translateY(0);
}

.btn.disabled, .btn:disabled {
    background: rgba(217, 217, 217, 0.15) !important;
    color: #FFF !important;
}

.forgot-password-link {
    color: rgba(255, 255, 255, 0.20);
    text-align: center;
    font-family: "Aktiv Grotesk";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: block;
    padding-top: 20px;
}

.forgot-password-link:hover {
    color: #FFF;
}

.login-card .alert-danger {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    border-radius: 8px;
    color: #ff6b6b;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    font-family: 'Aktiv Grotesk', sans-serif;
}

.login-card .alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 576px) {
    .login-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .login-card {
        padding: 30px 20px;
    }
}


/* Content Modal Styles */
.content-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.content-modal-dialog {
    position: relative;
    background: #1C1F39;
    max-height: 90vh;
    width: auto;
    min-width: 500px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.content-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}
@keyframes gradient { 
    0%   { background-position: 0 0; }
    100% { background-position: -750% 0; }
  }
.content-modal-header h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.content-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.content-modal-close:hover {
    color: #fff;
}

.content-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.content-modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.content-modal-body iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .content-modal-dialog {
        max-width: 95%;
        min-width: auto;
        width: 95%;
    }
    
    .content-modal-body iframe {
        min-height: 400px;
    }
}


.animate-in {
    opacity: 1;
    transition: opacity 1s ease-in;
}

.animate-in-start {
    opacity: 0;
}

/* Workspace / emovation Dashboard */
.workspace-body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(50% 50% at 50% 50%, #1C1F39 0%, #16182F 100%);
    color: #fff;
    font-family: "Aktiv Grotesk", "Montserrat", sans-serif;
}

.workspace-shell {
    min-height: 100vh;
}

.workspace-has-chrome .workspace-shell {
    display: grid;
    grid-template-columns: 92px 1fr;
    grid-template-rows: 72px 1fr;
    grid-template-areas:
        "header header"
        "sidebar main";
}

.workspace-header {
    grid-area: header;
    display: grid;
    grid-template-columns: 92px 1fr auto;
    align-items: center;
    padding: 0 28px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.workspace-hamburger {
    width: 92px;
    height: 72px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.workspace-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
}

.workspace-header-title {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
}

.workspace-header-title sup {
    font-size: 11px;
    top: -0.6em;
}

.workspace-header-brand {
    justify-self: end;
    height: 42px;
    display: flex;
    align-items: center;
}

.workspace-header-brand img {
    max-height: 42px;
    max-width: 160px;
    object-fit: contain;
}

.workspace-sidebar {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 0 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.workspace-side-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}

.workspace-side-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 11px;
    background: none;
    border: 0;
    cursor: pointer;
    width: 100%;
    padding: 0;
}

.workspace-side-item:hover,
.workspace-side-item.active {
    color: #FF5689;
    text-decoration: none;
}

.workspace-side-icon {
    width: 28px;
    height: 28px;
    display: flex;
    color: inherit;
}

.workspace-side-icon svg {
    width: 28px;
    height: 28px;
}

.workspace-logout {
    margin: 0;
}

.workspace-main {
    grid-area: main;
    padding: 36px 48px 48px;
    min-height: 0;
}

.workspace-main-full {
    padding: 0;
}

.workspace-alert {
    max-width: 720px;
    margin: 16px auto;
}

.workspace-dashboard {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.workspace-dev-tools {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.workspace-dev-tools-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.workspace-dev-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.workspace-dev-export-btn:hover {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.3);
    text-decoration: none;
}

.workspace-page-title {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #fff;
    text-align: center;
    margin: 0 0 40px;
}

.workspace-markenwissen .workspace-dash-grid {
    max-width: 760px;
}

.workspace-dash-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 360px));
    gap: 36px;
    width: 100%;
    max-width: 780px;
}

.workspace-dash-card {
    position: relative;
    min-height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 22px 24px;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.workspace-dash-card:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 0 28px rgba(255, 86, 137, 0.35);
    transform: translateY(-2px);
}

.workspace-dash-label {
    font-size: 18px;
    font-weight: 500;
}

.workspace-dash-icon {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workspace-dash-icon svg {
    width: 88px;
    height: 88px;
    color: #FF5689;
    filter: drop-shadow(0 0 18px rgba(255, 86, 137, 0.55));
}

.workspace-dash-card--tile {
    min-height: 168px;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    background: rgba(255, 255, 255, 0.08);
}

.workspace-dash-card--accent {
    background: #FF5689;
    border-color: #FF5689;
}

.workspace-dash-card--accent:hover {
    color: #fff;
    box-shadow: 0 0 28px rgba(255, 86, 137, 0.55);
}

.workspace-wissen-page {
    max-width: 720px;
    margin: 0 auto;
}

.workspace-wissen-lead {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.workspace-wissen-body {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

.workspace-wissen-empty {
    color: rgba(255, 255, 255, 0.5);
}

.workspace-wissen-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.workspace-wissen-row {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.06);
}

.workspace-wissen-link {
    color: #FF5689;
}

.workspace-project-select {
    max-width: 920px;
    margin: 0 auto;
    padding-bottom: 48px;
}

.workspace-project-select-title {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    margin: 12px 0 36px;
}

.workspace-project-toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.workspace-project-sort-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.workspace-project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.workspace-project-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    background: transparent;
    margin: 0;
}

.workspace-project-chip input[type="radio"] {
    display: none;
}

.workspace-project-chip.is-active {
    border-color: #FF5689;
    color: #fff;
}

.workspace-project-chip-icon {
    display: inline-flex;
    color: inherit;
}

.workspace-project-chip--search {
    min-width: 220px;
}

.workspace-project-search-input {
    background: transparent;
    border: 0;
    outline: none;
    color: #fff;
    width: 160px;
    font-size: 14px;
}

.workspace-project-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.workspace-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.workspace-project-tile {
    min-height: 120px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 24px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.workspace-project-tile:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(255, 86, 137, 0.28);
}

.workspace-project-tile.is-selected,
.workspace-project-tile:hover {
    background: #FF5689;
    border-color: #FF5689;
}

.workspace-project-tile--add {
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
}

.workspace-project-modal[hidden] {
    display: none !important;
}

.workspace-project-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workspace-project-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 24, 0.72);
}

.workspace-project-modal-dialog {
    position: relative;
    width: min(480px, calc(100% - 32px));
    background: #1C1F39;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 24px;
    color: #fff;
}

.workspace-project-modal-dialog h2 {
    font-size: 22px;
    margin-bottom: 18px;
}

.workspace-project-modal-label {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.workspace-project-modal-label .form-control {
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.workspace-project-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

@media (max-width: 700px) {
    .workspace-project-select-title {
        font-size: 24px;
    }

    .workspace-project-grid {
        grid-template-columns: 1fr;
    }
}

.workspace-project-hub {
    max-width: 1100px;
    margin: 0 auto;
}

.workspace-project-hub-top {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;
    margin-bottom: 36px;
}

.workspace-project-hub-title {
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    margin: 0;
    color: #fff;
}

.workspace-project-hub-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 48px;
    align-items: start;
}

.workspace-project-hub-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.28);
}

.workspace-project-hub-section-head h2,
.workspace-project-hub-actions h2 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: #fff;
}

.workspace-project-hub-edit {
    color: rgba(255, 255, 255, 0.65);
    display: inline-flex;
}

.workspace-project-hub-edit:hover {
    color: #FF5689;
}

.workspace-project-hub-name {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 22px;
    color: #fff;
}

.workspace-project-hub-block {
    margin-bottom: 22px;
}

.workspace-project-hub-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 6px;
}

.workspace-project-hub-block p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    white-space: pre-wrap;
}

.workspace-project-hub-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.workspace-project-hub-btn {
    width: 100%;
    min-height: 72px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workspace-project-hub-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(255, 86, 137, 0.25);
}

.workspace-project-hub-btn--accent {
    background: #FF5689;
    border-color: #FF5689;
}

.workspace-project-edit-form .form-control {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

@media (max-width: 900px) {
    .workspace-project-hub-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.workspace-project-tile-meta {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.workspace-project-results {
    margin-top: 48px;
}

.workspace-project-results-empty {
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.workspace-project-results-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.workspace-project-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-decoration: none;
}

a.workspace-project-result:hover {
    border-color: #FF5689;
    background: rgba(255, 86, 137, 0.08);
    color: #fff;
    text-decoration: none;
}

.workspace-project-result.is-pending {
    opacity: 0.72;
}

.workspace-project-result-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.workspace-project-result-preview,
.workspace-project-result-meta {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.workspace-project-result-preview {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workspace-project-result-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.workspace-project-result-score {
    font-weight: 600;
    color: #FF5689;
    font-size: 14px;
}

.workspace-touchpoint-page {
    max-width: 1280px;
    margin: 0 auto;
}

.workspace-touchpoint-funnel {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.workspace-touchpoint-stage {
    background: #FF5689;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 10px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
    margin-bottom: 14px;
}

.workspace-touchpoint-column:first-child .workspace-touchpoint-stage {
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}

.workspace-touchpoint-stack,
.workspace-touchpoint-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.workspace-touchpoint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.workspace-touchpoint-more-title {
    margin: 28px 0 14px;
    font-size: 18px;
    color: #fff;
}

.workspace-touchpoint-card-form {
    margin: 0;
}

.workspace-touchpoint-card {
    width: 100%;
    min-height: 170px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    padding: 18px 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.workspace-touchpoint-card:hover {
    background: rgba(255, 86, 137, 0.18);
    box-shadow: 0 0 22px rgba(255, 86, 137, 0.25);
    transform: translateY(-1px);
}

.workspace-touchpoint-info {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 11px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.55);
}

.workspace-touchpoint-icon {
    color: #FF5689;
    margin-bottom: 4px;
}

.workspace-touchpoint-name {
    font-size: 16px;
    font-weight: 600;
}

.workspace-touchpoint-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.35;
}

.workspace-touchpoint-empty {
    min-height: 80px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1100px) {
    .workspace-touchpoint-funnel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .workspace-touchpoint-funnel {
        grid-template-columns: 1fr;
    }
}

.workspace-touchpoint-page--info .workspace-project-hub-title {
    text-align: center;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    flex: 1;
}

.workspace-touchpoint-card--info {
    border: none;
    font: inherit;
    appearance: none;
}

body.workspace-modal-open {
    overflow: hidden;
}

.workspace-touchpoint-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.workspace-touchpoint-modal[hidden] {
    display: none !important;
}

.workspace-touchpoint-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 22, 0.72);
    backdrop-filter: blur(6px);
}

.workspace-touchpoint-modal-dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(34, 38, 58, 0.98) 0%, rgba(22, 24, 38, 0.98) 100%);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    padding: 28px 32px 32px;
    color: #fff;
}

.workspace-touchpoint-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.workspace-touchpoint-modal-close:hover {
    background: rgba(255, 86, 137, 0.22);
    color: #fff;
}

.workspace-touchpoint-modal-stage {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FF5689;
    margin-bottom: 8px;
}

.workspace-touchpoint-modal-title {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    line-height: 1.15;
}

.workspace-touchpoint-modal-desc {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
    max-width: 90%;
}

.workspace-touchpoint-modal-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 28px;
    align-items: start;
}

.workspace-touchpoint-modal-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 86, 137, 0.12);
    border: 1px solid rgba(255, 86, 137, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5689;
}

.workspace-touchpoint-modal-icon svg {
    width: 52px;
    height: 52px;
}

.workspace-touchpoint-modal-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.workspace-touchpoint-modal-row {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: start;
}

.workspace-touchpoint-modal-row-icon {
    color: #FF5689;
    margin-top: 2px;
}

.workspace-touchpoint-modal-row-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 4px;
}

.workspace-touchpoint-modal-row-text {
    font-size: 15px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

#touchpointIconTemplates {
    display: none;
}

/* Workspace — Markenwissen Personas */
.workspace-personas-page .workspace-project-hub-top {
    margin-bottom: 24px;
}

.workspace-personas-title {
    margin: 0;
}

a.persona-card,
a.persona-card:hover {
    text-decoration: none;
    color: inherit;
}

.workspace-persona-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.workspace-persona-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.workspace-persona-switcher-item {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.workspace-persona-switcher-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workspace-persona-switcher-item.is-active,
.workspace-persona-switcher-item:hover {
    border-color: #FF5689;
    box-shadow: 0 0 12px rgba(255, 86, 137, 0.35);
}

.workspace-persona-detail-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
    gap: 24px;
    align-items: start;
}

.workspace-persona-profile-card,
.workspace-persona-chat-panel {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    padding: 24px;
}

.workspace-persona-profile-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 86, 137, 0.35);
}

.workspace-persona-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workspace-persona-profile-name {
    text-align: center;
    margin: 0 0 10px;
    color: #fff;
    font-size: 24px;
}

.workspace-persona-profile-lead {
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 16px;
    line-height: 1.45;
}

.workspace-persona-profile-text {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
    margin: 0 0 18px;
    font-size: 14px;
}

.workspace-persona-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.workspace-persona-stat {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

.workspace-persona-stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FF5689;
    margin-bottom: 4px;
}

.workspace-persona-stat-value {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-line;
}

.workspace-persona-quote {
    margin: 0;
    padding: 14px 16px;
    border-left: 3px solid #FF5689;
    background: rgba(255, 86, 137, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
}

.workspace-persona-chat-head h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 20px;
}

.workspace-persona-chat-head p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.workspace-persona-chat-messages {
    min-height: 280px;
    max-height: 420px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding-right: 4px;
}

.workspace-persona-chat-empty {
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    padding: 40px 12px;
}

.workspace-persona-chat-bubble {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
}

.workspace-persona-chat-bubble.is-user {
    align-self: flex-end;
    background: rgba(255, 86, 137, 0.22);
    border: 1px solid rgba(255, 86, 137, 0.35);
    color: #fff;
}

.workspace-persona-chat-bubble.is-assistant {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.workspace-persona-chat-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.workspace-persona-chat-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 12px 14px;
    resize: vertical;
    min-height: 88px;
}

.workspace-persona-chat-form textarea:focus {
    outline: none;
    border-color: rgba(255, 86, 137, 0.55);
}

.workspace-persona-chat-form button {
    align-self: flex-end;
}

.workspace-persona-chat-status {
    margin: 10px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.workspace-persona-chat-status.is-error {
    color: #ff8a8a;
}

@media (max-width: 900px) {
    .workspace-persona-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .workspace-touchpoint-modal-body {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .workspace-touchpoint-modal-row {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .workspace-touchpoint-modal-desc {
        max-width: 100%;
    }
}

.workspace-testing-page {
    max-width: 860px;
    margin: 0 auto;
}

.workspace-testing-panel {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 28px 28px 24px;
    background: rgba(255, 255, 255, 0.04);
}

.workspace-testing-panel-head h2 {
    margin: 0 0 6px;
    font-size: 22px;
    color: #fff;
}

.workspace-testing-panel-head p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.6);
}

.workspace-testing-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 22px;
}

.workspace-testing-tab {
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    color: rgba(255, 255, 255, 0.55);
    padding: 0 0 10px;
    font-size: 15px;
    cursor: pointer;
}

.workspace-testing-tab.is-active {
    color: #fff;
    border-bottom-color: #FF5689;
}

.workspace-testing-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 240px;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    padding: 28px 20px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.workspace-testing-dropzone.is-dragover,
.workspace-testing-dropzone:hover {
    border-color: #FF5689;
    background: rgba(255, 86, 137, 0.08);
}

.workspace-testing-upload-icon {
    color: #FF5689;
}

.workspace-testing-drop-title {
    color: #fff;
    font-size: 15px;
}

.workspace-testing-file-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.workspace-testing-file-tags span {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
}

.workspace-testing-limits,
.workspace-testing-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 8px;
}

.workspace-testing-file-name {
    margin-top: 8px;
    color: #FF5689;
    font-size: 14px;
}

.workspace-testing-field-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.workspace-testing-input {
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.workspace-testing-variants {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.workspace-testing-variants h3 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 8px;
}

.workspace-testing-variants ul {
    margin: 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.75);
}

.workspace-testing-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.workspace-testing-btn {
    min-width: 180px;
    min-height: 52px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.workspace-testing-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.workspace-testing-btn--accent {
    background: #FF5689;
    border-color: #FF5689;
}

.workspace-testing-status {
    text-align: center;
    margin-top: 16px;
    color: #FF5689;
}

.workspace-testing-tabpanel {
    display: none;
}

.workspace-testing-tabpanel.is-active {
    display: block;
}

.workspace-ab-results {
    display: grid;
    gap: 14px;
}

.workspace-ab-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.03);
}

.workspace-ab-card.is-winner {
    border-color: #FF5689;
    box-shadow: 0 0 0 1px rgba(255, 86, 137, 0.25);
}

.workspace-ab-card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    margin-bottom: 8px;
}

.workspace-ab-badge {
    background: #FF5689;
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    padding: 3px 10px;
}

.workspace-ab-score {
    color: #fff;
    margin: 0 0 4px;
}

.workspace-ab-meta,
.workspace-ab-preview {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 0 0 8px;
}

.workspace-ab-link {
    color: #FF5689;
    font-size: 13px;
}

.workspace-tickets-page {
    max-width: 920px;
    margin: 0 auto;
}

.workspace-tickets-page .workspace-project-hub-top {
    align-items: center;
    gap: 16px;
}

.workspace-tickets-header {
    grid-template-columns: 50px 1fr auto;
}

.workspace-tickets-header-spacer {
    width: 50px;
}

.workspace-tickets-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.workspace-tickets-action-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.workspace-tickets-action-btn--accent {
    background: #FF5689;
    border-color: #FF5689;
}

.workspace-tickets-action-btn--accent:hover {
    background: #ff6a98;
    border-color: #ff6a98;
    box-shadow: 0 0 18px rgba(255, 86, 137, 0.35);
}

a.workspace-testing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

a.workspace-testing-btn:hover {
    color: #fff;
    text-decoration: none;
}

.workspace-testing-btn--accent:hover {
    background: #ff6a98;
    border-color: #ff6a98;
}

@media (max-width: 640px) {
    .workspace-tickets-header {
        grid-template-columns: 1fr;
        justify-items: stretch;
        text-align: center;
    }

    .workspace-tickets-header-spacer {
        display: none;
    }

    .workspace-tickets-action-btn {
        width: 100%;
        min-height: 44px;
    }
}

.workspace-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.workspace-ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.workspace-ticket-row:hover {
    border-color: #FF5689;
    background: rgba(255, 86, 137, 0.08);
    color: #fff;
    text-decoration: none;
}

.workspace-ticket-row-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.workspace-ticket-row-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

.workspace-ticket-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
}

.workspace-ticket-badge--priority-p1 {
    background: rgba(220, 53, 69, 0.25);
    border-color: #dc3545;
}

.workspace-ticket-badge--priority-p2 {
    background: rgba(255, 193, 7, 0.2);
    border-color: #ffc107;
}

.workspace-ticket-badge--priority-p3 {
    background: rgba(255, 255, 255, 0.08);
}

.workspace-ticket-badge--priority-p4 {
    background: rgba(255, 255, 255, 0.04);
    opacity: 0.8;
}

.workspace-ticket-badge--status {
    background: rgba(255, 86, 137, 0.15);
    border-color: rgba(255, 86, 137, 0.45);
}

.workspace-ticket-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.workspace-ticket-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.workspace-ticket-message {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
}

.workspace-ticket-message.is-own {
    border-color: rgba(255, 86, 137, 0.35);
}

.workspace-ticket-message.is-staff {
    border-color: rgba(100, 180, 255, 0.35);
}

.workspace-ticket-message header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: #fff;
    font-size: 13px;
}

.workspace-ticket-message header time {
    color: rgba(255, 255, 255, 0.5);
}

.workspace-ticket-message p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    white-space: pre-wrap;
}

.workspace-ticket-reply-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
}

.workspace-ticket-pagination {
    margin-top: 16px;
}

.workspace-ticket-pagination .pagination {
    justify-content: center;
}

.workspace-motiv-page {
    min-height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
}

.workspace-motiv-header {
    margin-bottom: 12px;
}

.workspace-motiv-switch {
    margin-left: 0;
    flex: 1;
    justify-content: center;
}

.workspace-motiv-grid.row_calc {
    height: auto;
    min-height: 420px;
    align-items: stretch;
    flex: 0 0 auto;
    margin-bottom: 24px;
}

.workspace-motiv-strategy-card {
    height: 100%;
    min-height: 420px;
    margin-bottom: 0;
}

.workspace-brand-chat-panel {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    padding: 24px;
    margin-top: 8px;
}

.workspace-brand-chat-head h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 20px;
}

.workspace-brand-chat-head p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.workspace-brand-chat-messages {
    min-height: 220px;
    max-height: 360px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding-right: 4px;
}

.workspace-brand-chat-empty {
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    padding: 32px 12px;
}

.workspace-brand-chat-bubble {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
}

.workspace-brand-chat-bubble.is-user {
    align-self: flex-end;
    background: rgba(255, 86, 137, 0.22);
    border: 1px solid rgba(255, 86, 137, 0.35);
    color: #fff;
}

.workspace-brand-chat-bubble.is-assistant {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.workspace-brand-chat-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.workspace-brand-chat-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 12px 14px;
    resize: vertical;
    min-height: 88px;
}

.workspace-brand-chat-form textarea:focus {
    outline: none;
    border-color: rgba(255, 86, 137, 0.55);
}

.workspace-brand-chat-form button {
    align-self: flex-end;
}

.workspace-brand-chat-status {
    margin: 10px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.workspace-brand-chat-status.is-error {
    color: #ff8a8a;
}

.workspace-motiv-empty {
    text-align: center;
    padding: 48px 0;
}

@media (max-width: 900px) {
    .workspace-motiv-grid.row_calc {
        min-height: 0;
    }

    .workspace-motiv-strategy-card {
        min-height: 280px;
    }

    .radar-chart-container {
        max-width: 100%;
    }
}

.workspace-select-mode .campaign-hero {
    min-height: 100vh;
}

@media (max-width: 900px) {
    .workspace-has-chrome .workspace-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "main";
    }
    .workspace-sidebar {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        bottom: 0;
        width: 120px;
        background: #16182F;
        z-index: 20;
    }
    .workspace-sidebar-open .workspace-sidebar {
        display: flex;
    }
    .workspace-dash-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .workspace-main {
        padding: 24px 20px;
    }
}

.workspace-admin-hub-grid {
    grid-template-columns: repeat(3, minmax(200px, 280px));
    max-width: 960px;
}

.workspace-admin-page {
    max-width: 1120px;
    margin: 0 auto;
}

.workspace-admin-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.workspace-admin-title {
    margin: 0;
    font-size: 28px;
    font-weight: 500;
    color: #fff;
}

.workspace-admin-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.workspace-admin-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 96px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.workspace-admin-nav-item:hover {
    color: #fff;
    text-decoration: none;
}

.workspace-admin-nav-item.is-active {
    color: #fff;
}

.workspace-admin-nav-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.workspace-admin-nav-icon svg {
    width: 40px;
    height: 40px;
    color: #FF5689;
    filter: drop-shadow(0 0 12px rgba(255, 86, 137, 0.45));
}

.workspace-admin-nav-item.is-active .workspace-admin-nav-icon {
    border-color: rgba(255, 86, 137, 0.55);
    box-shadow: 0 0 20px rgba(255, 86, 137, 0.25);
}

.workspace-admin-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.workspace-admin-toolbar {
    display: flex;
    justify-content: flex-start;
}

.workspace-admin-panel {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    padding: 20px 22px;
}

.workspace-admin-panel h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 18px;
}

.workspace-admin-lead {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    margin: 0;
}

.workspace-admin-lead code {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

.workspace-admin-invite-form .workspace-admin-form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.workspace-admin-invite-form label span,
.workspace-admin-filter-form label span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.workspace-admin-invite-form input,
.workspace-admin-invite-form select,
.workspace-admin-filter-form input,
.workspace-admin-filter-form select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 10px 12px;
}

.workspace-admin-form-error {
    color: #ff8a8a;
    font-size: 13px;
    margin: 0 0 12px;
}

.workspace-admin-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.workspace-admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.workspace-admin-table th,
.workspace-admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.workspace-admin-table th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.workspace-admin-table tr.is-disabled td {
    opacity: 0.55;
}

.workspace-admin-user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.workspace-admin-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 86, 137, 0.22);
    border: 1px solid rgba(255, 86, 137, 0.35);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.workspace-admin-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: lowercase;
}

.workspace-admin-role-badge--administrator {
    background: rgba(255, 86, 137, 0.22);
    border: 1px solid rgba(255, 86, 137, 0.45);
    color: #ffb3cb;
}

.workspace-admin-role-badge--viewer {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.72);
}

.workspace-admin-status-badge {
    display: inline-flex;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}

.workspace-admin-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.workspace-admin-action-btn,
.workspace-admin-text-btn {
    border: 1px solid rgba(255, 86, 137, 0.35);
    background: transparent;
    color: #FF5689;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 13px;
}

.workspace-admin-action-details summary {
    list-style: none;
}

.workspace-admin-action-details summary::-webkit-details-marker {
    display: none;
}

.workspace-admin-inline-form select {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 6px 8px;
}

.workspace-admin-self-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

.workspace-admin-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    padding: 24px 16px;
}

.workspace-admin-pagination .pagination {
    justify-content: center;
}

.workspace-admin-invite-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.workspace-admin-invite-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.workspace-admin-invite-row:first-child {
    border-top: none;
    padding-top: 0;
}

.workspace-admin-invite-meta {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.workspace-admin-text-btn--danger {
    border-color: rgba(255, 120, 120, 0.35);
    color: #ff8a8a;
}

.workspace-admin-role-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 20px;
}

.workspace-admin-role-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    padding: 22px;
}

.workspace-admin-role-card-head {
    margin-bottom: 14px;
}

.workspace-admin-role-card-head h2 {
    margin: 10px 0 0;
    color: #fff;
    font-size: 20px;
}

.workspace-admin-role-card ul {
    margin: 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.workspace-admin-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.workspace-admin-filter-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.workspace-admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 16px;
}

.workspace-admin-kpi {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 16px 18px;
}

.workspace-admin-kpi-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FF5689;
    margin-bottom: 8px;
}

.workspace-admin-kpi strong {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
}

.workspace-admin-kpi--success .workspace-admin-kpi-label { color: #1cc88a; }
.workspace-admin-kpi--info .workspace-admin-kpi-label { color: #36b9cc; }
.workspace-admin-kpi--danger .workspace-admin-kpi-label { color: #ff8a8a; }

.workspace-admin-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 16px;
}

.workspace-admin-chart-grid .workspace-admin-panel:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
}

.workspace-admin-chart {
    height: 220px;
    position: relative;
}

.workspace-admin-chart--donut {
    height: 260px;
}

@media (max-width: 900px) {
    .workspace-admin-hub-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .workspace-admin-invite-form .workspace-admin-form-row,
    .workspace-admin-role-cards,
    .workspace-admin-kpi-grid,
    .workspace-admin-filter-grid,
    .workspace-admin-chart-grid {
        grid-template-columns: 1fr;
    }

    .workspace-admin-chart-grid .workspace-admin-panel:last-child {
        max-width: none;
    }
}
