.taamito-wizard-section {
    padding: 20px;
    min-height: 100vh;
}

.wizard-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.wizard-container {
    width: 100%;
}

.wizard-header {
    text-align: center;
    margin-bottom: 40px;
}

.wizard-header h2 {
    margin-bottom: 10px;
}

.wizard-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.wizard-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    transition: all 0.3s;
    position: relative;
    top: 2px;
}

.wizard-tab:hover:not(.disabled) {
    background: #e8e8e8;
}

.wizard-tab.active {
    background: #fff;
    border-color: #0073aa;
    border-bottom-color: #fff;
    color: #0073aa;
    font-weight: bold;
    z-index: 1;
}

.wizard-tab.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9f9f9;
}

.wizard-tab.completed {
    background: #e8f5e9;
    border-color: #46b450;
}

.wizard-tab.completed .tab-number {
    background: #46b450;
}

.wizard-tab .tab-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #0073aa;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
}

.wizard-tab.active .tab-number {
    background: #0073aa;
}

.wizard-tab .tab-title {
    font-size: 14px;
}

.wizard-steps {
    position: relative;
    min-height: 400px;
}

.step {
    display: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.step.active {
    display: block;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #0073aa;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
}

.step-title {
    flex: 1;
    font-weight: bold;
    font-size: 16px;
}

.step-status {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.step-status.step-pending {
    background: #f0f0f0;
    color: #666;
}

.step-status.step-success {
    background: #46b450;
    color: #fff;
}

.step-status.step-error {
    background: #dc3232;
    color: #fff;
}

.step-content {
    margin-top: 15px;
}

.step-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding: 5px;
    background: #fafafa;
    border-radius: 4px;
}

.step-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #ddd;
}

.step-item .item-name {
    flex: 1;
}

.step-item .item-status {
    width: 30px;
    text-align: center;
    font-weight: bold;
}

.step-item .item-status.status-pending {
    color: #666;
}

.step-item .item-status.status-success {
    color: #46b450;
}

.step-item .item-status.status-error {
    color: #dc3232;
}

.step-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-start-step {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-start-step:hover {
    background: #005a87;
}

.btn-start-step:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-skip-step {
    background: #f0f0f0;
    color: #666;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-skip-step:hover {
    background: #e0e0e0;
}

.btn-skip-step:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wizard-errors {
    margin-top: 20px;
}

.error-message {
    background: #dc3232;
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.step-items:empty::before {
    content: "Loading...";
    display: block;
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.step-items:empty::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin: 10px auto;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

