/**
 * BizzPlugin Options Framework - Setup Wizard Styles
 * 
 * @package BizzPlugin_Options_Framework
 * @version 1.0.0
 */
.bizzplugin-temp-name .bizzplugin-wizard-step-container{
    height: 500px;
    overflow: hidden;
    opacity: 0;
}
/* ============================================
   All Input
   ============================================ */
.bizzplugin-field-content>select, 
.bizzplugin-field-content>input[type=color],
.bizzplugin-field-content>input[type=date], 
.bizzplugin-field-content>input[type=datetime-local], 
.bizzplugin-field-content>input[type=datetime], 
.bizzplugin-field-content>input[type=email], 
.bizzplugin-field-content>input[type=month], 
.bizzplugin-field-content>input[type=number], 
.bizzplugin-field-content>input[type=password], 
.bizzplugin-field-content>input[type=search], 
.bizzplugin-field-content>input[type=tel], 
.bizzplugin-field-content>input[type=text], 
.bizzplugin-field-content>input[type=time], 
.bizzplugin-field-content>input[type=url], 
.bizzplugin-field-content>input[type=week] {
    width: 300px !important;
    max-width: 100% !important;
    min-width: 200px !important;
}
.bizzplugin-file-upload {
    justify-content: center;
}
.wp-picker-container {
    position: relative;
}
.wp-picker-holder {
    position: absolute;
    top: 31px;
    left: 0;
    z-index: 15;
    box-shadow: 10px 10px 30px 0 #00000024;
}
/* ============================================
   Setup Wizard Active State
   ============================================ */

.wrap.bizzplugin-framework-wrap.bizzplugin-setup-wizard-active {
    display: block;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    background: #f5f5f5;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
}

.wrap.bizzplugin-framework-wrap.bizzplugin-setup-wizard-active .bizzplugin-framework-container {
    display: flex;
    min-height: auto;
    max-width: 800px;
    width: 100%;
    margin: 60px auto;
    padding: 0 20px;
    /* box-sizing: border-box; */
    overflow: visible;
}

/* Hide sidebar and navigation in setup wizard mode */
.wrap.bizzplugin-framework-wrap.bizzplugin-setup-wizard-active .bizzplugin-sidebar,
.wrap.bizzplugin-framework-wrap.bizzplugin-setup-wizard-active .bizzplugin-nav,
.wrap.bizzplugin-framework-wrap.bizzplugin-setup-wizard-active .wp-notice-area-wrapper {
    display: none !important;
}

/* Content area adjustments */
.wrap.bizzplugin-framework-wrap.bizzplugin-setup-wizard-active .bizzplugin-content {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: 0 none;
}

/* ============================================
   Wizard Wrapper
   ============================================ */

.bizzplugin-wizard-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 40px;
}

/* ============================================
   Wizard Header
   ============================================ */

.bizzplugin-wizard-header {
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-bottom: 30px; */
    padding-bottom: 20px;
    /* border-bottom: 1px solid #eee; */
    position: relative;
}

/* Centered header when on complete/thank you page */
.bizzplugin-wizard-header.bizzplugin-wizard-header-centered {
    justify-content: center;
    text-align: center;
    border-bottom: none;
}

.bizzplugin-wizard-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    padding: 0;
}

.bizzplugin-wizard-skip-btn {
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    padding: 3px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    position: absolute;
    bottom: 20px;
    right: 0;
}

.bizzplugin-wizard-skip-btn:hover {
    background: #f5f5f5;
    color: #333;
    border-color: #ccc;
}

/* ============================================
   Progress Bar
   ============================================ */

.bizzplugin-wizard-progress-wrap {
    margin-bottom: 21px;
}

.bizzplugin-wizard-progress-bar {
    height: 2px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 13px;
}

.bizzplugin-wizard-progress-fill {
    height: 100%;
    background: #2271b1;
    border-radius: 3px;
    transition: width 0.4s ease;
}

