:root {
    --fameup-primary: #0DBFB5;
    --fameup-primary-rgb: 13, 191, 181;
    --fameup-primary-hover: #0a9a91;
    --fameup-primary-dark: #00A396;
    --fameup-secondary: #E8F8F7;
    --fameup-secondary-accent: #FFB801;
    --fameup-secondary-accent-rgb: 255, 184, 1;
    --fameup-info-color: #5F92FF;
    --fameup-body-bg: #eef2f5;
    --fameup-card-bg: #ffffff;
    --fameup-text-dark: #212529;
    --fameup-text: #2d3748;
    --fameup-text-muted: #6c757d;
    --fameup-input-border: #ced4da;
    --fameup-input-focus-border: #86b7fe;
    --fameup-input-focus-shadow: rgba(var(--fameup-primary-rgb), 0.25);
    --fameup-border: #e0e0e0;
    --fameup-recommendation-bg: #e6fffa;
    --fameup-recommendation-border: #0DBFB5;
    --fameup-recommendation-text: #087973;
    --fameup-recommendation-tag-bg: #d1e7dd;
    --fameup-recommendation-tag-text: #0a3622;
    --fameup-recommended-option-bg: rgba(var(--fameup-secondary-accent-rgb), 0.1);
    --fameup-recommended-option-border: var(--fameup-secondary-accent);
    --fameup-recommended-option-text: #A07400;
    --fameup-danger: #FF4B4B;
}

/* Base Styles */
html, body {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--fameup-body-bg);
    color: var(--fameup-text-dark);
    line-height: 1.6;
    font-optical-sizing: auto;
}

/* Placeholder color for onboarding/ai-flow inputs */
input::placeholder,
textarea::placeholder {
    color: #71727A !important;
    opacity: 1; /* Firefox default opacity is lower */
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #71727A !important;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #71727A !important;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #71727A !important;
}

/* Layout Structure */
#ai-onboarding-page-wrapper {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.onboarding-main-card {
    background-color: var(--fameup-card-bg);
    border: none;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    max-height: 95vh;
    overflow: hidden;
}

.onboarding-main-card > div {
    display: flex;
    flex-direction: column;
}

.onboarding-main-card > .onboarding-card-body {
    flex-grow: 1;
    overflow-y: auto;
}

/* Animations */
#initial-step-content, #ai-dynamic-area {
    animation: fadeInView 0.5s ease-out;
}

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

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

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

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0); }
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeSlideIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Card Body */
.onboarding-card-body {
    padding: 2rem 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.onboarding-card-body form,
.onboarding-card-body .needs-validation {
    /*display: flex;*/
    /*flex-direction: column;*/
    /*flex-grow: 1;*/
    min-height: 100%;
}

#ai-dynamic-area .onboarding-card-body.loading-state-body {
    align-items: center;
    justify-content: center;
    text-align: center;
}

#ai-dynamic-area .onboarding-card-body.question-state-body {
    justify-content: flex-start;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.header-question {
    padding: 0 3rem 0 1rem;
}

.onboarding-card-body-tight {
    padding: 1.25rem 1.5rem;
}

/* Ensure the initial step fills the height and centers content */
#initial-step-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#ai-intermission-screen {
    height: 100%;
    min-height: 100%;
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
    align-items: self-start !important;
    flex-grow: 1;
    text-align: left;
    padding: 2rem 1.5rem;
}

#ai-intermission-screen * {
    flex-shrink: 0;
}

#ai-intermission-screen .progress-loader {
    margin: 1rem auto;
}

#ai-intermission-screen .question-main-label {
    margin: 1rem 0 0.5rem 0;
}

#ai-intermission-screen #cycling-message {
    margin: 0.5rem auto 0 auto;
    max-width: 500px;
}

