/* Business Onboarding - Complete Frontend Styles v1.1 - MATCHING SUCCESSPLUS DESIGN */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700&display=swap');

/* CSS Variables - PASTEL PALETTE (Same as SuccessPlus) */
:root {
    --bo-primary: #5DBCD2;
    --bo-secondary: #7DD3E1;
    --bo-accent: #E0F4F8;
    --bo-dark: #4A5568;
    --bo-gray: #718096;
    --bo-light-gray: #f7fafc;
    --bo-border: #e2e8f0;
    --bo-white: #ffffff;
    --bo-success: #68D391;
    --bo-error: #FC8181;
    --bo-warning: #F6C56C;
    --bo-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --bo-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --bo-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
    --bo-radius: 12px;
    --bo-radius-sm: 8px;
    --bo-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
.bo-onboarding-container * {
    box-sizing: border-box;
}

/* Page/Wrapper Background - Matching SuccessPlus */
.bo-onboarding-wrapper,
.bo-registration-wrapper,
.bo-page-wrapper {
    padding: 40px 20px;
}

/* Container */
.bo-onboarding-container {
    max-width: 800px !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    position: relative;
}

/* ==================================
   PROGRESS BAR - MATCHING SUCCESSPLUS
   ================================== */

.bo-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
    padding: 0 15px;
}

.bo-progress-bar::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--bo-border);
    z-index: 0;
}

.bo-progress-step {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--bo-gray);
    z-index: 1;
    transition: var(--bo-transition);
}

/* Circle with number */
.bo-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bo-white);
    color: var(--bo-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    transition: var(--bo-transition);
    border: 2px solid var(--bo-border);
    box-shadow: var(--bo-shadow-sm);
    position: relative;
}

.bo-progress-step.active .bo-step-number {
    background: linear-gradient(135deg, var(--bo-primary) 0%, var(--bo-secondary) 100%);
    color: var(--bo-white);
    border-color: var(--bo-primary);
    box-shadow: 0 0 0 3px rgba(93, 188, 210, 0.2);
}

.bo-progress-step.completed .bo-step-number {
    background: var(--bo-success);
    color: transparent !important; /* Hide the number text */
    border-color: var(--bo-success);
    font-size: 0 !important; /* Hide number */
}

/* Hide the number, show checkmark when completed */
.bo-progress-step.completed .bo-step-number span {
    display: none !important;
}