.bizzplugin-wizard-progress-text {
    text-align: center;
    font-size: 13px;
    color: #666;
}

.bizzplugin-wizard-step-current {
    font-weight: 600;
    color: #2271b1;
}

.bizzplugin-wizard-step-total {
    color: #999;
}

/* ============================================
   Step Container
   ============================================ */

.bizzplugin-wizard-step-container {
    margin-bottom: 20px;
}

.bizzplugin-wizard-step-header {
    text-align: center;
    margin-bottom: 30px;
}

.bizzplugin-wizard-step-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.bizzplugin-wizard-step-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   Section Content in Wizard
   ============================================ */

.bizzplugin-setup-wizard-active .bizzplugin-section {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.bizzplugin-setup-wizard-active .bizzplugin-section-header {
    display: none;
}

.bizzplugin-setup-wizard-active .bizzplugin-section-content {
    padding: 0;
}

.bizzplugin-setup-wizard-active .bizzplugin-section-footer {
    display: none;
}

/* Fields in wizard - Clean minimal design */
.bizzplugin-setup-wizard-active .bizzplugin-field {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    /* text-align: center; */
}

.bizzplugin-setup-wizard-active .bizzplugin-field:last-child {
    margin-bottom: 0;
}

.bizzplugin-setup-wizard-active .bizzplugin-field-header {
    margin-bottom: 12px;
    justify-content: center;
}

.bizzplugin-setup-wizard-active .bizzplugin-field-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.bizzplugin-setup-wizard-active .bizzplugin-field-desc {
    color: #666;
    font-size: 13px;
    margin-top: 6px;
}

/* Fields container inside wizard wrapper */
.bizzplugin-wizard-fields-container {
    background: #ffffff;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    text-align: center;
}
.bizzplugin-repeater-wrap {
    text-align: left;
}
input.bizzplugin-input.bizzplugin-input-text {
    max-width: 350px;
}
.bizzplugin-save-status{display: none !important;}


/* ============================================
   Inside Elements Styling
============================================ */
.bizzplugin-image-select-wrap {
    justify-content: center;
}
.bizzplugin-field-content {
    text-align: center;
    align-items: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.bizzplugin-option-select-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
/* ============================================
   Navigation Buttons
   ============================================ */

.bizzplugin-wizard-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}
.bizzplugin-wizard-navigation button.button {
    display: flex;
}

.bizzplugin-wizard-prev-btn,
.bizzplugin-wizard-next-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 17px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bizzplugin-wizard-prev-btn {
    background: #ffffff;
    border: 1px solid #ddd;
    color: #333;
}

.bizzplugin-wizard-prev-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.bizzplugin-wizard-next-btn {
    background: #2271b1;
    border: 1px solid #2271b1;
    color: #ffffff;
}

.bizzplugin-wizard-next-btn:hover {
    background: #135e96;
    border-color: #135e96;
}

.bizzplugin-wizard-next-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bizzplugin-wizard-prev-btn .dashicons,
.bizzplugin-wizard-next-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

/* Loading state */
.bizzplugin-wizard-next-btn.bizzplugin-loading {
    position: relative;
    color: transparent;
}

.bizzplugin-wizard-next-btn.bizzplugin-loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: bizzplugin-wizard-spin 0.8s linear infinite;
}

@keyframes bizzplugin-wizard-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   Thank You Page
   ============================================ */

.bizzplugin-wizard-thank-you {
    text-align: center;
    padding: 40px 20px;
}

.bizzplugin-wizard-thank-you-icon {
    margin-bottom: 20px;
}

.bizzplugin-wizard-thank-you-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    line-height: 64px;
    color: #10b981;
    background: #d1fae5;
    border-radius: 50%;
    padding: 16px;
    box-sizing: content-box;
}

.bizzplugin-wizard-thank-you-title {
    font-size: 26px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px 0;
}

