.elementor-1191 .elementor-element.elementor-element-b7450f9{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-1191 .elementor-element.elementor-element-b7450f9.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-1191 .elementor-element.elementor-element-d88944d{width:100%;max-width:100%;}.elementor-1191 .elementor-element.elementor-element-d88944d > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-1191 .elementor-element.elementor-element-d88944d.elementor-element{--flex-grow:0;--flex-shrink:0;}@media(min-width:768px){.elementor-1191 .elementor-element.elementor-element-b7450f9{--width:117.338%;}}/* Start custom CSS for html, class: .elementor-element-d88944d *//* Original .elementor-1191 .elementor-element.elementor-element-d88944d for full width override */
.elementor-1191 .elementor-element.elementor-element-d88944d {
    width: 100% !important;
    max-width: none !important;
}

/* Full width section overrides for Medical History and similar sections */
.medical-history-section,
.elementor-element[data-element_type="section"],
.elementor-element[data-element_type="container"] {
    width: 100% !important;
    max-width: none !important;
}

/* Override main content constraints for full width sections */
.main-content .form-container.full-width {
    width: calc(100vw - 280px) !important;
    margin-left: -40px !important;
    margin-right: -60px !important;
    border-radius: 0 !important;
}

.main-content .form-content.full-width {
    padding-left: 100px !important;
    padding-right: 100px !important;
}

/* For Elementor specific targeting */
.elementor-section.full-width-section {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    max-width: none !important;
}

.elementor-container.full-width-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 280px !important;
    padding-right: 60px !important;
    box-sizing: border-box !important;
}

