/* ============================================
   BigDot Wizard Form Styles
   ============================================ */

/* Theme Control CSS Variables */
:root {
    --fontOne: "Google Sans Flex", sans-serif;
    --fontTwo: "Instrument Serif", serif;
    --fontThree: "Bricolage Grotesque", serif;
    --colorBody: #333333;
    --siteTextColor: #ffffff;
    --siteTextSize: 16px;
    --bgColor: #ffffff;
    --containerBgColor: #ffffff;
    --bizTitleTextColor: #7612fa;
    --bizTitleBgColor: transparent;
    --bizTitleTextSize: 32px;
    --menuTextColor: #1a1a1a;
    --menuTextBgColor: #ffffff;
    --menuTextSize: 16px;
    --subMenuTextColor: #1a1a1a;
    --subMenuTextBgColor: #f3f0ff;
    --subMenuTextSize: 15px;
    --sliderH1Color: #ffffff;
    --sliderH2Color: #ffffff;
    --sliderH3Color: #ffffff;
    --h1Color: #121217;
    --h1Size: 42px;
    --h1BGColor: transparent;
    --h2Color: #000000a1;
    --h2Size: 32px;
    --h2BGColor: transparent;
    --h3Color: #1a1a1a;
    --h3Size: 24px;
    --h3BGColor: transparent;
    --h4Color: #7612fa;
    --h4Size: 18px;
    --h4BGColor: transparent;
    --defaultIconColor: #7612fa;
    --defaultIconBgColor: #7612fa;
    --defaultButtonBgColor: #20c997;
    --defaultButtonTextColor: #ffffff;
    --primaryColor: #7612fa;
    --primaryBGColor: #7612fa;
    --sitePrimaryColor: #7612fa;
    --siteSecondaryColor: #000000;
    --siteTertiaryColor: #5b3cc4;
    --siteTertiaryBgColor: #f9f9f9;
    --webWidth: 1200px;
    --colorSmartmedia: #7612fa;
    --bgColorSmartmedia: #f3f0ff;
    --paraColor: #4a4a4a;
    --paraSize: 16px;
    --paraBGColor: transparent;
    --colorActionbutton: #ffffff;
    --bgColorActionbutton: #7612fa;
    --businessTitleColor: #7612fa;
    --businessTitleSize: 32px;
    --businessTitleBGColor: transparent;
    --menuColor: #1a1a1a;
    --menuSize: 16px;
    --menuBGColor: #ffffff;
    --colorPrimary: #8CBC43;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--fontOne);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* ============================================
   Wizard Container
   ============================================ */
.wizardPageContainer {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ============================================
   Wizard Card
   ============================================ */
.wizardPageCard {
    background: var(--containerBgColor);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* ============================================
   Left Panel - Illustration
   ============================================ */
.wizardIllustrationPanel {
    background: linear-gradient(145deg, var(--primaryColor) 0%, var(--siteTertiaryColor) 100%);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    text-align: center;
    border-radius: 20px;
}

.wizardIllustrationPanel img {
    max-width: 180px;
    margin-bottom: 25px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

.wizardIllustrationPanel .wizardTitle {
    color: var(--siteTextColor);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.wizardIllustrationPanel .wizardDescription {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
}

/* ============================================
   Right Panel - Form
   ============================================ */
.wizardFormPanel {
    padding: 35px 40px;
}

/* ============================================
   Progress Header
   ============================================ */
.wizardProgressHeader {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.wizardProgressCircle {
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, var(--primaryColor) 0%, var(--siteTertiaryColor) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(118, 18, 250, 0.3);
}

.wizardStepTitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--h3Color);
    margin: 0;
}

/* ============================================
   Step Progress Indicator (Hidden - using header circle instead)
   ============================================ */
.wizardStepsIndicator {
    display: none;
}

.wizardStepDot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.3s ease;
}

.wizardStepDot.wizardStepActive {
    background: var(--primaryColor);
    transform: scale(1.2);
}

.wizardStepDot.wizardStepCompleted {
    background: var(--colorPrimary);
}

.wizardStepLine {
    width: 40px;
    height: 3px;
    background: #e2e8f0;
    border-radius: 2px;
}

.wizardStepLine.wizardStepCompleted {
    background: var(--colorPrimary);
}

/* ============================================
   Form Styles
   ============================================ */
.wizardFormBody {
    overflow: hidden;
}

.wizardFormLabel {
    color: #334155;
    font-size: clamp(13px, 0.9vw, 14px);
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.wizardFormInput,
.wizardFormSelect,
.wizardFormTextarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #0C121D;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: var(--fontOne);
}

.wizardFormInput:focus,
.wizardFormSelect:focus,
.wizardFormTextarea:focus {
    outline: none;
    border-color: var(--primaryColor);
    box-shadow: 0 0 0 4px rgba(118, 18, 250, 0.1);
}

.wizardFormSelect {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 44px;
    cursor: pointer;
}

/* ============================================
   Radio Button Styles
   ============================================ */
.wizardFormRadioGroup {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.wizardFormRadio {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.wizardFormRadio .wizardRadioInput {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    accent-color: var(--primaryColor);
}

.wizardFormRadio .wizardRadioInput:checked {
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
}

.wizardFormRadio .wizardRadioLabel {
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

/* ============================================
   Form Group
   ============================================ */
.wizardFormGroup {
    margin-bottom: 20px;
}

/* ============================================
   Navigation Buttons
   ============================================ */
.wizardNavigationBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.wizardBtnPrimary {
    background: linear-gradient(135deg, var(--primaryColor) 0%, var(--siteTertiaryColor) 100%);
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(118, 18, 250, 0.3);
    font-family: var(--fontOne);
}

.wizardBtnPrimary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 18, 250, 0.4);
}

.wizardBtnSecondary {
    background: transparent;
    border: 2px solid var(--primaryColor);
    color: var(--primaryColor);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--fontOne);
}

.wizardBtnSecondary:hover {
    background: rgba(118, 18, 250, 0.05);
}

.wizardBtnGreen {
    background: linear-gradient(135deg, #8CBC43 0%, #7AAD35 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(140, 188, 67, 0.3);
}

.wizardBtnGreen:hover {
    box-shadow: 0 6px 20px rgba(140, 188, 67, 0.4);
}

/* ============================================
   Step Panels
   ============================================ */
.wizardStepPanel {
    display: none;
}

.wizardStepPanel.wizardStepPanelActive {
    display: block;
    animation: wizardFadeIn 0.4s ease;
}

@keyframes wizardFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Success Panel
   ============================================ */
.wizardSuccessPanel {
    text-align: center;
    padding: 40px 20px;
}

.wizardSuccessIcon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8CBC43 0%, #7AAD35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: #fff;
    box-shadow: 0 8px 25px rgba(140, 188, 67, 0.3);
}

.wizardSuccessTitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--h3Color);
    margin-bottom: 10px;
}

.wizardSuccessMessage {
    color: var(--paraColor);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 991px) {
    .wizardIllustrationPanel {
        padding: 30px 20px;
        border-radius: 20px 20px 0 0;
    }

    .wizardFormPanel {
        padding: 25px 20px;
    }

    .wizardIllustrationPanel img {
        max-width: 120px;
    }

    .wizardIllustrationPanel .wizardTitle {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }

    .wizardNavigationBar {
        flex-direction: column;
        gap: 15px;
    }

    .wizardBtnPrimary,
    .wizardBtnSecondary {
        width: 100%;
        justify-content: center;
    }
}