.bizzplugin-wizard-thank-you-message {
    font-size: 15px;
    color: #666;
    max-width: 450px;
    margin: 0 auto 28px auto;
    line-height: 1.6;
}

.bizzplugin-wizard-thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bizzplugin-wizard-thank-you-actions .button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bizzplugin-wizard-thank-you-actions .button-primary {
    background: #2271b1;
    border: 1px solid #2271b1;
    color: #ffffff;
}
.bizzplugin-wizard-thank-you-actions .button {
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 10px;
}

.bizzplugin-wizard-thank-you-actions .button-primary:hover {
    background: #135e96;
    border-color: #135e96;
}

.bizzplugin-wizard-thank-you-actions .button:not(.button-primary) {
    background: #ffffff;
    border: 1px solid #ddd;
    color: #333;
}

.bizzplugin-wizard-thank-you-actions .button:not(.button-primary):hover {
    background: #f5f5f5;
    border-color: #ccc;
}
.bizzplugin-wizard-edit-btn,
.bizzplugin-wizard-close-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 12px;
    transition: color 0.2s ease;
}
.bizzplugin-wizard-edit-btn:hover,
.bizzplugin-wizard-close-btn:hover {
    color: #666;
}
.bizzplugin-wizard-edit-btn .dashicons,
.bizzplugin-wizard-close-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* ============================================
   Footer hiding in wizard
   ============================================ */
.bizzplugin-plugins-field p.bizzplugin-plugin-author,
.bizzplugin-setup-wizard-active .bizzplugin-footer {
    display: none !important;
}
.bizzplugin-plugins-field .bizzplugin-plugin-thumbnail {
    height: 80px;
    padding-top: 0;
    padding-bottom: 0;
}
.bizzplugin-plugins-field .bizzplugin-plugin-thumbnail>img {
    width: 50px;
    height: auto;
}
span.bizzplugin-plugin-status.bizzplugin-plugin-status-installed {
    background: transparent;
}
/* ============================================
   Responsive Design
   ============================================ */

@media screen and (max-width: 782px) {
    .wrap.bizzplugin-framework-wrap.bizzplugin-setup-wizard-active .bizzplugin-framework-container {
        margin: 20px auto;
        padding: 0 15px;
    }

    .bizzplugin-wizard-wrapper {
        padding: 24px;
        border-radius: 10px;
    }

    .bizzplugin-wizard-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .bizzplugin-wizard-title {
        font-size: 20px;
    }

    .bizzplugin-wizard-step-title {
        font-size: 18px;
    }

    .bizzplugin-wizard-step-desc {
        font-size: 13px;
    }

    .bizzplugin-wizard-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .bizzplugin-wizard-prev-btn, .bizzplugin-wizard-next-btn {
        width: 100%;
        justify-content: center;
        max-width: 130px;
    }

    .bizzplugin-wizard-thank-you-icon .dashicons {
        font-size: 48px;
        width: 48px;
        height: 48px;
        line-height: 48px;
    }

    .bizzplugin-wizard-thank-you-title {
        font-size: 22px;
    }

    .bizzplugin-wizard-thank-you-actions {
        flex-direction: column;
    }

    .bizzplugin-wizard-thank-you-actions .button {
        width: 100%;
        text-align: center;
    }
}

/* Extra */
.bizzplugin-field-content {
    text-align: center;
}

/* ============================================
   Body class for setup wizard
   ============================================ */

body.bizzplugin-setup-wizard-active-body {
    overflow: hidden;
}

body.bizzplugin-setup-wizard-active-body #wpcontent,
body.bizzplugin-setup-wizard-active-body #wpbody {
    padding: 0;
    margin: 0;
}

body.bizzplugin-setup-wizard-active-body #adminmenumain,
body.bizzplugin-setup-wizard-active-body #wpadminbar {
    display: none !important;
}

body.bizzplugin-setup-wizard-active-body #wpcontent {
    margin-left: 0 !important;
}