/* Alternative approach - break out of parent container */
.medical-history-breakout {
    width: 100vw !important;
    margin-left: -280px !important;
    padding-left: 320px !important;
    padding-right: 60px !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* Global box-sizing fix for all elements */
*, *::before, *::after {
    box-sizing: border-box;
}

/* WordPress Theme Overrides - Force Full Width */
.site, .site-content, .ast-container, .container, .content-area, 
.entry-content, .post-content, .page-content, .elementor, 
.elementor-section, .elementor-container, .wp-site-blocks {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Specific WordPress Container Overrides */
.ast-single-post .site-content,
.ast-page-builder-template .site-content,
.ast-plain-container .site-content,
.ast-narrow-container .site-content {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove WordPress theme padding/margins */
.hfeed, .site-main, .content-area, .site-content > div {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

/* Force body to be full width and remove any theme styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: #f5f7fa !important;
    min-height: 100vh;
    display: flex;
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    overflow-x: hidden;
}

/* Remove any WordPress theme headers/footers/sidebars for this page */
body.page-template-dental-form header,
body.page-template-dental-form footer,
body.page-template-dental-form .widget-area,
body.page-template-dental-form .ast-header,
body.page-template-dental-form .site-footer {
    display: none !important;
}

/* Alternative: Hide WordPress elements if specific body class exists */
body:has(.dental-form-container) header,
body:has(.dental-form-container) footer,
body:has(.dental-form-container) .widget-area,
body:has(.dental-form-container) .ast-header,
body:has(.dental-form-container) .site-footer {
    display: none !important;
}

/* Dental Form Wrapper - Break out of WordPress containers */
.dental-form-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 9999 !important;
    background: #f5f7fa;
    display: flex !important;
    overflow: hidden;
}

/* Override any WordPress container that might contain our form */
body.dental-form-page {
    overflow: hidden !important;
}

body.dental-form-page .site-content,
body.dental-form-page .ast-container,
body.dental-form-page .container,
body.dental-form-page .content-area {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
}

.sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e9ecef;
    padding: 30px 0;
    position: relative;
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 0 30px 30px 30px;
    border-bottom: 1px solid #e9ecef;
}

.form-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.welcome-text {
    font-size: 0.95rem;
    color: #6c757d;
}

.step-navigation {
    padding: 20px 0;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.step-item:hover {
    background: #f8f9fa;
}

.step-item.completed {
    border-left-color: #28a745;
    background: #f8fff9;
}

.step-item.active {
    border-left-color: #4a90e2;
    background: #f0f7ff;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 12px;
    background: #e9ecef;
    color: #6c757d;
}

.step-item.completed .step-number {
    background: #28a745;
    color: white;
}

.step-item.active .step-number {
    background: #4a90e2;
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

.step-item.completed .step-label {
    color: #28a745;
}

.step-item.active .step-label {
    color: #4a90e2;
}

.check-mark {
    font-size: 0.7rem;
    margin-left: auto;
    color: #28a745;
    display: none;
}

.step-item.completed .check-mark {
    display: block;
}

.progress-section {
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
}

.progress-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.progress-bar {
    background: #e9ecef;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #4a90e2, #357abd);
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.main-content {
    flex: 1;
    width: 100% !important;
    max-width: none !important;
    padding: 40px 60px;
    min-height: 100vh;
    position: relative;
    background: #f5f7fa;
    overflow-y: auto;
}

.form-container {
    width: 100% !important;
    max-width: none !important;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.form-header {
    padding: 40px 40px 30px 40px;
    border-bottom: 1px solid #e9ecef;
}

.back-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 5px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
}

.form-content {
    padding: 40px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.input-label {
    display: block;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.required {
    color: #dc3545;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: white;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.radio-group {
    display: flex;
    gap: 24px;
    margin-top: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.radio-option label {
    color: #495057;
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 12px;
    margin-top: 12px;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
}

.checkbox-option label {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
    margin: 0;
}

.conditional-section {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #4a90e2;
}

.conditional-fields {
    display: none;
    margin-top: 20px;
}

.conditional-fields.show {
    display: block;
}

/* Section styling for Step 2 */
.section.main {
    margin-bottom: 32px;
}

.section.main header {
    margin-bottom: 20px;
}

.section.main .title-container h2 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.section-inputs {
    margin-top: 16px;
}

.section-text {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.section-text p {
    color: #495057;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

.form-navigation {
    display: flex;
    justify-content: center;
    padding: 30px 40px;
    border-top: 1px solid #e9ecef;
    background: #fafbfc;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.btn-primary {
    background: #4a90e2;
    color: white;
}

.btn-primary:hover {
    background: #357abd;
    transform: translateY(-1px);
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* Responsive adjustments with full width support */
@media (max-width: 1024px) {
    .sidebar {
        width: 250px;
    }
    
    .main-content {
        padding: 30px 40px;
    }
    
    .main-content .form-container.full-width {
        width: 100% !important;
    }
    
    .elementor-container.full-width-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .medical-history-breakout {
        margin-left: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 768px) {
    .dental-form-wrapper {
        flex-direction: column !important;
    }
    
    .sidebar {
        width: 100% !important;
        height: auto !important;
        max-height: 200px !important;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 10 !important;
    }
    
    .sidebar.open {
        transform: translateY(0);
    }
    
    .main-content {
        padding: 20px;
        width: 100% !important;
        padding-top: 60px; /* Space for mobile menu button */
    }
    
    .form-row {
        grid-template-columns: 100%;
    }
    
    .checkbox-group {
        grid-template-columns: 100%;
    }
    
    .form-content {
        padding: 30px 20px;
    }
    
    .form-navigation {
        padding: 20px;
    }
    
    /* Add mobile menu button */
    .mobile-menu-button {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 11;
        background: #4a90e2;
        color: white;
        border: none;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
        display: block;
    }
    
    .main-content .form-container.full-width {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .main-content .form-content.full-width {
        padding: 20px !important;
    }
    
    .elementor-container.full-width-container {
        padding: 20px !important;
    }
    
    .medical-history-breakout {
        margin: 0 !important;
        padding: 20px !important;
    }
}

/* Hide mobile menu button on desktop */
@media (min-width: 769px) {
    .mobile-menu-button {
        display: none !important;
    }
}/* End custom CSS */
/* Start custom CSS *//* Hide header */
header, .elementor-location-header {
    display: none !important;
}

/* Hide footer */
footer, .elementor-location-footer {
    display: none !important;
}/* End custom CSS */