/* ==========================================
   UI STATE CLASSES
   ========================================== */
/* Use these classes to control UI states instead of manual .show()/.hide() */
.is-hidden {
    display: none !important;
}

.is-analyzing {
    pointer-events: none;
    opacity: 0.6;
}

.is-error {
    border-color: #ff4444 !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2) !important;
}

/* ==========================================
   FUNNEL CONTAINER
   ========================================== */
.leadgen-funnel {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 3em 2em;
    font-family: 'Manrope', sans-serif !important;
    color: white;
    display: flex;
    flex-direction: column;
    min-width: 800px;
    min-height: auto; /* Changed from 80vh to auto for dynamic height */
    justify-content: center;
    position: relative;
}

.dev-mode-indicator {
    position: fixed;
    top: 60px;
    right: 10px;
    background: #ff4444;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 9999;
}

#funnelForm {
    width: 100%;
    overflow: hidden;
}

.funnel-step {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    padding-bottom: 50px;
    min-height: auto; /* Changed from 400px to auto for dynamic height */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed from center to flex-start for better content flow */
}

.funnel-step.slide-out {
    opacity: 0;
    transform: translateY(30px);
}

.funnel-step.slide-in {
    opacity: 0;
    transform: translateY(-30px);
}

.progress-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.progress {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: block;
}

.progress.active {
    background: white;
}


.leadgen-funnel h6{
    color: white;
    text-transform: uppercase;
    font-weight: lighter;
    margin-top: 30px;
}

.leadgen-funnel h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.8em;
    text-align: center;
}

.leadgen-funnel p {
    color: white;
    font-size: 1.1em;
}

.funnel-step p{
    text-align: center;
}

.leadgen-funnel .options {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 10px 0;
    box-sizing: border-box;
}

.leadgen-funnel .options label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 120px;
    background: white;
}

.options input[type="radio"] {
    display: none;
}

.material-symbols-outlined {
    font-size: 20px;
    margin-bottom: 5px;
    color: #081f0c;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgb(190 215 210);
    min-width: 18px;
    min-height: 18px;
    place-content: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.material-symbols-outlined img {
    width: 20px;
    height: 20px;
    display: block;
    filter: brightness(0) saturate(100%) invert(7%) sepia(18%) saturate(2239%) hue-rotate(96deg) brightness(96%) contrast(101%);
    transition: filter 0.3s ease;
}

.option-text {
    margin-top: 8px;
    color: #081E0C;
    transition: color 0.3s ease;
}

/* Hover-Effekt */
.options label:hover .material-symbols-outlined {
    background: rgba(8, 30, 12, 1);
    transform: scale(1.05);
    color: #fff;
}

.options label:hover .material-symbols-outlined img {
    filter: brightness(0) invert(1);
}

/* Ausgewählter Zustand */
.options input[type="radio"]:checked + .material-symbols-outlined {
    background: #081E0C;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(8, 30, 12, 0.2);
}

.options input[type="radio"]:checked + .material-symbols-outlined img {
    filter: brightness(0) invert(1);
}

.options label:has(input[type="radio"]:checked) {
    border-color: #081E0C;
    box-shadow: 0 4px 12px rgba(8, 30, 12, 0.1);
}

/* Animation für den Auswahlprozess */
@keyframes selectIcon {
    0% {
        transform: scale(1);
        background: transparent;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1.1);
        background: #081E0C;
    }
}

.options input[type="radio"]:checked + .material-symbols-outlined {
    animation: selectIcon 0.3s ease forwards;
}

.form-group {
    width: 100%;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input, .form-group textarea {
    padding: 15px;
    border: 2px solid white;
    border-radius: 8px;
    background: transparent;
    color: white;
    font-size: 1em;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: white;
    outline: none;
}

button {
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin: 0;
}

.next-step, .submit-funnel, .analyze-url {
    background: white;
    color: #081E0C;
    margin: 0;
}

.prev-step {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    margin: 0;
}

.leadgen-funnel button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 255, 255, 0.15);
}