.bo-progress-step.completed .bo-step-number::after {
    content: '✓';
    font-size: 14px !important;
    font-weight: 700;
    color: var(--bo-white) !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Step label - text only, no numbers */
.bo-step-label {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    display: block;
    max-width: 100px;
    line-height: 1.3;
}

/* Hide the step number text in label (the "1", "2", "3" below circle) */
.bo-step-label .bo-step-num,
.bo-step-label span:first-child:not(:last-child),
.bo-step-label br {
    display: none !important;
}

/* If numbers are direct text before line break, use font-size trick */
.bo-step-label {
    font-size: 0;
}

.bo-step-label span,
.bo-step-label .bo-step-text,
.bo-step-label:last-child {
    font-size: 11px;
}

/* Alternative: If step labels have specific structure */
.bo-progress-step .step-num,
.bo-progress-step .bo-step-num,
.bo-step-label > span:first-child {
    display: none !important;
}

/* Show only the text part */
.bo-step-label span.bo-step-text,
.bo-step-label span:last-child,
.bo-step-label span:only-child {
    display: inline !important;
    font-size: 11px !important;
}

.bo-progress-step.active .bo-step-label {
    color: var(--bo-primary);
}

.bo-progress-step.completed .bo-step-label {
    color: var(--bo-success);
}

/* Progress line between steps */
.bo-progress-line {
    width: 80px;
    height: 2px;
    background: var(--bo-border);
    margin: 16px 10px 0 10px;
    border-radius: 2px;
    transition: var(--bo-transition);
    align-self: flex-start;
}

.bo-progress-step.completed + .bo-progress-line,
.bo-progress-step.active + .bo-progress-line {
    background: var(--bo-primary);
}

/* ==================================
   CONTENT AREA - MATCHING SUCCESSPLUS
   ================================== */

/* Main content wrapper - white card with shadow */
.bo-onboarding-content,
.bo-registration-form,
.bo-form-container,
.bo-form-wrapper,
.bo-onboarding-container .bo-form-wrapper,
form.bo-onboarding-form,
.bo-onboarding-container > form {
    background: var(--bo-white) !important;
    padding: 25px 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    position: relative;
    min-height: auto;
    width: 100%;
    border: 1px solid var(--bo-border) !important;
    margin-bottom: 20px;
}

/* Make sure step content inside form wrapper doesn't double the card effect */
.bo-form-wrapper .bo-step-content,
.bo-onboarding-content .bo-step-content {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.bo-step-content {
    display: none;
}

.bo-step-content.active {
    display: block;
    animation: boFadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step content gets card styling ONLY if not inside a wrapper */
.bo-onboarding-container > .bo-step-content {
    background: var(--bo-white);
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--bo-border);
}

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

/* Headings - HIDDEN like SuccessPlus */
.bo-onboarding-container h2,
.bo-form-title,
.bo-intro,
.bo-form-intro,
.bo-step-title,
.bo-section-title,
h3.bo-step-title {
    display: none !important;
}

/* Hide any h3 inside onboarding that acts as step title */
.bo-onboarding-content > h3,
.bo-step-content > h3:first-child,
.bo-step-content h3.bo-step-title {
    display: none !important;
}

/* ==================================
   FORM GROUPS - GRAY BACKGROUND (MATCHING SUCCESSPLUS)
   ================================== */

.bo-form-group {
    margin-bottom: 14px;
    background: var(--bo-light-gray);
    padding: 12px;
    border-radius: var(--bo-radius-sm);
    border: 1px solid #ccc;
}

.bo-form-group label {
    display: block;
    font-size: 13px !important;
    font-weight: 600;
    color: var(--bo-dark) !important;
    margin-bottom: 6px;
    text-align: left;
}

.bo-required {
    color: var(--bo-error) !important;
    margin-left: 2px;
}

/* Override any theme colors for labels */
.bo-onboarding-container label,
.bo-form-group label {
    color: var(--bo-dark) !important;
}

.bo-form-group small,
.bo-field-description {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--bo-gray);
}

/* ==================================
   FORM INPUTS - MATCHING SUCCESSPLUS
   ================================== */

.bo-onboarding-container input[type="text"],
.bo-onboarding-container input[type="email"],
.bo-onboarding-container input[type="password"],
.bo-onboarding-container input[type="number"],
.bo-onboarding-container input[type="tel"],
.bo-onboarding-container input[type="url"],
.bo-onboarding-container input[type="date"],
.bo-onboarding-container select,
.bo-onboarding-container textarea {
    width: 100%;
    padding: 10px 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: var(--bo-radius-sm);
    transition: var(--bo-transition);
    background: var(--bo-white);
    color: var(--bo-dark);
    min-height: 40px;
    line-height: 1.4;
}

.bo-onboarding-container input:focus,
.bo-onboarding-container select:focus,
.bo-onboarding-container textarea:focus {
    outline: none;
    border-color: var(--bo-primary);
    box-shadow: 0 0 0 3px rgba(93, 188, 210, 0.15);
}

.bo-onboarding-container input.error,
.bo-onboarding-container select.error,
.bo-onboarding-container textarea.error,
.bo-form-group.has-error input,
.bo-form-group.has-error select,
.bo-form-group.has-error textarea {
    border-color: var(--bo-error);
}

.bo-onboarding-container textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

/* Select Styling - IMPROVED */
.bo-onboarding-container select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%235DBCD2' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 45px !important;
    min-height: 40px;
    font-weight: 500;
}

.bo-onboarding-container select:hover {
    border-color: var(--bo-primary);
}