/* Form Controls */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control-lg {
    min-height: calc(1.5em + 1rem + 2px);
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-control-lg:focus {
    border-color: var(--fameup-primary);
    box-shadow: 0 0 0 3px rgba(var(--fameup-primary-rgb), 0.2);
    background-color: #ffffff;
}

/* Disable Bootstrap validation icons - they cause positioning issues on iOS Safari */
.was-validated .form-control:valid,
.was-validated .form-control:invalid,
.form-control.is-valid,
.form-control.is-invalid {
    background-image: none !important;
    padding-right: 1.25rem !important;
}

/* Buttons */
.btn {
    padding: 0.75rem 1rem !important;
    font-size: 1.0rem;
    font-weight: 500;
    line-height: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
}

/* Only apply max-width to buttons that are not in form-actions-sticky */
.btn:not(.form-actions-sticky .btn) {
    max-width: 400px;
    justify-self: center;
    width: 100%;
}

.btn-primary {
    background-color: var(--fameup-primary);
    border-color: var(--fameup-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--fameup-primary-hover);
    border-color: var(--fameup-primary-hover);
    color: white;
}

.btn-primary:disabled {
    background-color: #E5E5E5;
    border-color: #E5E5E5;
    color: #767676;
}

.btn-lg {
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-success.auto-advanced {
    animation: successPulse 0.5s ease-in-out;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-section .welcome-icon {
    font-size: 3rem;
    color: var(--fameup-primary);
    margin-bottom: 1rem;
}

.welcome-section h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--fameup-text-dark);
    margin-bottom: 0.75rem;
}

.welcome-section p {
    font-size: 1rem;
    color: var(--fameup-text-muted);
    margin-bottom: 0.5rem;
}

/* Question Styles */
.question-main-label {
    padding: 1rem 0rem 1rem 0rem;
    font-family: Inter;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 114.286% */
}
.question-subtitle {
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 18px; /* 128.571% */
    color: var(--fameup-text-muted);
    margin-bottom: .5rem;
}

.question-sub-summary {
    font-size: 1.05rem;
    color: var(--fameup-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.question-content {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.intermediate-question-indicator {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(13, 191, 181, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--fameup-primary);
}

.intermediate-question-indicator i {
    animation: pulse 2s infinite;
}

/* Loading & Progress */
#loading-text-cycle {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--fameup-text-dark);
    margin-bottom: 1rem;
}

#engaging-info-cycle {
    width: 100%;
    max-width: 480px;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1rem;
    color: var(--fameup-text-muted);
    min-height: 3em;
    font-family: monospace;
    padding: 0.5rem;
    border-left: 3px solid var(--fameup-primary);
    background-color: rgba(var(--fameup-primary-rgb), 0.03);
}

#engaging-info-cycle .typing-cursor {
    display: inline-block;
    background-color: var(--fameup-text-muted);
    width: 8px;
    height: 1em;
    animation: blink 0.7s infinite;
    margin-left: 2px;
    vertical-align: text-bottom;
}

.progress-loader {
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
}

.progress-container {
    width: 100%;
    height: 10px;
    background-color: white;
    border-radius: 5px;
    margin-top: 1.5rem;
}
#progressLabel {
    display:none !important;
}
.progress-track {
    height: 7px;
    background: linear-gradient(90deg, #E0E0E0, #F5F5F5);
    border-radius: 10px;
    border: 1px solid #D0D0D0;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4FC3F7, #9C27B0, #E91E63);
    border-radius: 10px;
    width: 10%;
    transition: width 0.1s ease;
}

.progress-bar-animated {
    height: 100%;
    background-color: var(--fameup-primary);
    width: 0%;
    border-radius: 5px;
    transition: width 0.5s ease-out;
}

/*.progress-label {*/
/*    position: absolute;*/
/*    top: -60px;*/
/*    left: 0;*/
/*    transform: translateX(-50%);*/
/*    background: var(--fameup-primary);*/
/*    color: white;*/
/*    padding: 0.5rem;*/
/*    border-radius: 8px;*/
/*    font-size: 12px;*/
/*    font-weight: 600;*/
/*    white-space: nowrap;*/
/*    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);*/
/*    box-shadow: 0 2px 6px rgba(13, 191, 181, 0.25);*/
/*    position: relative;*/
/*    will-change: transform;*/
/*    width: 3rem;*/
/*}*/

/*.progress-label::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 100%;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    width: 0;*/
/*    height: 0;*/
/*    border-left: 6px solid transparent;*/
/*    border-right: 6px solid transparent;*/
/*    border-top: 6px solid var(--fameup-primary);*/
/*}*/

/*.progress-label.completed {*/
/*    transform: translateX(-50%) scale(1.05);*/
/*    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);*/
/*}*/

.sparkle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

.sparkle.active {
    animation: sparkle 0.8s ease-out;
}

/* Recommendation & Summary */
.recommendation-box {
    background-color: var(--fameup-recommendation-bg);
    border: 1px solid var(--fameup-recommendation-border);
    border-left-width: 5px;
    padding: 1rem 1.25rem;
    border-radius: .5rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.recommendation-box .recommendation-title {
    font-weight: 600;
    color: var(--fameup-recommendation-text);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.recommendation-box .recommendation-title .bi {
    margin-right: 0.5rem;
    font-size: 1.2em;
}

.recommendation-box .recommendation-text {
    font-size: 0.9rem;
    color: var(--fameup-text-muted);
    margin-bottom: 0;
}

.recommendation-box .recommendation-tag {
    font-size: 0.85rem;
    font-weight: 500;
    background-color: var(--fameup-recommendation-tag-bg);
    color: var(--fameup-recommendation-tag-text);
    padding: 0.3em 0.6em;
    border-radius: 0.25rem;
}

.ai-summary-callout {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--fameup-text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ai-summary-section {
    background-color: rgba(var(--fameup-primary-rgb), 0.05) !important;
    border-color: var(--fameup-info-color) !important;
}

.ai-summary-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--fameup-text-muted);
}

/* Choice Options */
.choice-options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.choice-option-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-height: 70px;
    text-align: left;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.choice-option-card:hover {
    border-color: var(--fameup-primary);
    background-color: #f8f9fa;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.choice-option-card.selected {
    border-color: var(--fameup-primary);
    background: linear-gradient(135deg, rgba(var(--fameup-primary-rgb), 0.08) 0%, rgba(var(--fameup-primary-rgb), 0.05) 100%);
    box-shadow: 0 0 0 3px rgba(var(--fameup-primary-rgb), 0.2);
}

.choice-option-card.recommended {
    border-color: var(--fameup-secondary-accent);
    background: linear-gradient(135deg, #fffaf0 0%, #fff8e6 100%);
    position: relative;
}

.choice-option-card.recommended::after {
    content: "AI Recommends";
    position: absolute;
    top: -8px;
    right: 16px;
    background: linear-gradient(135deg, var(--fameup-secondary-accent) 0%, #d4a574 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.choice-option-card.recommended .choice-option-text {
    color: #c59100;
    font-weight: 600;
}

.choice-option-card.selected .choice-option-text {
    color: var(--fameup-primary);
    font-weight: 600;
}

.choice-option-card img.product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
    border: 2px solid #e9ecef;
    background-color: #f8f9fa;
}

.choice-content {
    flex-grow: 1;
}

.choice-option-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--fameup-text-dark);
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.choice-option-subtext {
    font-size: 0.9rem;
    color: var(--fameup-text-muted);
    line-height: 1.3;
}

.check-icon {
    font-size: 1.5rem;
    margin-left: 1rem;
    color: var(--fameup-primary);
    transition: all 0.3s ease;
    opacity: 0.3;
}

.choice-option-card.selected .check-icon {
    opacity: 1;
}

.choice-option-card.recommended .check-icon {
    color: var(--fameup-secondary-accent);
    opacity: 1;
}

/* Campaign & Profile Display */
.campaign-brief-display-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #ddd;
}

.campaign-brief-display-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}


