/**
 * MindGrown B2C Personprofil & Feedback - Ultra-Modern Design System
 */

/* Container & Global Scope */
.b2c-container,
.b2c-container * {
    box-sizing: border-box !important;
}

.b2c-container {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    max-width: 860px;
    margin: 40px auto;
    padding: 0 20px;
    color: #1e293b;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Card Shell */
.b2c-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    padding: 48px 40px !important;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .b2c-container {
        margin: 20px auto;
        padding: 0 12px;
    }
    .b2c-card {
        padding: 28px 20px !important;
        border-radius: 16px !important;
    }
}

/* Header Area */
.b2c-header {
    text-align: center;
    margin-bottom: 36px;
}

.b2c-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4 !important;
    color: #0f766e !important;
    border: 1px solid #ccfbf1 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.b2c-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #0f172a !important;
    margin: 0 0 14px 0 !important;
    letter-spacing: -0.8px;
}

@media (max-width: 640px) {
    .b2c-title {
        font-size: 24px !important;
    }
}

.b2c-intro {
    font-size: 16px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    max-width: 640px;
    margin: 0 auto !important;
}

/* Value Props / Features Grid */
.b2c-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 0 36px 0;
    padding: 0 0 32px 0;
    border-bottom: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
    .b2c-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.b2c-feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #f8fafc;
    padding: 18px 16px;
    border-radius: 14px;
    border: 1px solid #edf2f7;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.b2c-feature-item:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.b2c-feature-icon {
    font-size: 22px;
    line-height: 1;
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.b2c-feature-item strong {
    display: block;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 4px;
}

.b2c-feature-item p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    margin: 0 !important;
}

/* Form Container */
.b2c-form-wrapper {
    background: #f8fafc !important;
    border-radius: 16px !important;
    padding: 32px !important;
    border: 1px solid #e2e8f0 !important;
}

@media (max-width: 600px) {
    .b2c-form-wrapper {
        padding: 20px 16px !important;
    }
}

.b2c-form-title {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 22px 0 !important;
    letter-spacing: -0.3px;
}

/* Grid & Inputs */
.b2c-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

@media (max-width: 640px) {
    .b2c-grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.b2c-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.b2c-input-group label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    text-transform: none;
    letter-spacing: 0;
    margin: 0 !important;
}

.b2c-input-group .req {
    color: #e11d48;
    margin-left: 2px;
}

.b2c-input-group input,
.b2c-input-group select,
.b2c-input-group textarea {
    width: 100% !important;
    padding: 13px 16px !important;
    font-size: 15px !important;
    font-family: inherit !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    box-shadow: none !important;
}

.b2c-input-group input::placeholder,
.b2c-input-group textarea::placeholder {
    color: #94a3b8 !important;
}

.b2c-input-group input:focus,
.b2c-input-group select:focus,
.b2c-input-group textarea:focus {
    border-color: #0d9488 !important;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15) !important;
    background: #ffffff !important;
}

/* Terms Checkbox */
.b2c-terms-group {
    margin: 22px 0 26px 0;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.55 !important;
}

.b2c-terms-group label {
    display: flex !important;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal !important;
}

.b2c-terms-group input[type="checkbox"] {
    margin-top: 3px !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #0d9488;
    cursor: pointer;
    flex-shrink: 0;
}

/* Primary Button */
.b2c-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background: #0f766e !important;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 16px 28px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.28) !important;
    text-decoration: none !important;
}

.b2c-btn-primary:hover {
    background: linear-gradient(135deg, #115e59 0%, #0f766e 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.38) !important;
    color: #ffffff !important;
}

.b2c-btn-primary:active {
    transform: translateY(0) !important;
}

.b2c-btn-primary:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.b2c-loading {
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
    color: #0d9488;
    font-weight: 600;
}

/* ========================================================
   Step Flow Indicators
======================================================== */
.b2c-test-flow-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.b2c-flow-step {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 7px 16px;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.b2c-flow-step.active {
    background: #0f766e !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.2);
}

.b2c-flow-step.completed {
    background: #dcfce7 !important;
    color: #166534 !important;
}

.b2c-flow-arrow {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: bold;
}

/* ========================================================
   DISC Test Questions UI Overrides
======================================================== */
.b2c-container .mindgrow-test-wrapper {
    background: transparent !important;
    padding: 0 !important;
    font-family: inherit !important;
}

.b2c-container #disc-test-container {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.08) !important;
    padding: 32px 36px !important;
}

@media (max-width: 600px) {
    .b2c-container #disc-test-container {
        padding: 20px 16px !important;
    }
}

.b2c-container .progress-container {
    height: 8px !important;
    background-color: #f1f5f9 !important;
    border-radius: 9999px !important;
    overflow: hidden;
    margin-bottom: 8px !important;
}

.b2c-container .progress-bar {
    height: 100% !important;
    background: linear-gradient(90deg, #0d9488, #10b981) !important;
    border-radius: 9999px !important;
    transition: width 0.35s ease !important;
}

.b2c-container .page-counter {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-align: right;
    margin: 4px 0 20px 0 !important;
}

.b2c-container .question-list-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 24px 20px !important;
    margin-bottom: 20px !important;
    transition: all 0.2s ease !important;
}

.b2c-container .question-list-item:hover {
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.b2c-container .question-statement {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-align: left !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.4 !important;
}

/* Modern Likert Scale Buttons */
.b2c-container .likert-scale-container {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 8px !important;
}

@media (max-width: 640px) {
    .b2c-container .likert-scale-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }
}

.b2c-container .likert-label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 8px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
}

.b2c-container .likert-label:hover {
    border-color: #0d9488 !important;
    background: #f0fdf4 !important;
    color: #0f766e !important;
}

.b2c-container .likert-label input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none;
}

.b2c-container .likert-label::before {
    display: none !important;
}

.b2c-container .likert-label:has(input[type="radio"]:checked) {
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(15, 118, 110, 0.25) !important;
    font-weight: 700 !important;
}

/* Next / Finish Button */
.b2c-container #next-page-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 14px 40px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25) !important;
    margin-top: 10px !important;
}

.b2c-container #next-page-btn:hover {
    background: linear-gradient(135deg, #115e59 0%, #0f766e 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.35) !important;
}

/* ========================================================
   Meeting Booking & Confirmation Styles
======================================================== */
.b2c-success-badge {
    text-align: center;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 18px;
}

.b2c-booking-form-box {
    background: #f8fafc !important;
    border-radius: 16px !important;
    padding: 32px !important;
    border: 1px solid #e2e8f0 !important;
}

.b2c-booking-confirmed-box {
    background: #f0fdf4 !important;
    border: 1.5px solid #86efac !important;
    border-radius: 16px !important;
    padding: 32px !important;
    color: #14532d !important;
    text-align: center;
}

.b2c-booking-confirmed-box h3 {
    color: #14532d !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    margin: 0 0 12px 0 !important;
}

.b2c-booking-confirmed-box p {
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: #166534 !important;
    margin: 0 auto !important;
    max-width: 580px;
}