/* "Altele" (Other) custom input */
.bo-other-input {
    width: 100%;
    padding: 10px 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: var(--bo-radius-sm);
    transition: var(--bo-transition);
    background: var(--bo-white);
    color: var(--bo-dark);
    min-height: 40px;
    margin-top: 10px;
}

.bo-other-input:focus {
    outline: none;
    border-color: var(--bo-primary);
    box-shadow: 0 0 0 3px rgba(93, 188, 210, 0.15);
}

/* ==================================
   PASSWORD FIELD - MATCHING SUCCESSPLUS
   ================================== */

.bo-password-wrapper {
    position: relative;
    width: 100%;
}

.bo-password-wrapper input {
    width: 100%;
    padding-right: 40px !important;
}

.bo-toggle-password {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bo-light-gray);
    border: 1px solid var(--bo-border);
    border-radius: 6px;
    cursor: pointer;
    padding: 5px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bo-gray);
    transition: all 0.2s ease;
    z-index: 10;
}

.bo-toggle-password:hover {
    background: linear-gradient(135deg, var(--bo-primary) 0%, var(--bo-secondary) 100%);
    border-color: var(--bo-primary);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.bo-toggle-password svg {
    width: 14px;
    height: 16px;
    transition: all 0.2s ease;
}

.bo-toggle-password:active {
    transform: translateY(-50%) scale(0.95);
}

/* Password Strength Indicator */
.bo-password-strength {
    margin-top: 8px;
    height: 6px;
    background: var(--bo-border);
    border-radius: 3px;
    overflow: hidden;
    display: none;
    position: relative;
}

.bo-password-strength.active {
    display: block;
}

.bo-password-strength::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--bo-error);
    transition: all 0.4s ease;
}

.bo-password-strength.weak::after {
    width: 33%;
    background: var(--bo-error);
}

.bo-password-strength.medium::after {
    width: 66%;
    background: var(--bo-warning);
}

.bo-password-strength.strong::after {
    width: 100%;
    background: var(--bo-success);
}

/* ==================================
   CHECKBOX - MATCHING SUCCESSPLUS
   ================================== */

.bo-checkbox-group {
    padding: 12px;
    background: var(--bo-light-gray);
    border-radius: var(--bo-radius-sm);
}

.bo-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.bo-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--bo-primary);
}

.bo-checkbox-text {
    flex: 1;
    color: var(--bo-dark);
}

.bo-checkbox-text a {
    color: var(--bo-primary);
    text-decoration: none;
    font-weight: 600;
}

.bo-checkbox-text a:hover {
    text-decoration: underline;
}

/* ==================================
   BUTTONS - MATCHING SUCCESSPLUS
   ================================== */

.bo-nav-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.bo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--bo-transition);
    text-decoration: none;
    gap: 6px;
    white-space: nowrap;
}

.bo-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bo-btn-primary {
    background: linear-gradient(135deg, var(--bo-primary) 0%, var(--bo-secondary) 100%);
    color: var(--bo-white);
}

.bo-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 188, 210, 0.35);
    color: var(--bo-white);
}

.bo-btn-secondary {
    background: var(--bo-white);
    color: var(--bo-primary);
    border: 1px solid var(--bo-primary);
}

.bo-btn-secondary:hover:not(:disabled) {
    background: var(--bo-primary);
    color: var(--bo-white);
}

/* Back Button */
.bo-btn-back,
.bo-prev-step {
    background: var(--bo-white);
    color: var(--bo-gray);
    border: 1px solid var(--bo-border);
    padding: 10px 16px;
}

.bo-btn-back:hover:not(:disabled),
.bo-prev-step:hover:not(:disabled) {
    background: var(--bo-light-gray);
    border-color: var(--bo-primary);
    color: var(--bo-primary);
    transform: translateX(-2px);
}

.bo-btn-back::before {
    content: '←';
    margin-right: 5px;
    font-size: 14px;
}

/* Next/Submit Button */
.bo-next-step,
.bo-btn-submit {
    background: linear-gradient(135deg, var(--bo-primary) 0%, var(--bo-secondary) 100%);
    color: var(--bo-white);
    margin-left: auto;
}