.campaign-brief-display-section h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fameup-text-dark);
}

.campaign-brief-display-section p,
.campaign-brief-display-section ul {
    font-size: 0.95rem;
    color: var(--fameup-text-dark);
    margin-bottom: 0;
}

.campaign-brief-display-section ul {
    list-style-type: none;
    padding-left: 0;
}

.campaign-brief-display-section ul li {
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
}

.campaign-brief-display-section ul li .bi {
    margin-right: 0.6em;
    color: var(--fameup-primary);
    font-size: 1.1em;
    margin-top: 0.15em;
}

.campaign-details-toggle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--fameup-text-dark);
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.campaign-details-toggle .bi-caret-down-fill,
.campaign-details-toggle .bi-caret-right-fill {
    color: var(--fameup-primary);
}


.campaign-details-content .list-group-item {
    background-color: transparent;
    border: none;
    padding: 0.3rem 0;
}

.business-profile-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.brand-icon-container {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--fameup-primary-rgb), 0.1);
    border-radius: 50%;
    color: var(--fameup-primary);
}

.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.group-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fameup-text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(var(--fameup-primary-rgb), 0.2);
}

.detail-item {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.detail-item strong {
    font-weight: 600;
    color: var(--fameup-text-dark);
    min-width: 120px;
    display: inline-block;
}

.detail-item .bi {
    color: var(--fameup-primary);
    margin-right: 0.5rem;
    font-size: 1.1em;
    margin-top: 0.15em;
}

.detail-value {
    color: var(--fameup-text-dark);
    word-break: break-word;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background-color: rgba(var(--fameup-primary-rgb), 0.1);
    border-radius: 2rem;
    color: var(--fameup-primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: var(--fameup-primary);
    color: white;
    text-decoration: none;
}

.long-text-content {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--fameup-text-dark);
    border-left: 3px solid var(--fameup-primary);
}

.final-confirmation-details {
    text-align: left;
    font-size: 0.95rem;
}

.final-confirmation-details h5 {
    font-size: 1.1rem;
    color: var(--fameup-primary);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.final-confirmation-details ul {
    list-style-type: none;
    padding-left: 0;
}

.final-confirmation-details ul li {
    margin-bottom: 0.3rem;
    display: flex;
    align-items: flex-start;
}

.final-confirmation-details ul li .bi {
    margin-right: 0.5rem;
    color: var(--fameup-primary);
    font-size: 1.1em;
    margin-top: 0.1em;
}

.profile-verification-card .list-group-item {
    background-color: transparent !important;
    border: none;
    padding-left: 0;
    padding-right: 0;
    align-items: center;
}

/* Form Actions */
.form-actions-sticky {
    margin-top: auto !important;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    bottom: 0;
    z-index: 100;
    overflow: unset !important;
}


/* Utilities */
.feeling-lucky-link {
    font-size: 0.875rem;
    margin-top: 1.5rem;
    color: var(--fameup-secondary-accent) !important;
    font-weight: 500;
}

.feeling-lucky-link:hover {
    color: var(--fameup-text-dark) !important;
}

.bi-x-lg::before {
    color: #dc3545;
}

#lottie-loading-animation {
    width: 250px;
    height: 250px;
    margin-bottom: 1rem;
}

.typewriter {
    animation: typing 3s steps(60, end);
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

.fade-in-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideIn 1.5s ease-out forwards;
    animation-delay: 1s;
}

/* Responsive Design */
@media (max-width: 575.98px) {
    #ai-onboarding-page-wrapper {
        padding: 0;
    }
    
    .onboarding-main-card {
        min-height: 100dvh;
        max-height: 100dvh;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
    }

    .onboarding-card-body {
        padding: 1rem;
    }

    #ai-dynamic-area .onboarding-card-body.loading-state-body {
        padding: 1.5rem;
    }

}