/* Analysis Screen Styles - Clean */
.analysis-screen {
    text-align: center;
    margin-top: 30px;
    position: relative;
    min-height: 100px;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.analysis-screen:not([style*="display: none"]) {
    opacity: 1;
}

.analysis-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
    padding: 20px 0;
    opacity: 0;
    transform: translateY(15px);
    animation: slideInClean 0.4s ease-out forwards;
    position: relative;
}

.analysis-text {
    color: white;
    font-size: 1.15em;
    text-align: center;
    flex: 0 1 auto;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Clean slide in animation - no bounces */
@keyframes slideInClean {
    from { 
        opacity: 0; 
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-circle {
    width: 24px;
    height: 24px;
    border: 2.5px solid rgba(255, 255, 255, 0.2);
    border-top: 2.5px solid white;
    border-radius: 50%;
    animation: spinSmooth 0.8s linear infinite;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

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

/* Clean Fade Out Animation */
@keyframes slideOutClean {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-15px);
    }
}

.analysis-item.fade-out {
    animation: slideOutClean 0.3s ease-out forwards;
}


/* Responsive Design */
@media (max-width: 480px) {
    h3 {
        font-size: 1.5em;
    }
    button {
        font-size: 1em;
    }
}

.button-container {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    width: 100%;
}

.button-container button{
    min-width: 49.2%;
}





/* Spezifischere Selektoren für die Funnel-Formulareingaben */
.leadgen-funnel .form-group input[type="text"], .leadgen-funnel .form-group input[type="email"], .leadgen-funnel .form-group input[type="tel"], .leadgen-funnel .form-group input[type="url"], .leadgen-funnel .form-group textarea {
    padding: 15px;
    border: 2px solid white !important;
    border-radius: 8px;
    background: transparent !important;
    color: white !important;
    font-size: 16px !important;
    width: 100%;
    box-sizing: border-box;
    z-index: 99;
}

/* Fokus-Styles */
.leadgen-funnel .form-group input:focus,
.leadgen-funnel .form-group textarea:focus {
    border-color: white !important;
    outline: none;
    box-shadow: none;
}

/* Placeholder-Farbe anpassen */
.leadgen-funnel .form-group input::placeholder,
.leadgen-funnel .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Für alle Texte innerhalb des Funnels */
.leadgen-funnel h1,
.leadgen-funnel h2,
.leadgen-funnel h3,
.leadgen-funnel h4,
.leadgen-funnel p,
.leadgen-funnel ul,
.leadgen-funnel input,
.leadgen-funnel textarea {
    color: white;
}

.leadgen-funnel h1,
.leadgen-funnel h2,
.leadgen-funnel h3,
.leadgen-funnel h4 {
    margin-top: 10px;
}



.check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    color: #081E0C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    flex-shrink: 0;
    animation: checkmarkSimple 0.3s ease-out forwards;
    opacity: 0;
}

@keyframes checkmarkSimple {
    from { 
        transform: scale(0.7);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

.score-container {
    margin: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s ease-out;
}

.score-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.score-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(
        #bed7d2 var(--score-percent, 0%),
        rgba(255, 255, 255, 0.1) var(--score-percent, 0%)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(190, 215, 210, 0.2);
    transition: box-shadow 0.3s ease;
}

.score-ring::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: #081E0C;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.score-value {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease-out;
    white-space: nowrap;
}

.score-value.visible {
    opacity: 1;
}

.score-text {
    margin-top: 15px;
    color: white;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.5s ease-out 0.2s;
}

.score-text.visible {
    opacity: 1;
}

@keyframes fillScore {
    0% { 
        --score-percent: 0%;
        transform: rotate(-180deg);
    }
    100% { 
        --score-percent: calc(var(--final-score) * 1%);
        transform: rotate(0deg);
    }
}

.score-ring.animate {
    animation: fillScore 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.metrics-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px auto;
    max-width: 800px;
    gap: 30px;
}

.metric-column {
    flex: 1;
    text-align: center;
}

.metric-value {
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.metric-value.visible {
    opacity: 1;
}

.metric-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.5s ease-out 0.1s;
}

.metric-label.visible {
    opacity: 1;
}

.ai-response-container, .second-analysis {
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

details {
    background: #fff;
}

summary {
    padding: 15px;
    background: #f5f5f5;
    cursor: pointer;
    font-weight: bold;
}


/* URL Input Styling */
.funnel-step[data-step="1"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.url-input-group input[name="website_url"] {
    text-align: center;
}

.funnel-step[data-step="1"] h3 {
    font-size: 2.4em;
    margin-bottom: 20px;
}

.funnel-step p {
    margin-bottom: 10px;
}

.funnel-step[data-step="1"] .form-group {
    width: 100%;
    max-width: 500px;
}

/* Typing Animation Container */
.typing-container {
    height: 24px;
    margin-bottom: 20px;
    font-family: monospace;
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.7);
}


/* Enhanced Input Field */
.funnel-step[data-step="1"] input[type="url"] {
    font-size: 1.2em;
    text-align: center;
    padding: 20px 25px;
    width: 100%;
    transition: all 0.3s ease;
}

.funnel-step[data-step="1"] input[type="url"]:focus {
    transform: scale(1.02);
}




/* Container für das Input-Feld */
.funnel-step[data-step="1"] .form-group {
    position: relative;
}

.thank-you-container {
    text-align: center;
    animation: fadeIn 0.4s ease-out;
}

.thank-you-message {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: white;
}

#result{
    padding-top: 30px;
}

.resend-report {
    color: white !important;
    text-decoration: none !important;
}

.resend-report:hover {
    background: rgba(255, 255, 255, 0.2);
}

.resend-report.sending {
    pointer-events: none;
    opacity: 0.7;
}

.sending-indicator {
    display: inline-block;
    margin-left: 10px;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.submit-funnel.sending {
    pointer-events: none;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-funnel.sending .sending-indicator {
    border-color: rgba(8, 30, 12, 0.3);
    border-top-color: #081E0C;
}

.resend-report.sending .sending-indicator {
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: white;
}

/* Verbesserte Übergänge */
.thank-you-container {
    opacity: 0;
    animation: fadeIn 0.4s ease-out forwards;
}

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

.keyfact-text.loading {
    display: inline-flex;
    align-items: center;
}

.analyzing-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

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

.keyfact-label {
    color: rgba(255,255,255,0.7);
    margin-right: 4px;
}

/* URL Input Gruppe Styling */
.url-input-group {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.url-input-group input[name="website_url"] {
    width: 100%;
    padding: 15px 50px 15px 15px; /* Rechts mehr Padding für den Button */
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.url-input-group input[name="website_url"]:focus {
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
}

/* Placeholder Styling */
.url-input-group input[name="website_url"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 0; /* Wird vom Typewriter überschrieben */
}

/* Typewriter Container */
.placeholder-text {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    width: calc(100% - 70px); /* Platz für den Button lassen */
    overflow: hidden;
    white-space: nowrap;
}

.analyze-url {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    transition: transform 0.3s ease;
    z-index: 2;
}

.analyze-url:hover {
    transform: translateY(-50%) scale(1.2);
}

.url-input-group .analyze-url .material-symbols-outlined {
    font-size: 24px;
    padding: 0;
    background: none;
}

.url-input-group .analyze-url .material-symbols-outlined img {
    width: 24px;
    height: 24px;
}

/* Anpassung für den Hover-Effekt */
.url-input-group .analyze-url:hover .material-symbols-outlined {
    animation: sparkle 1s infinite;
}

.analyze-url .material-symbols-outlined {
    margin-bottom: 0px;
    color: #fff;
}

.analyze-url .material-symbols-outlined img {
    filter: brightness(0) invert(1);
}

button.analyze-url{
    padding: 0px;
    background: none;
    box-shadow: none;
}

/* Typewriter Styles */
.url-input-group {
    position: relative;
}

.placeholder-text {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255, 255, 255, 0.8);
}

.typed-text {
    display: inline-block;
}

.cursor {
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s infinite;
}

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

/* Verstecke den Standard-Placeholder wenn der Typewriter aktiv ist */
input[name="website_url"]::placeholder {
    color: transparent;
}
.url-input-group input[name="website_url"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
}

.custom-steps {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    font-size: 12px !important;
}

.leadgen-funnel .form-group {
    position: relative;
    overflow: hidden;
}

.leadgen-funnel .form-group input[type="text"] {
    padding: 15px;
    border: 2px solid white !important;
    border-radius: 8px;
    background: transparent !important;
    color: white !important;
    font-size: 16px !important;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.leadgen-funnel .form-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 500%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 35%,
        rgba(255, 255, 255, 0.005) 42%,
        rgba(255, 255, 255, 0.01) 45%,
        rgba(255, 255, 255, 0.02) 48%,
        rgba(255, 255, 255, 0.03) 50%,
        rgba(255, 255, 255, 0.02) 52%,
        rgba(255, 255, 255, 0.01) 55%,
        rgba(255, 255, 255, 0.005) 58%,
        transparent 65%,
        transparent 100%
    );
    animation: backgroundSlide 4s infinite cubic-bezier(0.4, 0.0, 0.3, 1);
    z-index: 0;
}

@keyframes backgroundSlide {
    from {
        transform: translateX(-75%);
    }
    to {
        transform: translateX(0%);
    }
}

.strategy-banner {
    align-items: center;
    background: rgb(255 255 255 / 10%);
    border-radius: 8px;
    padding: 4% 10%;
    margin-top: 20px;
    justify-items: center;
    margin-bottom: 20px;
}

.banner-icon {
    border-radius: 50%;
    padding: 10px;
    color: white;
    margin-top: -15px;
}

.banner-content h4{
    color: white!important;
    margin-bottom: 5px;
    font-size: 1.3em;
}

.banner-content p {
    margin: 5px 0 0;
}
.banner-icon .material-symbols-outlined {
    background: rgb(255 255 255);
}

.banner-icon .material-symbols-outlined img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(7%) sepia(18%) saturate(2239%) hue-rotate(96deg) brightness(96%) contrast(101%);
}

/* Styling für den neuen "Analyse starten" Button */
.start-analysis-button-container {
    margin: 20px 0;
}

.leadgen-funnel .button-atom.button-atom--primary {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



/* Honeypot-Feld verstecken */
.honeypot-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    z-index: -1;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

/* DSGVO Checkbox Styling */
.privacy-consent-container {
    margin: 15px 0 5px;
    text-align: left;
    max-width: 500px;
    width: 100%;
}

.privacy-checkbox-label {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.privacy-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    transition: all 0.2s ease;
}

.privacy-checkbox-label:hover .checkmark {
    background-color: rgba(255, 255, 255, 0.2);
}

.privacy-checkbox:checked ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.privacy-checkbox:checked ~ .checkmark:after {
    display: block;
}

.privacy-checkbox-label .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid #081E0C;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.privacy-text a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.privacy-text a:hover {
    opacity: 0.8;
}

/* AI Response Styling */
.ai-response-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
    overflow: hidden;
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 15px 0 0;
}

.model-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.model-badge.openai {
    background: #f0f7ff;
    color: #0066cc;
    border: 1px solid #b3d7ff;
}

.model-badge.gemini {
    background: #f0f4ff;
    color: #4050b5;
    border: 1px solid #c7d0ff;
}

.model-name {
    margin-right: 6px;
}

.reasoning-badge {
    background: #4050b5;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
}

.tab-buttons {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-buttons::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #333;
    background: rgba(0,0,0,0.03);
}

.tab-btn.active {
    color: #000;
    border-bottom-color: #2271b1;
}

.tab-content {
    display: none;
    padding: 20px;
    line-height: 1.6;
}

.tab-content.active {
    display: block;
}

.prompt-content {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    font-size: 13px;
    overflow-x: auto;
    white-space: pre-wrap;
    max-height: 300px;
    overflow-y: auto;
}

/* Styling for Step 4 GDPR Checkbox */
.step4-privacy-consent {
    margin: 15px 0 25px; /* Adjusted margin to give more space before buttons */
    text-align: left; /* Ensures the label itself (if inline-block/inline-flex) aligns left */
    /* width: 100%; /* Let child label determine width, or set specific max-width if needed */
    /* max-width: 100%; */ /* Let child label determine width */
}

.step4-privacy-consent .privacy-checkbox-label {
    justify-content: flex-start !important; /* Ensure left alignment of checkmark and text */
    width: auto; /* Make the label only as wide as its content */
    display: inline-flex; /* Allows text-align:left on parent to position it */
}