.bo-next-step:hover:not(:disabled),
.bo-btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 188, 210, 0.35);
    color: var(--bo-white);
}

/* ==================================
   MESSAGES - MATCHING SUCCESSPLUS
   ================================== */

.bo-error-message,
.bo-field-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 3px solid var(--bo-error);
    padding: 8px 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    color: #991b1b;
    font-weight: 500;
    font-size: 12px;
    animation: boSlideDown 0.3s ease-out;
}

.bo-field-error {
    background: transparent;
    border-left: none;
    padding: 0;
    margin: 4px 0 0 0;
    display: none;
}

.bo-form-group.has-error .bo-field-error {
    display: block;
}

.bo-success-message {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 3px solid var(--bo-success);
    padding: 10px 14px;
    margin-bottom: 15px;
    border-radius: 6px;
    color: #166534;
    font-weight: 500;
    font-size: 13px;
    animation: boSlideDown 0.3s ease-out;
}

.bo-warning-message {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 3px solid var(--bo-warning);
    padding: 10px 14px;
    margin-bottom: 15px;
    border-radius: 6px;
    color: #92400e;
    font-weight: 500;
    font-size: 13px;
}

.bo-info-message {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 3px solid var(--bo-primary);
    padding: 10px 14px;
    margin-bottom: 15px;
    border-radius: 6px;
    color: #1e40af;
    font-weight: 500;
    font-size: 13px;
}

@keyframes boSlideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================================
   SUCCESS / COMPLETION SCREEN
   ================================== */

.bo-success-screen {
    text-align: center;
    padding: 60px 40px;
    background: #f0fdf4;
    border-radius: 16px;
    border: 2px solid #10b981;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.1);
}

.bo-success-icon {
    animation: boCheckmark 0.6s ease-in-out;
    margin-bottom: 20px;
    display: inline-block;
}

.bo-success-icon svg {
    width: 80px;
    height: 80px;
    color: var(--bo-success);
}

@keyframes boCheckmark {
    0% { 
        transform: scale(0) rotate(-45deg); 
        opacity: 0; 
    }
    50% { 
        transform: scale(1.2) rotate(10deg); 
        opacity: 1; 
    }
    100% { 
        transform: scale(1) rotate(0); 
    }
}

.bo-success-screen h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--bo-success);
    margin: 14px 0;
}

.bo-success-screen p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--bo-gray);
    margin-bottom: 20px;
}

/* Pending Approval Screen */
.bo-pending-screen {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-radius: 16px;
    border: 2px solid var(--bo-warning);
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(246, 197, 108, 0.15);
}

.bo-pending-icon {
    margin-bottom: 20px;
    display: inline-block;
}

.bo-pending-icon svg {
    width: 80px;
    height: 80px;
    color: var(--bo-warning);
}

.bo-pending-screen h2 {
    font-size: 24px;
    font-weight: 700;
    color: #92400e;
    margin: 14px 0;
}

.bo-pending-screen p {
    font-size: 13px;
    line-height: 1.5;
    color: #92400e;
    margin-bottom: 20px;
}

/* Back to Home Button */
.bo-btn-back-home {
    background: var(--bo-white);
    color: var(--bo-gray);
    border: 2px solid var(--bo-border);
    padding: 12px 22px;
    display: inline-block;
    text-decoration: none !important;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--bo-transition);
}

.bo-btn-back-home:hover:not(:disabled) {
    background: var(--bo-light-gray);
    border-color: var(--bo-primary);
    color: var(--bo-primary);
    transform: translateX(-2px);
    text-decoration: none !important;
}

/* ==================================
   LOADING SPINNER - CENTERED ON PAGE
   ================================== */

.bo-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.bo-loading-overlay.active {
    display: flex;
}

.bo-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bo-accent);
    border-top-color: var(--bo-primary);
    border-radius: 50%;
    animation: boSpin 0.8s linear infinite;
}

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