@media (min-width: 768px) {
    .profile-details-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .long-text {
        grid-column: 1 / -1;
    }
}

.ai-summary-callout {
    display: none;
}


body {
    background-image: url("/assets/images/onboarding/bg.png");
}


.view-container {
    opacity: .9;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
@media only screen and (max-width: 420px) {
    .view-container {
        height: 100dvh;
        width: 100%;
    }
}
.screen-background {
    margin: 0 !important;
    width: 100%;
    height: 100dvh;
}

/* Gray disabled button for platforms question */
.btn-disabled-gray {
    background-color: #E5E5E5 !important;
    border-color: #E5E5E5 !important;
    color: #767676 !important;
    cursor: not-allowed !important;
}

.btn-disabled-gray:hover {
    background-color: #E5E5E5 !important;
    border-color: #E5E5E5 !important;
    color: #767676 !important;
}

/* Platform icons styling */
.platform-icon {
    font-size: 2rem;
    color: var(--fameup-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

/* SVG inside platform icon */
.platform-icon svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* Center platforms question */
.platforms-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    text-align: center;
}

.platforms-centered .form-content-area {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.platforms-centered .choice-option-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.platforms-centered .choice-option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.platforms-centered .form-actions-sticky {
    margin-top: 2rem;
}


.server-response-container {
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.server-response-content {
    font-family: monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.step-box {
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 16px;
    /*border: 1px solid #dee2e6;*/
}

.step-box h4 {
    font-weight: bold;
}

.text-muted {
    margin: 0 ;
}

.option-content {
    flex-grow: 1; /* Make content area expand */
}

.choice-option-card.selected {
    border-color: var(--fameup-primary);
    background: linear-gradient(135deg, rgba(var(--fameup-primary-rgb), 0.08) 0%, rgba(var(--fameup-primary-rgb), 0.05) 100%);
    box-shadow: 0 0 0 3px rgba(var(--fameup-primary-rgb), 0.2);
}

.font-18 {
    font-size: 18px !important;
}

.font-14 {
    font-size: 14px !important;
}

/* Progress Header Adjustments when using new progress bar */
.onboarding-main-card.has-progress-header {
    padding-top: 0;
}

.onboarding-card-body.with-progress {
    padding-top: 1rem;
}

/* Mobile adjustments for progress header */
@media (max-width: 575.98px) {
    .onboarding-main-card.has-progress-header .onboarding-card-body {
        padding-top: 0.5rem;
    }
    
    /* Adjust sticky form actions to account for progress bar */
    .form-actions-sticky {
        margin-bottom: env(safe-area-inset-bottom, 0);
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
    }
}

/* Animation for progress transitions */
@keyframes progressSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-header {
    animation: progressSlide 0.3s ease-out;
}

/* Ensure content doesn't overlap with progress bar */
.onboarding-main-card > div {
    position: relative;
}

/* Desktop progress bar hover effects */
@media (min-width: 768px) {
    .progress-header-desktop:hover .progress-bar-fill {
        filter: brightness(1.05);
    }
    
    .progress-header-desktop:hover .progress-step.active .progress-step-dot {
        transform: scale(1.3);
    }
}

/* Focus styles for accessibility */
.progress-back-button:focus,
.progress-close-button:focus {
    outline: 3px solid rgba(var(--fameup-primary-rgb), 0.5);
    outline-offset: 2px;
}

/* Smooth transitions for all progress elements */
.progress-header * {
    transition-property: transform, opacity, box-shadow, background-color, border-color;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.campaign-brief-display-section ul li .bi {
    margin-right: 0.6em;
    color: var(--fameup-primary);
    font-size: 1.1em;
    margin-top: 0.15em;
}

.campaign-details-toggle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--fameup-text-dark);
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.campaign-details-toggle .bi-caret-down-fill,
.campaign-details-toggle .bi-caret-right-fill {
    color: var(--fameup-primary);
}

.campaign-details-content .list-group-item {
    background-color: transparent;
    border: none;
    padding: 0.3rem 0;
}

.business-profile-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.brand-icon-container {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--fameup-primary-rgb), 0.1);
    border-radius: 50%;
    color: var(--fameup-primary);
}

.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.group-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fameup-text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(var(--fameup-primary-rgb), 0.2);
}

.detail-item {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.detail-item strong {
    font-weight: 600;
    color: var(--fameup-text-dark);
    min-width: 120px;
    display: inline-block;
}

.detail-item .bi {
    color: var(--fameup-primary);
    margin-right: 0.5rem;
    font-size: 1.1em;
    margin-top: 0.15em;
}

.detail-value {
    color: var(--fameup-text-dark);
    word-break: break-word;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background-color: rgba(var(--fameup-primary-rgb), 0.1);
    border-radius: 2rem;
    color: var(--fameup-primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: var(--fameup-primary);
    color: white;
    text-decoration: none;
}

.long-text-content {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--fameup-text-dark);
    border-left: 3px solid var(--fameup-primary);
}

.final-confirmation-details {
    text-align: left;
    font-size: 0.95rem;
}

.final-confirmation-details h5 {
    font-size: 1.1rem;
    color: var(--fameup-primary);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.final-confirmation-details ul {
    list-style-type: none;
    padding-left: 0;
}

.final-confirmation-details ul li {
    margin-bottom: 0.3rem;
    display: flex;
    align-items: flex-start;
}

.final-confirmation-details ul li .bi {
    margin-right: 0.5rem;
    color: var(--fameup-primary);
    font-size: 1.1em;
    margin-top: 0.1em;
}

.profile-verification-card .list-group-item {
    background-color: transparent !important;
    border: none;
    padding-left: 0;
    padding-right: 0;
    align-items: center;
}

/* Form Actions */
.form-actions-sticky {
    margin-top: auto !important;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    bottom: 0;
    z-index: 100;
    overflow: unset !important;
}


/*.onboarding-card-body .mb-4:last-of-type {*/
/*    margin-bottom: auto !important;*/
/*}*/

/* Utilities */
.feeling-lucky-link {
    font-size: 0.875rem;
    margin-top: 1.5rem;
    color: var(--fameup-secondary-accent) !important;
    font-weight: 500;
}

.feeling-lucky-link:hover {
    color: var(--fameup-text-dark) !important;
}

.bi-x-lg::before {
    color: #dc3545;
}

#lottie-loading-animation {
    width: 250px;
    height: 250px;
    margin-bottom: 1rem;
}

.typewriter {
    animation: typing 3s steps(60, end);
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

.fade-in-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideIn 1.5s ease-out forwards;
    animation-delay: 1s;
}

/* Responsive Design */
@media (max-width: 575.98px) {
    #ai-onboarding-page-wrapper {
        padding: 0;
    }

    .onboarding-main-card {
        min-height: 100dvh;
        max-height: 100dvh;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
    }

    .onboarding-card-body.question-state-body {
        padding: 1rem;
        padding-bottom: 0;
    }

    #ai-dynamic-area .onboarding-card-body.loading-state-body {
        padding: 1.5rem;
    }

}

@media (min-width: 768px) {
    .profile-details-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .long-text {
        grid-column: 1 / -1;
    }
}

.ai-summary-callout {
    display: none;
}


body {
    background-image: url("/assets/images/onboarding/bg.png");
}


.view-container {
    opacity: .9;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
@media only screen and (max-width: 420px) {
    .view-container {
        height: 100dvh;
        width: 100%;
    }
}
.screen-background {
    margin: 0 !important;
    width: 100%;
    height: 100dvh;
}

/* Gray disabled button for platforms question */
.btn-disabled-gray {
    background-color: #E5E5E5 !important;
    border-color: #E5E5E5 !important;
    color: #767676 !important;
    cursor: not-allowed !important;
}

.btn-disabled-gray:hover {
    background-color: #E5E5E5 !important;
    border-color: #E5E5E5 !important;
    color: #767676 !important;
}

/* Platform icons styling */
.platform-icon {
    font-size: 2rem;
    color: var(--fameup-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

/* SVG inside platform icon */
.platform-icon svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* Center platforms question */
.platforms-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    text-align: center;
}

.platforms-centered .question-main-label {
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: Inter;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 114.286% */
}

.platforms-centered .form-content-area {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.platforms-centered .choice-option-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.platforms-centered .choice-option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.platforms-centered .form-actions-sticky {
    margin-top: 2rem;
}


.server-response-container {
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.server-response-content {
    font-family: monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.step-box {
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 16px;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.step-box h4 {
    font-weight: bold;
}

.step-box p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.25rem;
}

.text-muted {
    margin: 0 ;
}

.option-content {
    flex-grow: 1; /* Make content area expand */
}

.choice-option-card.selected {
    border-color: var(--fameup-primary);
    background: linear-gradient(135deg, rgba(var(--fameup-primary-rgb), 0.08) 0%, rgba(var(--fameup-primary-rgb), 0.05) 100%);
    box-shadow: 0 0 0 3px rgba(var(--fameup-primary-rgb), 0.2);
}

.font-18 {
    font-size: 18px !important;
}

/* Progress Header Adjustments when using new progress bar */
.onboarding-main-card.has-progress-header {
    padding-top: 0;
}

.onboarding-card-body.with-progress {
    padding-top: 1rem;
}

/* Mobile adjustments for progress header */
@media (max-width: 575.98px) {
    .onboarding-main-card.has-progress-header .onboarding-card-body {
        padding-top: 0.5rem;
    }
    
    /* Adjust sticky form actions to account for progress bar */
    .form-actions-sticky {
        margin-bottom: env(safe-area-inset-bottom, 0);
        /*padding-bottom: 2rem;*/
        /*padding-top: 1rem;*/
    }
}

/* Animation for progress transitions */
@keyframes progressSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-header {
    animation: progressSlide 0.3s ease-out;
}

/* Ensure content doesn't overlap with progress bar */
.onboarding-main-card > div {
    position: relative;
}

/* Desktop progress bar hover effects */
@media (min-width: 768px) {
    .progress-header-desktop:hover .progress-bar-fill {
        filter: brightness(1.05);
    }
    
    .progress-header-desktop:hover .progress-step.active .progress-step-dot {
        transform: scale(1.3);
    }
}

/* Focus styles for accessibility */
.progress-back-button:focus,
.progress-close-button:focus {
    outline: 3px solid rgba(var(--fameup-primary-rgb), 0.5);
    outline-offset: 2px;
}

/* Smooth transitions for all progress elements */
.progress-header * {
    transition-property: transform, opacity, box-shadow, background-color, border-color;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

#loading-overlay {
    display: flex;
    flex-grow:1;
}

#ai-intermission-screen,
#ai-intermission-screen h3
{
    text-align: center !important;
    align-self: center !important;
}
@media (max-width: 575.98px) {
    #ai-intermission-screen,
    #ai-intermission-screen h3
    {
        text-align: left !important;
        align-self: flex-start !important;
    }
}

.text-success {
    color: var(--fameup-primary) !important;
}

.text-danger {
    color: var(--fameup-danger) !important;
}

#main-content {
    overflow-y: scroll;
}