.bo-loading-overlay p {
    margin-top: 20px;
    font-size: 16px;
    color: var(--bo-dark);
    font-weight: 600;
}

/* ==================================
   STATUS BADGES
   ================================== */

.bo-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bo-badge-pending {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #92400e;
    border: 1px solid var(--bo-warning);
}

.bo-badge-approved {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    border: 1px solid var(--bo-success);
}

.bo-badge-rejected {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border: 1px solid var(--bo-error);
}

/* ==================================
   CARDS
   ================================== */

.bo-card {
    background: var(--bo-white);
    padding: 16px;
    margin-bottom: 14px;
    border-radius: var(--bo-radius-sm);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--bo-primary);
    transition: all 0.3s ease;
}

.bo-card:hover {
    transform: translateX(3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bo-card-success {
    border-left-color: var(--bo-success);
    background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
}

.bo-card-warning {
    border-left-color: var(--bo-warning);
    background: linear-gradient(135deg, #fff 0%, #fffbeb 100%);
}

.bo-card-error {
    border-left-color: var(--bo-error);
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}

.bo-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--bo-dark);
    margin: 0 0 10px 0;
}

.bo-card p {
    font-size: 12px;
    color: var(--bo-gray);
    line-height: 1.5;
    margin: 0;
}

/* ==================================
   INFO BOX
   ================================== */

.bo-info-box {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-left: 4px solid var(--bo-primary);
    padding: 15px;
    border-radius: var(--bo-radius-sm);
    margin-bottom: 15px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.bo-info-box p {
    color: #2d3748;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}

.bo-info-box-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left-color: var(--bo-success);
}

.bo-info-box-success p {
    color: #166534;
}

.bo-info-box-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left-color: var(--bo-warning);
}

.bo-info-box-warning p {
    color: #92400e;
}

/* ==================================
   SECTION DIVIDER
   ================================== */

.bo-section-divider {
    height: 1px;
    background: var(--bo-border);
    margin: 20px 0;
}

.bo-section-divider-accent {
    height: 2px;
    background: linear-gradient(90deg, var(--bo-primary), var(--bo-secondary));
}

/* ==================================
   RESPONSIVE DESIGN
   ================================== */

@media (max-width: 768px) {
    .bo-onboarding-container {
        padding: 0 10px;
    }
    
    .bo-onboarding-content {
        padding: 18px 15px;
    }
    
    .bo-form-title {
        font-size: 18px;
    }
    
    /* Mobile: LEFT alignment */
    .bo-form-group,
    .bo-form-group label,
    .bo-form-group small,
    .bo-field-description {
        text-align: left;
    }
    
    .bo-form-group {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .bo-form-group label {
        font-size: 12px !important;
    }
    
    .bo-nav-buttons {
        flex-direction: column-reverse;
    }
    
    .bo-btn {
        width: 100%;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .bo-next-step,
    .bo-btn-submit {
        margin-left: 0;
    }
    
    .bo-progress-bar {
        padding: 0 8px;
        margin-bottom: 18px;
    }
    
    .bo-progress-bar::before {
        left: 30px;
        right: 30px;
        top: 13px;
    }
    
    .bo-progress-step {
        font-size: 9px;
    }
    
    .bo-step-number {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .bo-step-label {
        font-size: 9px;
        max-width: 70px;
    }
    
    .bo-progress-line {
        display: none;
    }
    
    .bo-success-screen,
    .bo-pending-screen {
        padding: 40px 20px;
    }
    
    .bo-success-screen h2,
    .bo-pending-screen h2 {
        font-size: 20px;
    }
}

/* Desktop: Left alignment */
@media (min-width: 769px) {
    .bo-form-group,
    .bo-form-group label,
    .bo-form-group small,
    .bo-field-description {
        text-align: left;
    }
}

/* Print Styles */
@media print {
    .bo-progress-bar,
    .bo-nav-buttons,
    .bo-btn,
    .bo-toggle-password,
    .bo-loading-overlay {
        display: none !important;
    }
    
    .bo-onboarding-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}